[PATCH 1/1] usb-hid: Increase MAX_KBD_EVENT

From: Stefan Ott <stefan@ott.net> Some USB keyboards use max packet sizes beyond the current maximum supported by SeaBIOS. This increases the available size to support these keyboards. Signed-off-by: Stefan Ott <stefan@ott.net> --- src/hw/usb-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hw/usb-hid.c b/src/hw/usb-hid.c index a22765b..92c6b19 100644 --- a/src/hw/usb-hid.c +++ b/src/hw/usb-hid.c @@ -56,7 +56,7 @@ struct keyevent { u8 keys[6]; }; -#define MAX_KBD_EVENT 10 +#define MAX_KBD_EVENT 16 static int usb_kbd_setup(struct usbdevice_s *usbdev -- 2.30.1

Dear Stefan, Am 25.02.21 um 03:36 schrieb seabios@desire.ch:
From: Stefan Ott <stefan@ott.net>
Some USB keyboards use max packet sizes beyond the current maximum supported by SeaBIOS.
This increases the available size to support these keyboards.
Thank you for the patch. It’d be great, if you added the exact keyboard model, you experienced this with.
Signed-off-by: Stefan Ott <stefan@ott.net> --- src/hw/usb-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hw/usb-hid.c b/src/hw/usb-hid.c index a22765b..92c6b19 100644 --- a/src/hw/usb-hid.c +++ b/src/hw/usb-hid.c @@ -56,7 +56,7 @@ struct keyevent { u8 keys[6]; };
-#define MAX_KBD_EVENT 10 +#define MAX_KBD_EVENT 16
Kind regards, Paul
static int usb_kbd_setup(struct usbdevice_s *usbdev

Hi Paul
Thank you for the patch. It’d be great, if you added the exact keyboard model, you experienced this with.
The keyboard model is a Matias Ergo Pro. Would you like me to re-submit the patch with the keyboard model added to the description? King regards -- Stefan Ott https://www.ott.net/

On Tue, Mar 02, 2021 at 05:04:06AM +0100, Stefan Ott via SeaBIOS wrote:
Hi Paul
Thank you for the patch. It’d be great, if you added the exact keyboard model, you experienced this with.
The keyboard model is a Matias Ergo Pro. Would you like me to re-submit the patch with the keyboard model added to the description?
Due to recent mailing list issues, I didn't get the original post. If you can resend it I will apply. Thanks, -Kevin
participants (4)
-
Kevin O'Connor
-
Paul Menzel
-
seabios@desire.ch
-
Stefan Ott