[SeaBIOS] Re: [PATCH v3] hw/usb-hid: handle devices with illegal max packet size

2020-03-06 Thread Kevin O'Connor
On Sun, Dec 15, 2019 at 09:26:17PM -0600, Matt DeVillier wrote: > On Sun, Dec 15, 2019 at 6:26 PM Kevin O'Connor wrote: > > > > On Sat, Dec 14, 2019 at 11:26:17AM -0600, Matt DeVillier wrote: > > > Some USB keyboards report 9 or 10-byte max packet sizes, instead > > > of the 8-byte max specified b

[SeaBIOS] Re: [PATCH v3] hw/usb-hid: handle devices with illegal max packet size

2019-12-15 Thread Matt DeVillier
On Sun, Dec 15, 2019 at 6:26 PM Kevin O'Connor wrote: > > On Sat, Dec 14, 2019 at 11:26:17AM -0600, Matt DeVillier wrote: > > Some USB keyboards report 9 or 10-byte max packet sizes, instead > > of the 8-byte max specified by the USB HID spec. Handle this by > > increasing the size of the keyevent

[SeaBIOS] Re: [PATCH v3] hw/usb-hid: handle devices with illegal max packet size

2019-12-15 Thread Kevin O'Connor
On Sat, Dec 14, 2019 at 11:26:17AM -0600, Matt DeVillier wrote: > Some USB keyboards report 9 or 10-byte max packet sizes, instead > of the 8-byte max specified by the USB HID spec. Handle this by > increasing the size of the keyevent struct to 10 bytes, and using the key > array size of the usbkey