This is a note to let you know that I've just added the patch titled Subject: USB: quirks and unusual_devs entry for Actions flash drive
to my gregkh-2.6 tree. Its filename is usb-quirks-and-unusual_devs-entry-for-actions-flash-drive.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ >From [EMAIL PROTECTED] Wed Feb 20 12:59:34 2008 From: Alan Stern <[EMAIL PROTECTED]> Date: Wed, 20 Feb 2008 12:10:04 -0500 (EST) Subject: USB: quirks and unusual_devs entry for Actions flash drive To: Greg KH <[EMAIL PROTECTED]> Cc: Fabio Venturi <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, USB list <linux-usb@vger.kernel.org>, USB Storage list <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> This patch (as1033) adds a quirks entry and an unusual_devs entry for the Actions Semiconductor flash drive. This device has a 64-byte string descriptor, which it doesn't terminate with a 0-length packet. Oddly enough, the reporter's logs show that when the device was plugged in at boot time, it changes its behavior completely -- it uses a different product ID, product string descriptor, and bDeviceClass. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/quirks.c | 3 +++ drivers/usb/storage/unusual_devs.h | 9 +++++++++ 2 files changed, 12 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -28,6 +28,9 @@ * devices is broken... */ static const struct usb_device_id usb_quirk_list[] = { + /* Action Semiconductor flash disk */ + { USB_DEVICE(0x10d6, 0x2200), .driver_info = USB_QUIRK_STRING_FETCH_255}, + /* CBM - Flash disk */ { USB_DEVICE(0x0204, 0x6025), .driver_info = USB_QUIRK_RESET_RESUME }, /* HP 5300/5370C scanner */ --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h @@ -1500,6 +1500,15 @@ UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init, 0 ), +/* Reported by Fabio Venturi <[EMAIL PROTECTED]> + * The device reports a vendor-specific bDeviceClass. + */ +UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100, + "Actions Semiconductor", + "Mtp device", + US_SC_DEVICE, US_PR_DEVICE, NULL, + 0), + /* Reported by Kevin Lloyd <[EMAIL PROTECTED]> * Entry is needed for the initializer function override, * which instructs the device to load as a modem Patches currently in gregkh-2.6 which might be from [EMAIL PROTECTED] are driver/cpufreq-fix-kobject-reference-count-handling.patch driver/pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch usb/usb-convert-usb.h-struct-usb_device-to-kernel-doc.patch usb/usb-make-usb_storage_onetouch-available-with-pm.patch usb/usb-usb-ohci-sm501-driver-use-the-conventional-convention-for-suspend-and-resume.patch usb/usb-quirks-and-unusual_devs-entry-for-actions-flash-drive.patch usb/usb-usb-storage-don-t-clear-halt-when-get-max-lun-stalls.patch usb/usb-usb-storage-don-t-access-beyond-the-end-of-the-sg-buffer.patch usb/usb-usb-storage-unusual_devs-entry-for-oracom-mp3-player.patch - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html