projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e88576
)
Fix error causing USB HID "boot" protocol to not be enabled.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 2 May 2010 02:45:56 +0000
(22:45 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 2 May 2010 02:45:56 +0000
(22:45 -0400)
To enable the "boot" protocol wValue must be 0, not 1.
src/usb-hid.c
patch
|
blob
|
history
diff --git
a/src/usb-hid.c
b/src/usb-hid.c
index 2a952286983ff0b2de97a91801526d0271c627be..b88d684f483b6c9518b06a870c01dc106d0cb56e 100644
(file)
--- a/
src/usb-hid.c
+++ b/
src/usb-hid.c
@@
-61,7
+61,7
@@
usb_kbd_init(struct usb_pipe *pipe, struct usb_endpoint_descriptor *epdesc)
return -1;
// Enable "boot" protocol.
- int ret = set_protocol(pipe,
1
);
+ int ret = set_protocol(pipe,
0
);
if (ret)
return -1;
// Periodically send reports to enable key repeat.
@@
-90,7
+90,7
@@
usb_mouse_init(struct usb_pipe *pipe, struct usb_endpoint_descriptor *epdesc)
return -1;
// Enable "boot" protocol.
- int ret = set_protocol(pipe,
1
);
+ int ret = set_protocol(pipe,
0
);
if (ret)
return -1;