Dear Maintainer,
aqemu starts my vm with Win7 without any problems as long I do not add a usb
device.
I tried now to add my usb card reader ReinerSCT CyberJack Standard to my vm so
I used aqemus menu for that.
If I start the vm now it will shows me a normal warning about the fd device and
then ends so the vm will never start.
I checked how aqemu will start the vm before and after adding the usb device:
Before which is working but no usb:
usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 -no-
fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda
/home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot
once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -rtc
base=localtime -name "Win7"
After which will not start the vm:
usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 -no-
fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda
/home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot
once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb
-device usb-host,bus=usb.0,hostbus=1,hostport=6 -rtc base=localtime -name
"Win7"
I get the following error if I try to start it in console:
(qemu) qemu-system-x86_64: -device usb-host,bus=usb.0,hostbus=1,hostport=6: Bus
'usb.0' not found
lsusb shows me the following for the device:
lsusb|grep Reiner
Bus 001 Device 007: ID 0c4b:0500 Reiner SCT Kartensysteme GmbH cyberJack RFID
standard dual interface smartcard reader
I tried to modify the parameters but never could start the vm.
After searching the web I found a work around by using vendor and product id.
Replacing the bus.0 etc. parameters by that values works, the vm is starting
and the device is usuable in the vm:
usr/bin/qemu-system-x86_64 -monitor stdio -k de -machine accel=kvm -m 4096 -no-
fd-bootchk -fda /home/user/qemu/Win7/floppy -cdrom /home/user/qemu/cd.iso -hda
/home/user/qemu/Win7/hda.qcow2 -hdb /home/user/qemu/Win7/acronis.qcow2 -boot
once=c,menu=on -net nic,macaddr=00:ef:55:f9:d7:d9,model=rtl8139 -net user -usb
-device -usb -device usb-host,vendorid=0x0c4b,productid=0x0500 -rtc
base=localtime -name "Win7"
By the way for the moment I cannot use aqemu if I want to add a usb device so I
must start the vm from console.
The problem with vendor:productid is, if I e.g. two same devices this will not
further work.
The permissions in dev for the usb device are ok. I'm in the same group scard
with my user.
But against using vendor/productid it should not work if the permissions are
wrong.