dumping usb device reports
markus at FreeBSD.org
Sat Mar 22 12:54:59 PDT 2008
Am Donnerstag, 20. März 2008 23:47:25 schrieb Chuck Robey:
> I need to take a look at what crud comes in from my tablet, because I need
> to test my understanding of it's configuration descriptors. Ultimately, I
> need to be able to view the raw data in hex. I'm NOT talking about the
> stuff that krepdump puts out (thje configuration descriptors) I'm talking
> about the reports. Anyone know how I might do this? Understand, the
> device I'm talking about has no FreeBSD device, so it won't just have a
> device file in /dev/ I could dump from.
Let uhid(4) attach to the device (remove ums(4) from your kernel config if
neccessary or unload the ums(4) module), then:
# cat /dev/uhid0 | hd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20080322/3006c96b/attachment.pgp
More information about the freebsd-usb