From: Kevin O'Connor Date: Sun, 2 May 2010 02:45:56 +0000 (-0400) Subject: Fix error causing USB HID "boot" protocol to not be enabled. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=e5cd9458217af2a0506c8e9dc56e548227ca8418;p=seabios.git Fix error causing USB HID "boot" protocol to not be enabled. To enable the "boot" protocol wValue must be 0, not 1. --- diff --git a/src/usb-hid.c b/src/usb-hid.c index 2a95228..b88d684 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;