From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSMDa-0004NL-Uq for qemu-devel@nongnu.org; Sat, 08 Apr 2006 18:47:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSMDZ-0004N1-8V for qemu-devel@nongnu.org; Sat, 08 Apr 2006 18:47:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSMDZ-0004My-33 for qemu-devel@nongnu.org; Sat, 08 Apr 2006 18:47:45 -0400 Received: from [24.93.47.40] (helo=ms-smtp-01.texas.rr.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSMHq-0003ud-DI for qemu-devel@nongnu.org; Sat, 08 Apr 2006 18:52:10 -0400 Received: from [192.168.0.11] (cpe-67-9-160-120.austin.res.rr.com [67.9.160.120]) by ms-smtp-01.texas.rr.com (8.13.4/8.13.4) with ESMTP id k38MlfAU004068 for ; Sat, 8 Apr 2006 17:47:41 -0500 (CDT) Message-ID: <44383D86.5060603@austin.rr.com> Date: Sat, 08 Apr 2006 17:47:34 -0500 From: Lonnie Mendez MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [usb] correct position of hid descriptor for emulated usb mouse 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 I was trying out qemu's emulated usb mouse under debian sid and windows xp. It worked fine under debian but failed to start under windows xp guest. It turns out the hid descriptor in the qemu_mouse_config_descriptor array is out of position. Please see section 7.1 in the document HID1_11: "The HID descriptor shall be interleaved between the Interface and Endpoint descriptors for HID Interfaces. That is, the order shall be: Configuration descriptor Interface descriptor (specifying HID Class) HID descriptor (associated with above Interface) Endpoint descriptor (for HID Interrupt In Endpoint) Optional Endpoint descriptor (for HID Interrupt Out Endpoint)" The patch is linked below: http://gnome.dnsalias.net/patches/qemu-hidmousexp.patch