Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F3666785
wmt.patch
wulf (Vladimir Kondratyev)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
wulf
Aug 21 2018, 4:09 PM
2018-08-21 16:09:02 (UTC+0)
Size
643 B
Referenced Files
None
Subscribers
None
wmt.patch
View Options
diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c
index 226023a57bfd..cadc8eacda6e 100644
--- sys/dev/usb/input/wmt.c
+++ sys/dev/usb/input/wmt.c
@@ -809,6 +809,9 @@ wmt_hid_parse(struct wmt_softc *sc, const void *d_ptr, uint16_t d_len)
}
sc->isize = wmt_hid_report_size(d_ptr, d_len, hid_input, report_id);
+ device_printf(sc->dev, "Report %hhu size: %d\n", report_id, sc->isize);
+ sc->isize = hid_report_size(d_ptr, d_len, hid_input, NULL);
+ device_printf(sc->dev, "Maximum input size: %d\n", sc->isize);
sc->cont_max_rlen = wmt_hid_report_size(d_ptr, d_len, hid_feature,
cont_max_rid);
if (thqa_cert_rid > 0)
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1531230
Default Alt Text
wmt.patch (643 B)
Attached To
Mode
D16772: Fixing a broken touchscreen controller
Attached
Detach File
Event Timeline
Log In to Comment