qemu-devel
[Top][All Lists]
Advanced

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

RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?


From: Lonnie Mendez
Subject: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?
Date: Wed, 14 Feb 2007 20:43:32 -0600

On Thu, 2007-02-15 at 10:36 +0800, Yu, Xiaoyang wrote:
> Thanks a lot for the instruction. Will the suspend/resume support be added in 
> the future release? 
> 
> Without the suspend/resume support, is there anything can be done in the 
> guest domain to help detect a USB device? Maybe patch the kernel?

For windows you can disable the power management for the controller.
That will cause windows to constantly poll hub status.

For linux you have to reload the uhci hcd driver.  Notice that starting
qemu with -usbdevice works.  The code to implement this is very easy.
You basically set/clear some bits and trigger an interrupt.  See list
archives for example code.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]