Open ironman97 opened 2 months ago
I am using usb hub on Raspberry Pi zero2w .There are 4 USB ports on the USB hub.
Like this:
Then I connected my keyboard and mouse to it, and also used a USB cable to connect it to the computer. Using this library would result in an error.
zero_hid.hid.write.WriteError: Failed to write to HID interface: <_io.BufferedRandom name='/dev/hidg1'>. Is USB cable connected and Gadget module installed? check https://git.io/J1T7Q
I think that it can't work with usb hub. you need to google it if it possible to use linux usb gadget kernel module with usb hub.
Please provide more info, such as which model you use, how many ports it has. etc