Originally created by @TeoConan on GitHub (Nov 3, 2022).
Hi everyone,
I was wondering : is there a way to have an usb passthrough or something like this for this docker ?
I ask this because I got a very very slow mouse when I'm inside qemu
I tried to pass my device like this :
docker run -it \
--device /dev/kvm \
--device /dev/input/by-id/usb-Logitech_G502_HERO_Gaming_Mouse_0D7839673831-mouse \ # I added this
-p 50922:10022 \
But nothing change
I also tried to pass through qemu with extra options like this :
-e "DISPLAY=${DISPLAY:-:0.0}"\
-e EXTRA='-smp 16,sockets=8,cores=2 -device usb-host,hostbus=1,hostport=4'\ # I added hostbus and hostport address
-v "${PWD}/imgs/mac_hdd_ng_auto_monterey.img:/image"\
But nothing change again
Does anyone have an idea ?
Thanks
Originally created by @TeoConan on GitHub (Nov 3, 2022).
Hi everyone,
I was wondering : is there a way to have an usb passthrough or something like this for this docker ?
I ask this because I got a very very slow mouse when I'm inside qemu
I tried to pass my device like this :
``` shell
docker run -it \
--device /dev/kvm \
--device /dev/input/by-id/usb-Logitech_G502_HERO_Gaming_Mouse_0D7839673831-mouse \ # I added this
-p 50922:10022 \
```
But nothing change
I also tried to pass through qemu with extra options like this :
``` shell
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e EXTRA='-smp 16,sockets=8,cores=2 -device usb-host,hostbus=1,hostport=4' \ # I added hostbus and hostport address
-v "${PWD}/imgs/mac_hdd_ng_auto_monterey.img:/image" \
```
But nothing change again
Does anyone have an idea ?
Thanks
@sickcodes commented on GitHub (Nov 18, 2022):
USB instructions, including hot plugging: https://github.com/sickcodes/Docker-OSX#mount-usb-drive-hotplughot-plug-usb
iPhone requires https://github.com/sickcodes/Docker-OSX#usbfluxd-iphone-usb---network-style-passthrough-osx-kvm-docker-osx
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @TeoConan on GitHub (Nov 3, 2022).
Hi everyone,
I was wondering : is there a way to have an usb passthrough or something like this for this docker ?
I ask this because I got a very very slow mouse when I'm inside qemu
I tried to pass my device like this :
But nothing change
I also tried to pass through qemu with extra options like this :
But nothing change again
Does anyone have an idea ?
Thanks
@sickcodes commented on GitHub (Nov 18, 2022):
USB instructions, including hot plugging: https://github.com/sickcodes/Docker-OSX#mount-usb-drive-hotplughot-plug-usb
iPhone requires https://github.com/sickcodes/Docker-OSX#usbfluxd-iphone-usb---network-style-passthrough-osx-kvm-docker-osx