[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/7] Make USB hid devices self-powered
From: |
riku . voipio |
Subject: |
[Qemu-devel] [PATCH 5/7] Make USB hid devices self-powered |
Date: |
Thu, 3 Dec 2009 15:56:06 +0200 |
From: Riku Voipio <address@hidden>
Simplifies power budget negotiation.
Signed-off-by: Riku Voipio <address@hidden>
---
hw/usb-hid.c | 2 +-
hw/usb-hub.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index f4a2a48..b099ae7 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -100,7 +100,7 @@ static const uint8_t qemu_mouse_config_descriptor[] = {
0x01, /* u8 bNumInterfaces; (1) */
0x01, /* u8 bConfigurationValue; */
0x04, /* u8 iConfiguration; */
- 0xa0, /* u8 bmAttributes;
+ 0xe0, /* u8 bmAttributes;
Bit 7: must be set,
6: Self-powered,
5: Remote wakeup,
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index e5a0938..f252301 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -113,7 +113,7 @@ static const uint8_t qemu_hub_config_descriptor[] = {
0x01, /* u8 bNumInterfaces; (1) */
0x01, /* u8 bConfigurationValue; */
0x00, /* u8 iConfiguration; */
- 0xc0, /* u8 bmAttributes;
+ 0xe0, /* u8 bmAttributes;
Bit 7: must be set,
6: Self-powered,
5: Remote wakeup,
--
1.6.3.3
- [Qemu-devel] [PATCH 0/7] Misc fixes from maemo qemu, riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 3/7] fix networking on win32 host, riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 1/7] Fix win32 log file location, riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 4/7] Give a error when running out of iomem areas., riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 6/7] handle SD CMD5 without error messages, riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 7/7] usb-musb: convert fifo to 8bit and add more registers, riku . voipio, 2009/12/03
- [Qemu-devel] [PATCH 5/7] Make USB hid devices self-powered,
riku . voipio <=
- [Qemu-devel] [PATCH 2/7] fix pidfile option to work in WIN32, riku . voipio, 2009/12/03