USB not passing through
Operating system
Unraid 6.12.13 (Linux Kernel 6.1.106)
Description
I've followed the FAQ for passing through a USB device and it just isn't appearing. I had it working previously with the same device, but prematurely deleted that container and dockerfile. I've triple checked the product and vendor IDs. I am trying to connect an iPhone 16 Pro if you would also like to check those again anyways.
Docker compose
services: windows: image: dockurr/windows container_name: windows environment: VERSION: "11" DISK_SIZE: "30G" RAM_SIZE: "8G" CPU_CORES: "2" LANGUAGE: "en-US" REGION: "en-US" KEYBOARD: "en-US" USERNAME: "*" PASSWORD: "" ARGUMENTS: "-device usb-host,vendorid=0x05ac,productid=0x12a8" devices: - /dev/kvm - /dev/net/tun - /dev/bus/usb cap_add: - NET_ADMIN ports: - 8006:8006 - 3389:3389/tcp - 3389:3389/udp volumes: - /mnt/user/appdata/official-windows/storage/:/storage - /mnt/user/backup/iMazing Backup/:/data stop_grace_period: 2m
Docker log
{"log":"❯ Starting Windows for Docker v4.06...\n","stream":"stdout","time":"2024-12-19T19:30:52.972832758Z"} {"log":"❯ For support visit https://github.com/dockur/windows\n","stream":"stdout","time":"2024-12-19T19:30:52.972925039Z"} {"log":"❯ CPU: AMD Ryzen 7 8845HS w Radeon 780M Graphics | RAM: 18/29 GB | DISK: 765 GB (fuseblk) | KERNEL: 6.1.106-Unraid...\n","stream":"stdout","time":"2024-12-19T19:30:53.079079115Z"} {"log":"\n","stream":"stdout","time":"2024-12-19T19:30:53.079112447Z"} {"log":"\u001b[1;34m❯ \u001b[1;36mWarning: the filesystem of /storage is FUSE, this extra layer will negatively affect performance!\u001b[0m\n","stream":"stdout","time":"2024-12-19T19:30:53.210592636Z"} {"log":"\u001b[1;34m❯ \u001b[1;36mBooting Windows using QEMU v9.1.1...\u001b[0m\n","stream":"stdout","time":"2024-12-19T19:30:54.026270734Z"} {"log":"\u001b[2J\u001b[01;01H\u001b[=3h\u001b[2J\u001b[01;01H\u001b[2J\u001b[01;01H\u001b[=3h\u001b[2J\u001b[01;01H\u001b[2J\u001b[01;01H\u001b[=3h\u001b[2J\u001b[01;01HBdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,2CE878FF-EF35-44B8-A504-84A5D5CE6C0F,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi\r\n","stream":"stdout","time":"2024-12-19T19:30:55.449744928Z"} {"log":"BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,2CE878FF-EF35-44B8-A504-84A5D5CE6C0F,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi\r\n","stream":"stdout","time":"2024-12-19T19:30:55.458337295Z"} {"log":"\u001b[1;34m❯ \u001b[1;36mWindows started succesfully, visit http://localhost:8006/ to view the screen...\u001b[0m\n","stream":"stdout","time":"2024-12-19T19:31:24.186735519Z"}
Screenshots (optional)
No response
I have similar issue however, it worked only the first time I plugged the device "iPhone 16". I tried fresh install but it didn't again work again.
I've noticed that every time I unplug and plug the device the device number would increase by 1. I'm not sure if it's the culprit or not.
lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 013: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE/7/8/X/XR Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Unplug + plug again
lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 014: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE/7/8/X/XR Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
If you specify it by PID/VID I dont think it should be the problem (as they stay the same).
I have similar issue however, it worked only the first time I plugged my sandi usb. After i unplug it and plug again, it will not appear in docker win11 conatiner, but in host machine, unless i restart the container. it will be better if we can choose to connect usb devices to container or host manually.
I have similar issue however, it worked only the first time I plugged my sandi usb. After i unplug it and plug again, it will not appear in docker win11 conatiner, but in host machine, unless i restart the container. it will be better if we can choose to connect usb devices to container or host manually.
I can confirm. I've had plenty of troubles getting a USB Bluetooth and a ANT+ dongle connected properly. They´d show up under hidden devices, but weren't recognized properly. I stopped and started the container and now they are working fine.
Running into issues getting USB drives passed through as well.