# Re: \[PATCH 1/1\] HID: add have\_special\_driver hid module parameter

- From: Nikolai Kondrashov \<hidden\>
- Date: 2012-04-01 19:33:35 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/04/8919194
- Thread: https://ratatoskr.run/linux-input/2012/02/8918893/t.md

```text
Hi Jiri,

On 03/30/2012 04:49 PM, Jiri Kosina wrote:
> On Mon, 20 Feb 2012, Nikolai Kondrashov wrote:
>> Add "have_special_driver" hid module parameter - a list of additional HID
>> devices which have specialized driver on HID bus. Needed to support out-of-tree
>> HID drivers.
>
> I'd very much prefer just using sysfs (bind/unbind) way of doing things if
> possible for this purpose. What do you think?

I've tried this and it is not suitable. At least not in the current shape.

In short, two reasons:

1. The HID report descriptor is parsed only once, on first device probe and
   the resulting data is kept within device structure. It is not parsed
   again after unbind/bind, thus report_fixup of my driver is not called and
   the reports are getting interpreted according to the old one, rendering
   the device (partially) unusable.

2. The udev rules and scripts needed to make it work in a plug'n'play manner
   suitable for users are considerably more hacky than this solution.

I'd like to ask you to accept this patch for now.  Would it still be
possible to get this patch into 3.4? I promise to look for a better
solution. First step would probably be to fix rebinding.

It seems that you don't have much time recently to review/accept my patches.
Would you direct me to someone else who could do this and thus reduce your
load?

Thanks you.

Sincerely,
Nick
```
