Re: USB EHCI patch for 0.14.0?

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

 




On 03/11/11 08:18, erik.rull@xxxxxxxxxxxxx wrote:
> Hi David,
> 
> I did a second iteration and it looked way better, maybe my first attempts
> were somehow buggy.
> 
> First - please review your DPRINTF in the usb-ehci.c, there is a variable
> "dev" undefined in line 504/505 when enabling the debugging defines at the
> top of the file, the compiler complains there.

Args to that function was changed recently; I just deleted the printf.

> 
> I tested again with your hints, here my results:
> 
> - using -device usb-host causes windows not to boot completely, using
> -usbdevice host:auto:*.* is fine!
> 
> - using -usbdevice tablet is better than using -device usb-tablet
> 
> 
> - only one "external" USB device gets detected, the rest is just ignored.
> qemu does not recognize the device, but the host OS sees it (dmesg output)

I have not used the auto feature. What happens if you disable it and
instead add the devices you want? I have been able to add both a printer
and a USB key to a guest -- both on the EHCI bus. And just verified
again - both printer and USB key accessible within the guest.

> 
> - if the first plugged in device is removed from the usb port and the
> second (not detected one) is still plugged in, then this second device gets
> now detected by qemu and is handled to the guest

Interesting. Gerd made a lot of changes to the USB code right before
0.14. I have not really followed the change set - or how it might impact
ehci. It could be a bug independent of ehci as well -- try it without
the ehci patch and see if the same occurs.

> 
> Additionally something really interesting:
> if I disable USB 2.0 in my host BIOS and boot my guest system with the qemu
> ehci patch, then I get no longer the BSOD in windows when removing the
> printer! :-) So the patch seems also to improve the usb-uhci stuff.

Our mileage differs here as well. I'm running Fedora 14 on my laptop.
With the ehci enabled version of qemu-kvm I have no problems connecting
and disconnecting devices -- host or guest.

David


> 
> So everything is fine now beside the "more than one USB device" issue.
> 
> Any ideas what this could be?
> 
> Thanks a lot for your support!
> 
> Best regards,
> 
> Erik
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux