Hi David, On 03/31/2012 02:03 AM, David Herrmann wrote:
Rebinding works perfectly well for me. I use it all the time when testing HID drivers.
Thank you. I've tried it, but it doesn't work for me, because HID report descriptors are not re-parsed after rebinding and I rely on report_fixup's a lot. Please see my reply to Jiri for slightly more details: http://thread.gmane.org/gmane.linux.kernel.input/23708/focus=24337
Furthermore, there is a dynid-implementation in the kernel so when hacking on something like this I'd recommend using this. It would also remove the hard limit that you currently have.
Thanks, but this doesn't suit me currently. I don't implement report parsing in my drivers, but rather describe every device protocol separately with a report descriptor and rely on the generic driver for parsing. Thus, I save in code complexity and maintenance, but loose in portability. However, I plan to make a non-HID driver for Waltop tablets, using their proprietary, HID-incompatible protocol and there I will probably use that. Sincerely, Nick -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html