On Mon, Oct 30, 2017 at 04:00:17PM +0300, Аладышев Константин wrote:
Hello! I'm having problems with K-TEK-M275TP-FN-BL-ML keyboard (http://www.key-tek.cn/Productview.asp?id=777). It is USB device with keyboard and touchpad combined. It works in OS correctly, but doesn't work in SeaBIOS.
If you're experiencing a problem with SeaBIOS, please send the full debug log to the mailing list as described at: https://www.seabios.org/Debugging
I've tried to debug this issue and found that "usb_kbd_setup" function fails on "(epdesc->wMaxPacketSize != 8)" check, cause "epdesc->wMaxPacketSize" is actually 32. I've modified this "if" statement to pass 32 value also and now function completes successfully. But it didn't help to solve my issue. There are no interrupts from keyboard, "ehci_poll_intr" always returns -1 on check:
if (token & QTD_STS_ACTIVE) { // No intrs found. return -1; }
I don't know what to do now. What should I check next?
Does SeaBIOS support USB keyboard+touchpad devices at all?
SeaBIOS should support any USB keyboard (or mouse) that supports the "USB HID boot protocol".
-Kevin