On Wed, 22 Apr 2009, Alessio Sangalli wrote: > > Currently there are implementations for USB and Bluetooth which you > > can look at. > Could you point me to a more specific example? There is a generic HID layer, which implements the HID specification (parsin of report descriptor, passing and interpretation of reports, interaction with input subsystem, etc), independently on the underlying physical protocol being used, in drivers/hid/hid-core.c and drivers/hid/hid-input.c Then, there are the transport-dependent parts of the implementation. For USB this is in driver/hid/usbhid/hid-core.c, which contains all the USB-specific protocol handling and interaction with HID core. For Bluetooth, this is in net/bluetooth/hidp/core.c. -- Jiri Kosina SUSE Labs -- 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