diff --git a/usb.go b/usb.go index 075409a..7f94739 100644 --- a/usb.go +++ b/usb.go @@ -82,8 +82,8 @@ func writeGadgetConfig() error { err = writeGadgetAttrs(kvmGadgetPath, [][]string{ {"bcdUSB", "0x0200"}, //USB 2.0 {"idVendor", "0x1d6b"}, //The Linux Foundation - {"idProduct", "0104"}, //Multifunction Composite Gadget¬ - {"bcdDevice", "0100"}, + {"idProduct", "0x0104"}, //Multifunction Composite Gadget¬ + {"bcdDevice", "0x0100"}, }) if err != nil { return err