From e126cf13ee2b88949409c1c93bcf27413e97b241 Mon Sep 17 00:00:00 2001 From: ths Date: Sat, 31 Mar 2007 18:23:26 +0000 Subject: [PATCH] Fix usb hid and mass-storage protocol revision, by Juergen Keil. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2558 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/usb-hid.c | 2 +- hw/usb-msd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 1c2f4d2..720c4d2 100644 --- a/hw/usb-hid.c +++ b/hw/usb-hid.c @@ -46,7 +46,7 @@ typedef struct USBMouseState { static const uint8_t qemu_mouse_dev_descriptor[] = { 0x12, /* u8 bLength; */ 0x01, /* u8 bDescriptorType; Device */ - 0x10, 0x00, /* u16 bcdUSB; v1.0 */ + 0x00, 0x01, /* u16 bcdUSB; v1.0 */ 0x00, /* u8 bDeviceClass; */ 0x00, /* u8 bDeviceSubClass; */ diff --git a/hw/usb-msd.c b/hw/usb-msd.c index 4530a1c..251bd64 100644 --- a/hw/usb-msd.c +++ b/hw/usb-msd.c @@ -66,7 +66,7 @@ struct usb_msd_csw { static const uint8_t qemu_msd_dev_descriptor[] = { 0x12, /* u8 bLength; */ 0x01, /* u8 bDescriptorType; Device */ - 0x10, 0x00, /* u16 bcdUSB; v1.0 */ + 0x00, 0x01, /* u16 bcdUSB; v1.0 */ 0x00, /* u8 bDeviceClass; */ 0x00, /* u8 bDeviceSubClass; */ -- 2.7.4