mirror of https://github.com/jetkvm/kvm.git
Replace octal values with hex values to fix erroneous USB device descriptor values.
This commit is contained in:
parent
8ffe66a1bc
commit
c31d2eb0f6
4
usb.go
4
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
|
||||
|
|
Loading…
Reference in New Issue