qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Physical USB port addressing


From: Narcis Garcia
Subject: Physical USB port addressing
Date: Fri, 25 Mar 2022 19:13:07 +0100

Some versions ago I could specify a host plugged device with this:
-usbdevice host:2001:3c17
but now I don't find a syntax that works for me (I also wish to ignore which physical port is device connected to):

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 034: ID 2001:3c17 D-Link Corp. DWA-123 Wireless N 150 Adapter(rev.A1) [Ralink RT3370]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ qemu-system-x86_64 --version
QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-11+deb11u1)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
$ qemu-system-x86_64 (...) -device usb-host,vendorid=2001,productid=3c17
qemu-system-x86_64: -device usb-host,vendorid=2001,productid=3c17: No 'usb-bus' bus found for device 'usb-host'

$ qemu-system-x86_64 (...) -device usb-host,bus=usb-bus.1,vendorid=2001,productid=3c17 qemu-system-x86_64: -device usb-host,bus=usb-bus.1,vendorid=2001,productid=3c17: Bus 'usb-bus.1' not found

--
Narcis Garcia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]