Hi,
The latest SeaBIOS git has some basic support for ohci usb keyboards. I've successfully tested this on (a modified) qemu. However, I don't have any real hardware with OHCI that coreboot supports.
I would appreciate help testing this on real hardware.
I've placed a precompiled coreboot payload of the latest SeaBIOS git is at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin.elf-20091018
BTW, the ohci keyboard support has the same caveats as the uhci support:
- not all keys are mapped (eg, no numeric keypad) - no keyboard auto-repeat - no keyboard led support - if one types fast, they may see dup keys or missing keys - no hub support (keyboard must be directly attached) - usb bandwidth is not optimized (no scheduling)
Thanks, -Kevin
Kevin O'Connor wrote:
- if one types fast, they may see dup keys or missing keys
Can you describe a bit about why this is so?
//Peter
On Sun, Oct 18, 2009 at 06:40:28PM +0200, Peter Stuge wrote:
Kevin O'Connor wrote:
- if one types fast, they may see dup keys or missing keys
Can you describe a bit about why this is so?
The current code doesn't properly handle the case where multiple keys are depressed at the same time, which can frequently occur when typing fast.
To fix it, the code should store the last set of keys pressed and compare it to a new report to figure out which keys are new. It's easily fixed - I'd like to get the low-level usb code working first though.
-Kevin