Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make it work with USB HUB at the same time? #25

Open
ironman97 opened this issue Sep 7, 2024 · 5 comments
Open

How can I make it work with USB HUB at the same time? #25

ironman97 opened this issue Sep 7, 2024 · 5 comments

Comments

@ironman97
Copy link

No description provided.

@thewh1teagle
Copy link
Owner

Please provide more info, such as which model you use, how many ports it has. etc

@ironman97
Copy link
Author

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.

@ironman97
Copy link
Author

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

@ironman97
Copy link
Author

图片

@thewh1teagle
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants