Comment 170 for bug 85488

Revision history for this message
Oleksij Rempel (olerem) wrote : Re: [Bug 85488] Re: Canon Lide25 (plustek backend) scanner does not scan via gui

Hallo all.
At the bottom is the part of "drivers/usb/core/quirks.c" of latest
kernel source. You can see that USB_SUSPEND is impotent option for
mobile_linux but need a lot of testing and fixing. If you like make you
device working for you and other, report your usb_id and dmesg which
show broken device. You need make fallowing steps to do this:

install kernel_with debug enabled
# sudo apt-get install linux-image-debug-2.6.20-15-generic

unplug your broken device
boot linux-debug and clear dmesg
# sudo dmesg -c

plug in you broken device
save dmesg usb_id:
# dmesg > my_kerlel.log
# lsusb -v > my_lsusb

5. post it here with description and name of device.

/* List of quirky USB devices. Please keep this list ordered by:
 * 1) Vendor ID
 * 2) Product ID
 * 3) Class ID
 *
 * as we want specific devices to be overridden first, and only after
that, any
 * class specific quirks.
 *
 * Right now the logic aborts if it finds a valid device in the table,
we might
 * want to change that in the future if it turns out that a whole class of
 * devices is broken...
 */
static const struct usb_device_id usb_quirk_list[] = {
        /* HP 5300/5370C scanner */
        { USB_DEVICE(0x03f0, 0x0701), .driver_info =
USB_QUIRK_STRING_FETCH_255 },
        /* Seiko Epson Corp - Perfection 1670 */
        { USB_DEVICE(0x04b8, 0x011f), .driver_info =
USB_QUIRK_NO_AUTOSUSPEND },
        /* Elsa MicroLink 56k (V.250) */
        { USB_DEVICE(0x05cc, 0x2267), .driver_info =
USB_QUIRK_NO_AUTOSUSPEND },

        { } /* terminating entry must be last */
};