Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: Linus Torvalds <torvalds@...>, Adrian Bunk <bunk@...>, Greg KH <gregkh@...>, Andrew Morton <akpm@...>, Kernel development list <linux-kernel@...>, USB development list <linux-usb-devel@...>, Oliver Neukum <oneukum@...>, Matthew Dharm <mdharm-usb@...>
Date: Friday, September 14, 2007 - 4:55 am

On Thu, 13 Sep 2007, Alan Stern wrote:


This is true. First, there are HID_QUIRK_RDESC_* quirks, which we use to 
fix up badly broken report descriptor of certain devices before it enters 
the HID parser. There is nothing much we can do about them - these are 
just workarounds for really broken devices that don't follow the HID 
specification, but we can easily fix the things on the fly. Usually, these 
devices are handled in Windows by specialized driver, but if we fix the 
descriptor, we can use usbhid to handle them.

For the rest of the HID quirks -- most of them are also workarounds for 
broken classess of devices. Usually, they claim to be HID-compliant device 
in their file descriptor, but they do not follow the spec (they send 
inverted axes values, send usage codes that violate the specification, 
etc), but we can easily work around these bugs by a few lines of code and 
let the devices to be handled by usbhid flawlessly. I guess this is worth 
it.

Probably the only quirk entry that might be considered to be removed is 
HID_QUIRK_NOGET, I'd say.

Thanks,

-- 
Jiri Kosina
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Greg KH, (Thu Sep 13, 9:33 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 10:52 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 11:20 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 11:40 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 12:07 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 4:19 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 4:44 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 5:28 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:26 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 6:05 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:29 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 8:11 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Fri Sep 14, 10:15 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 4:31 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 12:43 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Pete Zaitcev, (Thu Sep 13, 3:26 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 3:13 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Jiri Kosina, (Fri Sep 14, 4:55 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Matthew Dharm, (Thu Sep 13, 8:24 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:34 am)