From 379714eed72e7bd14d352018798b958d90545dd3 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 12 Jun 2019 00:05:01 +0300 Subject: initial --- seabios-macbook-fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 seabios-macbook-fix.patch (limited to 'seabios-macbook-fix.patch') 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. -- cgit v1.2.3