-
Notifications
You must be signed in to change notification settings - Fork 429
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
[Error] How to fix USB connectivity? #762
Comments
I had a similar problem with serial devices, maybe my approach is adaptable?
echo "# let serial devices be owned by the distrobox user\nKERNEL==\"ttyACM[0-9]*\", OWNER=\"$USER\"\n" | sudo dd of=/etc/udev/rules.d/42-distrobox.rules
ls -l /dev/ttyACM0
crw-rw---- 1 <user> dialout 166, 0 Jun 15 16:14 /dev/ttyACM0
#^^^ - this one :)
I guess you have to look for a |
You need to use a rootful distrobox for this |
@89luca89 you mean here? Is anything else needed? |
Could we emphasize it in the docs as it's not obvious? I looked at the docs but didn't find clear answer. |
ADB worked well(adb shell) on MicroOS and Tumbleweed container. |
Describe the bug
The container has no access to
/dev/bus/usb
which doesnt make sense from Distroboxes unisolated approach.To Reproduce
Try to use ADB in a Distrobox with an Android phone. There is a permission error, even though the device is detected.
Expected behavior
Full permission over all ports as wished.
Logs
Run the commands with
--verbose
and post the log here as a file uploadAttach also the output of
podman logs
ordocker logs
, possibly with--latest
flagDesktop (please complete the following information):
distrobox-1.4.2.1-2.fc38.noarch
podman-4.5.0-1.fc38.x86_64
--- Software ---
OS: Fedora Linux 38.20230521.0 (Kinoite)
KDE Plasma: 5.27.5
KDE Frameworks: 5.106.0
Qt: 5.15.9
Kernel: 6.2.15-300.fc38.x86_64
Compositor: wayland
--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 13.5 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Thinkpad T495, no TLP e.g. installed, ports working normally with ADB on host
The text was updated successfully, but these errors were encountered: