Re: [PATCH 1/3] HID: Use existing parser for pre-scanning the reportdescriptors

From: Alexander Holler
Date: Wed Aug 14 2013 - 02:46:53 EST


Am 13.08.2013 21:15, schrieb Benjamin Tissoires:
On Tue, Aug 13, 2013 at 8:37 PM, Alexander Holler <holler@xxxxxxxxxxxxx> wrote:


Another problem is that I don't have any commercial sensor hub and I'm
therefor not a very relvant as tester (I've implemented the firmware for my
HID (sensor hub) device too). Therefor I've added Srinivas Pandruvada to cc,
because he's the only one I know who has HID sensor hubs.

It is not a problem if you don't have a commercial sensor hub :)
Thanks for adding Srinivas in CC.

The problem is that this invalidates me as a tester because everything I can test is something untested. As I've written both ends of the pipe, I could have understood something totally wrong but as I've implemented both sides (the device- and the kernel-part) it still might work without problems. Therefor I currently have to bother Srinivas whenever I do changes in the kernel in regard to hid-sensor-hub. ;)


And, as said, I've implemented the other side here too, therefor I've added
the descriptor I'm using below.


Thanks, this will help me to test against your report descriptors.
Can I also ask you to send me some hid-recorder[1] traces of your
sensor? With hid-replay, I can then re-inject them in the hid
subsystem, and then I include the results in a regression test suite.

Unfortunately hid-record doesn't list my device because it doesn't show up as an hidraw-device.

But maybe you have an Arduino Leonardo or a clone. If so you can get the description and firmware here:

http://ahsoftware.de/dcf77-hid-usb-rtc/

Regards,

Alexander Holler

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/