-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Passthrough of host usb devices to container? #39
Comments
Hi. This is definitely not off topic. If you did not find a solution, let me see if I can find a way to reproduce... |
Thanks for your advice, I looked into these sources and others but wasn't able to figure out a solution.
|
@TaylorAdams Any updates for the users that you have experienced? |
Thanks for checking in. About the same as my last comment, I wasn't able to get it working, but thankfully it's not really the primary use case for the container. This issue can probably be closed but maybe if anyone else has some luck with it they can comment later. |
Hello, thanks for maintaining this interesting project/container, which has been awesome for the intended use case.
But an odd admittedly edge case I have use for and can't quite get to work: I've tried using --device and volume options for docker run to give the container access to host (Ubuntu 20.04.1) usb devices (specifically input devices, keyboard etc).
I've tried:
--device /dev/bus/usb
-v /dev/bus/usb:/dev/bus/usb
--privileged
The devices appear to be visible from within a shell in the container but are not available/listed in xinput. I'm guessing there's something I don't understand going on with either the configuration that allows webRTC virtual input devices or just with containerized x in general that's preventing these from being picked up normally by the desktop environment there.
Thanks for any pointers in the right direction but feel free to close if too off-topic.
The text was updated successfully, but these errors were encountered: