]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: add quirk to avoid config and interface strings
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 26 Mar 2009 18:25:19 +0000 (18:25 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:56:35 +0000 (10:56 -0700)
commitd5e252c5a10b951763b6fcfe3dac447e23222792
tree9a9fd9aae1a1cfa8997adf27c6fdf76f38e49bb6
parent7ad5f44e85cfc8d5ecc5fb98b9d53e0c1906b9ee
USB: add quirk to avoid config and interface strings

upstream commit: 1662e3a7f076e51e3073faf9ce77157b529c475b

Apparently the Configuration and Interface strings aren't used as
often as the Vendor, Product, and Serial strings.  In at least one
device (a Saitek Cyborg Gold 3D joystick), attempts to read the
Configuration string cause the device to stop responding to Control
requests.

This patch (as1226) adds a quirks flag, telling the kernel not to
read a device's Configuration or Interface strings, together with a
new quirk for the offending joystick.

Reported-by: Melchior FRANZ <melchior.franz@gmail.com>
Tested-by: Melchior FRANZ <melchior.franz@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/usb/core/message.c
drivers/usb/core/quirks.c
drivers/usb/core/sysfs.c
include/linux/usb/quirks.h