On Wed, 28 Feb 2007, Guenther Sohler wrote: > Can a report consist of many events ?
Yes, generally it can. How the report should be interpreted by HID layer is specified by the report descriptor, the contents of which, for your device, you sent (see below). > Yes, I have exactly got such output. I found it in the log Its attached > to this mail. ITs called "dump" > > - hid-input mapping. The respective dump should resemble > This is also contained in "dump" but just that the mapping is IGNORED. > the line "Input[Input" I was not even able to find in the kernel code. I > hope It does not matter. You have probably not turned debugging on completely - this looks like hid-input.c produces debugging output, but hid-debug.h doesn't. Do you think you could use 2.6.21-rc1 kernel? There you can turn all the HID debugging at once in kernel configuration. Thanks for the debug data anyway. The report descriptor shows that vendor of the device broke it in a non-trivial way. This hid-debug dump corresponds to your report descriptor: INPUT[INPUT] Field(0) Physical(Consumer.0001) Usage(4) Consumer.0001 Consumer.0001 Consumer.0001 Consumer.0001 Logical Minimum(0) Logical Maximum(255) Report Size(8) Report Count(4) Report Offset(0) Flags( Variable Relative ) Mapping: Consumer.0001 ---> IGNORED Mapping: Consumer.0001 ---> IGNORED Mapping: Consumer.0001 ---> IGNORED Mapping: Consumer.0001 ---> IGNORED which is really not nice. I will look if we could fix the descriptor on the fly in the kernel before it is being parsed easily (this is already being done for two keyboards with broken descriptors). The other possibility is that this device is put on the HID blacklist, so that the kernel HID driver doesn't claim the device, and you write your own separate device driver. This could be easily done by libusb (to receive the data from the device into userland) and uinput (to pass the processed received events to input subsystem). -- Jiri Kosina ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel