Skip to content

Commit

Permalink
TEST: set USB boot HID flag
Browse files Browse the repository at this point in the history
Testing in jetkvm#79 - idea suggested by @andnic

Signed-off-by: Cameron Fleming <[email protected]>
  • Loading branch information
Nevexo committed Jan 29, 2025
1 parent 8ffe66a commit 85bef1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usb.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func writeGadgetConfig() error {
}
err = writeGadgetAttrs(hid0Path, [][]string{
{"protocol", "1"},
{"subclass", "0"},
{"subclass", "1"},
{"report_length", "8"},
})
if err != nil {
Expand All @@ -152,7 +152,7 @@ func writeGadgetConfig() error {
}
err = writeGadgetAttrs(hid1Path, [][]string{
{"protocol", "2"},
{"subclass", "0"},
{"subclass", "1"},
{"report_length", "6"},
})
if err != nil {
Expand Down

0 comments on commit 85bef1e

Please sign in to comment.