diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-05-01 22:45:56 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-05-01 22:45:56 -0400 |
commit | e5cd9458217af2a0506c8e9dc56e548227ca8418 (patch) | |
tree | 36f9febae10865f9e4894a1a4be17867922b04b9 | |
parent | 0e88576feb7c577d2e6d3cda469f751db962a380 (diff) | |
download | seabios-e5cd9458217af2a0506c8e9dc56e548227ca8418.tar.gz |
Fix error causing USB HID "boot" protocol to not be enabled.
To enable the "boot" protocol wValue must be 0, not 1.
-rw-r--r-- | src/usb-hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usb-hid.c b/src/usb-hid.c index 2a952286..b88d684f 100644 --- 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; |