From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHWbD-0002KO-5S for qemu-devel@nongnu.org; Wed, 14 Feb 2007 21:43:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHWbB-0002HW-DW for qemu-devel@nongnu.org; Wed, 14 Feb 2007 21:43:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHWbB-0002HM-6N for qemu-devel@nongnu.org; Wed, 14 Feb 2007 21:43:53 -0500 Received: from ms-smtp-04.texas.rr.com ([24.93.47.43]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HHWbA-0004tn-Nu for qemu-devel@nongnu.org; Wed, 14 Feb 2007 21:43:52 -0500 Received: from vaio (cpe-66-68-31-100.austin.res.rr.com [66.68.31.100]) by ms-smtp-04.texas.rr.com (8.13.6/8.13.6) with ESMTP id l1F2hZSc011107 for ; Wed, 14 Feb 2007 20:43:38 -0600 (CST) Subject: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain? From: Lonnie Mendez In-Reply-To: References: Content-Type: text/plain Date: Wed, 14 Feb 2007 20:43:32 -0600 Message-Id: <1171507413.4091.48.camel@vaio> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.