an update for those who are interested ... chmod 777 /dev/bus/usb/001/006 and temporarly setting selinux to permisive gave me this:
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid 88b53573-a3c1-3e12-8703-ea3fc8580493 -monitor unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c -drive file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw -drive file=/home/daniel/Downloads/Adobe CS4 Design Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=52:54:00:62:66:ed,vlan=0,name=nic.0 -net tap,fd=20,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 char device redirected to /dev/pts/2 husb: open device 1.6 husb: config #1 need -1 husb: 1 interfaces claimed for configuration 1 husb: grabbed usb device 1.6 Warning: could not add USB device host:05ac:1294 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 4 husb: config #2 need 4 husb: config #3 need 4 husb: config #4 need 4 husb: 3 interfaces claimed for configuration 4 The guest definetly detected the device (with beep in the phone included) and attempted to install a "qemu usb hub" driver while installing the driver but unfortunately everything ended up with a blue screen of death referring to usbhci or something. I didn't take a screnshoot which is a problem because after this if I try to reproduce the scenario windows doesn't try to install the driver and this is what I get in the qemu logs: LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid 88b53573-a3c1-3e12-8703-ea3fc8580493 -monitor unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c -drive file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw -drive file=/home/daniel/Downloads/Adobe CS4 Design Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=52:54:00:62:66:ed,vlan=0,name=nic.0 -net tap,fd=20,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 char device redirected to /dev/pts/2 husb: open device 1.7 husb: config #1 need -1 husb: 1 interfaces claimed for configuration 1 husb: grabbed usb device 1.7 Warning: could not add USB device host:05ac:1294 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 husb: config #1 need 4 husb: config #2 need 4 husb: config #3 need 4 husb: config #4 need 4 husb: 3 interfaces claimed for configuration 4 On 10 February 2010 23:10, Daniel Sanabria <[email protected]> wrote: > Nevertheless, I'd still like to share what I'm getting in > /var/log/libvirt/qemu/ when connecting the phone to my qemu host and then > starting the guest ... > > Starting the guest without the phone connected to the host: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none > /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid > 88b53573-a3c1-3e12-8703 -monitor > unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c > -drive > file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw > -drive file=/home/daniel/Downloads/Adobe CS4 Design > Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net > nic,macaddr=52xxxxxx,vlan=0,name=nic.0 -net tap,fd=20,vlan=0,name=tap.0 > -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k > en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice > host:05ac:1294 > char device redirected to /dev/pts/2 > Warning: could not add USB device host:05ac:1294 > Warning: could not add USB device host:05ac:1294 > > Starting the guest with the phone connected: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none > /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid > 88b53573-a3c1-3e12-8703-ea3fc8580493 -monitor > unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c > -drive > file=/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw > -drive file=/home/daniel/Downloads/Adobe CS4 Design > Premium/adobe_CS4_design_premium.iso,if=ide,media=cdrom,index=2 -net > nic,macaddr=52:54:00:62:66:ed,vlan=0,name=nic.0 -net > tap,fd=20,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice > tablet -vnc 127.0.0.1:1 -k en-gb -vga cirrus -soundhw es1370 -usbdevice > host:05ac:1294 -usbdevice host:05ac:1294 > char device redirected to /dev/pts/2 > husb: open device 1.6 > /dev/bus/usb/001/006: Permission denied > Warning: could not add USB device host:05ac:1294 > husb: open device 1.6 > /dev/bus/usb/001/006: Permission denied > Warning: could not add USB device host:05ac:1294 > > So it looks to me like qemu/kvm tries to interact with the fs/phone but is > facing a file permission problem? > > [dan...@bigblackbox ~]$ ls -l /dev/bus/usb/001/006 > crw-rw-r--+ 1 root root 189, 5 2010-02-10 22:38 /dev/bus/usb/001/006 > > [dan...@bigblackbox ~]$ mount > /dev/mapper/vg_bigblackbox-LogVol_root on / type ext4 (rw) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > tmpfs on /dev/shm type tmpfs > (rw,rootcontext="system_u:object_r:tmpfs_t:s0") > /dev/md0 on /boot type ext4 (rw) > /dev/md2 on /home type ext4 (rw) > /dev/mapper/vg_bigblackbox-LogVol_opt on /opt type ext4 (rw) > /dev/mapper/vg_bigblackbox-LogVol_tmp on /tmp type ext4 (rw) > /dev/mapper/vg_bigblackbox-LogVol_var on /var type ext4 (rw) > /dev/mapper/virtvg-virtlv on /var/lib/libvirt type ext4 (rw) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > gvfs-fuse-daemon on /home/daniel/.gvfs type fuse.gvfs-fuse-daemon > (rw,nosuid,nodev,user=daniel) > [dan...@bigblackbox ~]$ > > Any suggestions about what the permission errors are indicating? > > Cheers, > > Daniel >
_______________________________________________ virt mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/virt
