in case someone is interested in the details of the windows xp error (DRIVER_IRQL_NOT_LESS_OR_EQUAL) reported when the windowsxp guest tries to install QEMU&#39;s USB Hub driver I have uploaded a screenshot to imageshack<br>
<br><a href="http://img717.imageshack.us/img717/6489/iphoneusbcrash.png">http://img717.imageshack.us/img717/6489/iphoneusbcrash.png</a><br><br><br><br><div class="gmail_quote">On 10 February 2010 23:46, Daniel Sanabria <span dir="ltr">&lt;<a href="mailto:sanabria.d@gmail.com">sanabria.d@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">an update for those who are interested ...<br><br>chmod 777 /dev/bus/usb/001/006 and temporarly setting selinux to permisive gave me this:<div class="im">
<br><br>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 <a href="http://127.0.0.1:1" target="_blank">127.0.0.1:1</a> -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 <br>

char device redirected to /dev/pts/2<br>husb: open device 1.6<br></div>husb: config #1 need -1<br>husb: 1 interfaces claimed for configuration 1<br>husb: grabbed usb device 1.6<div class="im"><br>Warning: could not add USB device host:05ac:1294<br>
</div>
husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>

husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>husb: config #1 need 4<br>husb: config #2 need 4<br>husb: config #3 need 4<br>husb: config #4 need 4<br>husb: 3 interfaces claimed for configuration 4<br>

<br>The guest definetly detected the device (with beep in the phone included) and attempted to install a &quot;qemu usb hub&quot; driver while installing the driver but unfortunately everything ended up with a blue screen of death referring to usbhci or something. I didn&#39;t take a screnshoot which is a problem because after this if I try to reproduce the scenario windows doesn&#39;t try to install the driver and this is what I get in the qemu logs:<div class="im">
<br>
<br>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 <a href="http://127.0.0.1:1" target="_blank">127.0.0.1:1</a> -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 <br>

char device redirected to /dev/pts/2<br></div>husb: open device 1.7<br>husb: config #1 need -1<br>husb: 1 interfaces claimed for configuration 1<br>husb: grabbed usb device 1.7<div class="im"><br>Warning: could not add USB device host:05ac:1294<br>
</div>
husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>husb: config #1 need 1<br>husb: 1 interfaces claimed for configuration 1<br>husb: config #1 need 4<br>husb: config #2 need 4<br>husb: config #3 need 4<br>

husb: config #4 need 4<br>husb: 3 interfaces claimed for configuration 4<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On 10 February 2010 23:10, Daniel Sanabria <span dir="ltr">&lt;<a href="mailto:sanabria.d@gmail.com" target="_blank">sanabria.d@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Nevertheless, I&#39;d still like to share what I&#39;m getting in /var/log/libvirt/qemu/ when connecting the phone to my qemu host and then starting the guest ...<br>

<br>Starting the guest without the phone connected to the host:<br>
<br>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 <a href="http://127.0.0.1:1" target="_blank">127.0.0.1:1</a> -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 <br>


char device redirected to /dev/pts/2<br>Warning: could not add USB device host:05ac:1294<br>Warning: could not add USB device host:05ac:1294<br><br>Starting the guest with the phone connected:<br><br>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 <a href="http://127.0.0.1:1" target="_blank">127.0.0.1:1</a> -k en-gb -vga cirrus -soundhw es1370 -usbdevice host:05ac:1294 -usbdevice host:05ac:1294 <br>


char device redirected to /dev/pts/2<br>husb: open device 1.6<br>/dev/bus/usb/001/006: Permission denied<br>Warning: could not add USB device host:05ac:1294<br>husb: open device 1.6<br>/dev/bus/usb/001/006: Permission denied<br>


Warning: could not add USB device host:05ac:1294<br><br>So it looks to me like qemu/kvm tries to interact with the fs/phone but is facing a file permission problem?<br><br>[daniel@bigblackbox ~]$ ls -l /dev/bus/usb/001/006<br>


crw-rw-r--+ 1 root root 189, 5 2010-02-10 22:38 /dev/bus/usb/001/006<br><br>[daniel@bigblackbox ~]$ mount<br>/dev/mapper/vg_bigblackbox-LogVol_root on / type ext4 (rw)<br>proc on /proc type proc (rw)<br>sysfs on /sys type sysfs (rw)<br>


devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br>tmpfs on /dev/shm type tmpfs (rw,rootcontext=&quot;system_u:object_r:tmpfs_t:s0&quot;)<br>/dev/md0 on /boot type ext4 (rw)<br>/dev/md2 on /home type ext4 (rw)<br>/dev/mapper/vg_bigblackbox-LogVol_opt on /opt type ext4 (rw)<br>


/dev/mapper/vg_bigblackbox-LogVol_tmp on /tmp type ext4 (rw)<br>/dev/mapper/vg_bigblackbox-LogVol_var on /var type ext4 (rw)<br>/dev/mapper/virtvg-virtlv on /var/lib/libvirt type ext4 (rw)<br>none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)<br>


sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)<br>gvfs-fuse-daemon on /home/daniel/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=daniel)<br>[daniel@bigblackbox ~]$<br><br>Any suggestions about what the permission errors are indicating?<br>


<br>Cheers,<br><font color="#888888"><br>Daniel<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>