Date: Fri, 16 Aug 2019 21:46:08 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 239918] usbhidctl(1): include item position in report descriptor dump Message-ID: <bug-239918-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239918 Bug ID: 239918 Summary: usbhidctl(1): include item position in report descriptor dump Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: kevinz5000@gmail.com Created attachment 206626 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206626&action= =3Dedit Patch Include the item position (h->pos) in the report descriptor dump. This makes the output of `usbhidctl -r` more useful when many items have unassigned usages, such as when a device implements register accesses through USB HID. For example, before the patch: Input rid=3D0 size=3D8 count=3D1 page=3DConsumer usage=3DUnassigned, logi= cal range 0..255 Input rid=3D0 size=3D8 count=3D1 page=3DConsumer usage=3DUnassigned, logi= cal range 0..255 Both of these items look the same. After the patch: Input rid=3D0 pos=3D16 size=3D8 count=3D1 page=3DConsumer usage=3DUnassig= ned, logical range 0..255 Input rid=3D0 pos=3D24 size=3D8 count=3D1 page=3DConsumer usage=3DUnassig= ned, logical range 0..255 These are obviously different items. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239918-19105>