Compare commits

..

1 Commits

Author SHA1 Message Date
jackislanding eaf1eb591b
Merge b037b8af4a into 69168ff062 2025-02-11 20:17:08 +01:00
1 changed files with 2 additions and 2 deletions

4
usb.go
View File

@ -171,7 +171,7 @@ func writeGadgetConfig() error {
} }
err = writeGadgetAttrs(hid0Path, [][]string{ err = writeGadgetAttrs(hid0Path, [][]string{
{"protocol", "1"}, {"protocol", "1"},
{"subclass", "1"}, {"subclass", "0"},
{"report_length", "8"}, {"report_length", "8"},
}) })
if err != nil { if err != nil {
@ -191,7 +191,7 @@ func writeGadgetConfig() error {
} }
err = writeGadgetAttrs(hid1Path, [][]string{ err = writeGadgetAttrs(hid1Path, [][]string{
{"protocol", "2"}, {"protocol", "2"},
{"subclass", "1"}, {"subclass", "0"},
{"report_length", "6"}, {"report_length", "6"},
}) })
if err != nil { if err != nil {