I have been having problems with using host USB devices lately. I use to be 
able to use host USB devices but can't currently. After doing some git 
bisecting I found it was this patch that causes this issue:

commit 627302afb2f85cdd4b59595361876487aef19b7a (refs/bisect/bad)
Author: Gerd Hoffmann <[email protected]>
Date:   Thu Jun 24 12:38:35 2021 +0200

    usb: build usb-host as module
    
    Drop one more shared library dependency (libusb) from core qemu.
    
    Signed-off-by: Gerd Hoffmann <[email protected]>
    Reviewed-by: Jose R. Ziviani <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>

I build QEMU like this:

./configure --target-list=i386-softmmu --enable-libusb && make -j 9

This command use to work but fails now with the above commit:

qemu-system-i386 -usb -device usb-host,vendorid=0x093a,productid=0x2510

I think this is a bug with the commit. Any suggestions?

Thank you.

Reply via email to