Skip to content

Commit 85bef1e

Browse files
committed
TEST: set USB boot HID flag
Testing in jetkvm#79 - idea suggested by @andnic Signed-off-by: Cameron Fleming <cameron@nevexo.space>
1 parent 8ffe66a commit 85bef1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func writeGadgetConfig() error {
132132
}
133133
err = writeGadgetAttrs(hid0Path, [][]string{
134134
{"protocol", "1"},
135-
{"subclass", "0"},
135+
{"subclass", "1"},
136136
{"report_length", "8"},
137137
})
138138
if err != nil {
@@ -152,7 +152,7 @@ func writeGadgetConfig() error {
152152
}
153153
err = writeGadgetAttrs(hid1Path, [][]string{
154154
{"protocol", "2"},
155-
{"subclass", "0"},
155+
{"subclass", "1"},
156156
{"report_length", "6"},
157157
})
158158
if err != nil {

0 commit comments

Comments
 (0)