From 85bef1edfec8948240c133a1524a3bf9e6710b81 Mon Sep 17 00:00:00 2001 From: Cameron Fleming Date: Wed, 29 Jan 2025 12:14:46 +0000 Subject: [PATCH] TEST: set USB boot HID flag Testing in jetkvm/kvm#79 - idea suggested by @andnic Signed-off-by: Cameron Fleming --- usb.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usb.go b/usb.go index 075409a..e302815 100644 --- a/usb.go +++ b/usb.go @@ -132,7 +132,7 @@ func writeGadgetConfig() error { } err = writeGadgetAttrs(hid0Path, [][]string{ {"protocol", "1"}, - {"subclass", "0"}, + {"subclass", "1"}, {"report_length", "8"}, }) if err != nil { @@ -152,7 +152,7 @@ func writeGadgetConfig() error { } err = writeGadgetAttrs(hid1Path, [][]string{ {"protocol", "2"}, - {"subclass", "0"}, + {"subclass", "1"}, {"report_length", "6"}, }) if err != nil {