projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e447fc6
)
usb-linux: Enlarge buffer for descriptors to 8192 bytes
author
Hans de Goede
<hdegoede@redhat.com>
Tue, 31 May 2011 09:35:26 +0000
(11:35 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:49 +0000
(12:56 +0200)
1024 bytes is way to small, one hd UVC webcam I have over here has so
many resolutions its descriptors take op close to 4k. Hopefully 8k will
be enough for all devices.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c
patch
|
blob
|
history
diff --git
a/usb-linux.c
b/usb-linux.c
index
a4dfe5c
..
5d2ec5c
100644
(file)
--- a/
usb-linux.c
+++ b/
usb-linux.c
@@
-115,7
+115,7
@@
typedef struct USBHostDevice {
USBDevice dev;
int fd;
- uint8_t descr[
1024
];
+ uint8_t descr[
8192
];
int descr_len;
int configuration;
int ninterfaces;