[GH-ISSUE #561] Mouse integration #418

Closed
opened 2026-02-27 23:00:28 +03:00 by kerem · 1 comment
Owner

Originally created by @TeoConan on GitHub (Nov 3, 2022).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/561

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). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/561 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
kerem closed this issue 2026-02-27 23:00:29 +03:00
Author
Owner
<!-- gh-comment-id:1319903115 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#418
No description provided.