Passing usb through to a distrobox #2832
Replies: 4 comments 4 replies
|
Yes, you can pass a USB device through to a Distrobox container, but it requires running the container in privileged mode and mounting the host's distrobox-create --name mybox --image <image> --additional-flags "--privileged --security-opt label=disable --security-opt apparmor=unconfined -v /dev:/dev:rslave"Replace If you want a more isolated and user-friendly solution, using a VM like GNOME Boxes is recommended for USB passthrough. GNOME Boxes supports attaching USB devices directly to the VM, which is often more reliable for hardware programming tasks. Flatpak containers do not support USB passthrough, so GNOME Boxes is the preferred option for virtualization on Bluefin source. tldr tip: To learn more about Podman device passthrough options, run For more on Bluefin best practices, see the official docs. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
This is not true... 🙄 |
|
I created this feature request for this => Feature request: gnome boxes preinstalled but not as a flatpak |
|
If you just want to adjust your mouse settings without making things too complicated, you can refer to the solution here: https://gitlab.gnome.org/GNOME/gnome-boxes/-/work_items/236#note_1858728 Following the workaround mentioned there, I successfully passed through my Razer mouse to the Flatpak version of GNOME Boxes, and managed to configure the mouse settings using Razer Synapse within a Windows 11 virtual machine. |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to pass a usb device through to a distrobox (for e.g. programming an FPGA), or should I use a VM or even a separate machine.
Please give configuration examples for any solution.
All reactions