[SeaBIOS] [coreboot] Keyboard not working on Thinkpad X60/T60

Paul Menzel paulepanter at users.sourceforge.net
Sat May 7 20:03:25 CEST 2011


Am Samstag, den 07.05.2011, 13:01 -0400 schrieb Kevin O'Connor:
> On Wed, May 04, 2011 at 10:16:17AM +0200, Sven Schnelle wrote:
> > >>> Will do. But right now i have the problem that the Keyboard isn't
> > >>> working on cold boot - seabios is probably started so early that some
> > >>> hardware parts are not finished with reset or similar things.
> [...]
> > I've just modified seabios to resend commands when 0xfe is received as a
> > quick hack. It makes my keyboard working again. I'm not sure if SeabIOS
> > should handle 0xfe as RESEND or not - have not monitored much Keyboards,
> > and don't know wether this has any side effects.
> 
> Some ps2 ports send NAK (0xfe) when there is no keyboard plugged in.
> The detection for NAK was added so that it doesn't take a full second
> to recognize that no keyboard is present.  The patch you sent would
> loop infinitely in this situation.
> 
> It's possible to have ps2_send_byte() attempt a resend on each NAK and
> use the timer to detect when to stop.  However, that will re-introduce
> the problem of having to wait a second when there is no keyboard
> present.
> 
> Do you know how long it takes for your keyboard to become responsive?
> (You can pass "-n" to tools/readserial.py to have it report wall times
> instead of adjusted times.)
> 
> Have you considerd using a USB keyboard?  :-)

I do not know how to interpret your »:-)«, but to clarify Sven is using
coreboot on his laptop so the non-working keyboard is the build in
keyboard.

> BTW, if you want to improve boot time, setting
> CONFIG_THREAD_OPTIONROMS should help.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.seabios.org/pipermail/seabios/attachments/20110507/a2aec9f1/attachment.sig>


More information about the SeaBIOS mailing list