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
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel