https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239918
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: [email protected]
Reporter: [email protected]
Created attachment 206626
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206626&action=edit
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=0 size=8 count=1 page=Consumer usage=Unassigned, logical range
0..255
Input rid=0 size=8 count=1 page=Consumer usage=Unassigned, logical range
0..255
Both of these items look the same. After the patch:
Input rid=0 pos=16 size=8 count=1 page=Consumer usage=Unassigned, logical
range 0..255
Input rid=0 pos=24 size=8 count=1 page=Consumer usage=Unassigned, logical
range 0..255
These are obviously different items.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"