qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [usb] correct position of hid descriptor for emulated usb m


From: Lonnie Mendez
Subject: [Qemu-devel] [usb] correct position of hid descriptor for emulated usb mouse
Date: Sat, 08 Apr 2006 17:47:34 -0500
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

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




reply via email to

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