usb/101761: [usb67] [patch] [request] usb.h: increase maximal
size of report descriptor
Hans Petter Selasky
hselasky at c2i.net
Tue Aug 25 07:27:28 UTC 2009
On Tuesday 25 August 2009 03:10:25 Dmitry Marakasov wrote:
> * gavin at FreeBSD.org (gavin at FreeBSD.org) wrote:
> > State-Changed-From-To: open->feedback
> > State-Changed-By: gavin
> > State-Changed-When: Mon Aug 24 15:54:46 UTC 2009
> > State-Changed-Why:
> > To submitter: I'm not sure what the state is of this PR. It looks like
> > the problem has not yet been fixed in FreeBSD 6 or 7, but I don't know if
> > it is still an issue with the new USB stack in 8.x. Do you happen to
> > know if this PR is still valid against the new USB stack? Thanks!
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=101761
>
> How do I dump UHID report descriptor with the new stack? usbhitctl
> doesn't seem to work:
>
> root at hades:amdmi3# usbhidctl -f /dev/uhid1 -r
> Report descriptor:
> Total input size 0 bytes
> Total output size 0 bytes
> Total feature size 0 bytes
> root at hades:amdmi3# usbhidctl -f /dev/uhid1 -a
> usbhidctl: USB_SET_IMMED: Device not configured
How to dump HID descriptor:
Interface 0 of ugen7.5:
usbconfig -u 7 -a 5 do_request 0x81 0x06 0x2200 0 0x1000
Interface 1 of ugen7.5:
usbconfig -u 7 -a 5 do_request 0x81 0x06 0x2200 1 0x1000
And so on.
--HPS
More information about the freebsd-usb
mailing list