Commit 9031aa3
usb-device-hid: Fix descriptor protocol config and set correct default.
Subclass in HID interface descriptor is a flag of boot protocol support.
Set it according to the interface protocol settings.
HID devices should come up in non-boot mode according to Device Class
Definition for Human Interface Devices (HID) v1.11 Appendix F.5. Set the
initial state of interface protocol to report protocol.
Signed-off-by: Hyx <hyx0329@outlook.com>1 parent 852f2cc commit 9031aa3
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
152 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
153 | 162 | | |
154 | 163 | | |
155 | 164 | | |
| |||
0 commit comments