Re: [PATCH 06/10] HID: move logitech report quirks

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oliver Neukum <oliver@...>
Cc: Jiri Kosina <jkosina@...>, Dmitry Torokhov <dmitry.torokhov@...>, <linux-input@...>, <marcel@...>, <linux-kernel@...>, <anssi.hannula@...>
Date: Wednesday, June 11, 2008 - 2:35 pm

On 06/11/2008 05:39 PM, Oliver Neukum wrote:

Hm, the problem here is, that report (supported inputs et al.) parsing needs to 
be done some time. Since some devices have reports broken too, some of their 
reports need to be fixed before parsing. So the parsing is postponed after 
*first* driver binds, then it's checked if the coming driver has report_fixup 
hook and if yes, it's executed and the device is finally parsed and set up. If 
it has not (e.g. generic), it's just parsed and set up.

If you bind the generic driver as the first driver and the particular device 
needs report fixing, it never performs the fixup. Actually what I don't know is 
how to solve this effectively.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/10] modpost: add support for hid, Jiri Slaby, (Fri May 16, 5:49 am)
Re: [PATCH 01/10] modpost: add support for hid, Jiri Kosina, (Thu Jun 5, 5:26 am)
Re: [PATCH 01/10] modpost: add support for hid, Jiri Slaby, (Mon Jun 9, 6:41 am)
[PATCH v2] modpost: add support for hid, Jiri Slaby, (Mon May 19, 9:50 am)
Re: [PATCH 01/10] modpost: add support for hid, Jiri Kosina, (Mon May 19, 9:36 am)
Re: [PATCH 01/10] modpost: add support for hid, Jiri Slaby, (Mon May 19, 9:38 am)
[PATCH 02/10] HID: make a bus from hid code, Jiri Slaby, (Fri May 16, 5:49 am)
[PATCH 03/10] HID: hid, make parsing event driven, Jiri Slaby, (Fri May 16, 5:49 am)
[PATCH 04/10] HID: move ids into separate file, Jiri Slaby, (Fri May 16, 5:49 am)
[PATCH 05/10] HID: move usage input mapping to hid.h, Jiri Slaby, (Fri May 16, 5:49 am)
[PATCH 06/10] HID: move logitech report quirks, Jiri Slaby, (Fri May 16, 5:49 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Kosina, (Wed Jun 4, 9:21 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Slaby, (Mon Jun 9, 6:33 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Kosina, (Wed Jun 11, 10:13 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Anssi Hannula, (Wed Jun 11, 2:23 pm)
Re: [PATCH 06/10] HID: move logitech report quirks, Oliver Neukum, (Wed Jun 11, 11:39 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Slaby, (Wed Jun 11, 2:35 pm)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Kosina, (Wed Jun 4, 8:16 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Slaby, (Mon Jun 9, 6:29 am)
Re: [PATCH 06/10] HID: move logitech report quirks, Jiri Kosina, (Mon Jun 16, 6:15 am)
[PATCH 07/10] HID: move ignore quirks, Jiri Slaby, (Fri May 16, 5:49 am)
[PATCH 08/10] HID: move apple quirks, Jiri Slaby, (Fri May 16, 5:49 am)
Re: [PATCH 08/10] HID: move apple quirks, Jiri Kosina, (Wed Jun 4, 10:13 am)
Re: [PATCH 08/10] HID: move apple quirks, Jiri Slaby, (Mon Jun 9, 6:40 am)
[PATCH 09/10] HID: add compat support, Jiri Slaby, (Fri May 16, 5:49 am)
Re: [PATCH 09/10] HID: add compat support, Jiri Kosina, (Wed Jun 4, 4:55 am)
Re: [PATCH 09/10] HID: add compat support, Jiri Slaby, (Wed Jun 4, 5:00 am)