FreeBSD Bugzilla – Attachment 206626 Details for
Bug 239918
usbhidctl(1): include item position in report descriptor dump
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-Report-descriptor-position.patch (text/plain), 986 bytes, created by
Kevin Zheng
on 2019-08-16 21:46:08 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2019-08-16 21:46:08 UTC
Size:
986 bytes
patch
obsolete
>From 45551793e9356ad013ce00d9ce82649e4d6d3817 Mon Sep 17 00:00:00 2001 >From: Kevin Zheng <kevinz5000@gmail.com> >Date: Fri, 16 Aug 2019 14:40:01 -0700 >Subject: [PATCH] Report descriptor position > >--- > usr.bin/usbhidctl/usbhid.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c >index 58a8ae09c9e..ce28de4cce9 100644 >--- a/usr.bin/usbhidctl/usbhid.c >+++ b/usr.bin/usbhidctl/usbhid.c >@@ -202,8 +202,8 @@ dumpitem(const char *label, struct hid_item *h) > { > if ((h->flags & HIO_CONST) && !verbose) > return; >- printf("%s rid=%d size=%d count=%d page=%s usage=%s%s%s", label, >- h->report_ID, h->report_size, h->report_count, >+ printf("%s rid=%d pos=%d size=%d count=%d page=%s usage=%s%s%s", label, >+ h->report_ID, h->pos, h->report_size, h->report_count, > hid_usage_page(HID_PAGE(h->usage)), > hid_usage_in_page(h->usage), > h->flags & HIO_CONST ? " Const" : "", >-- >2.22.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239918
: 206626