diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2019-06-12 00:05:01 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2019-06-12 00:05:01 +0300 |
commit | 379714eed72e7bd14d352018798b958d90545dd3 (patch) | |
tree | ac3c104eafbbb1ce53ab240cbf964a8197853991 /seabios-macbook-fix.patch |
initial
Diffstat (limited to 'seabios-macbook-fix.patch')
-rw-r--r-- | seabios-macbook-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/seabios-macbook-fix.patch b/seabios-macbook-fix.patch new file mode 100644 index 0000000..d537501 --- /dev/null +++ b/seabios-macbook-fix.patch @@ -0,0 +1,13 @@ +diff --git a/src/hw/usb-hid.c b/src/hw/usb-hid.c +index fa4d9a2..7d3561c 100644 +--- a/src/hw/usb-hid.c ++++ b/src/hw/usb-hid.c +@@ -59,7 +59,7 @@ usb_kbd_setup(struct usbdevice_s *usbdev + // XXX - this enables the first found keyboard (could be random) + return -1; + +- if (epdesc->wMaxPacketSize != 8) ++ if (epdesc->wMaxPacketSize != 8 && epdesc->wMaxPacketSize != 10) + return -1; + + // Enable "boot" protocol. |