Re: 2.6.18-rc4-mm1

Maciej Rutecki
2006-08-14T18:24:34Z

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Dmitry Torokhov napisał(a):
>
> I was wrong, it is trying to detect keyboard but failing and I think I
> know why. Coud you please try sticking i8042_flush() in
> i8042_check_aux() like this for me:
>
> if (wait_for_completion_timeout(&i8042_aux_irq_delivered,
> msecs_to_jiffies(250)) == 0) {
> /*
> * AUX IRQ was never delivered so we need to flush the controller to
> * get rid of the byte we put there; otherwise keyboard may not work.
> */
> i8042_flush();
> retval = -1;
> }
>
> Thanks!
>

I changed this, and my keyboard works fine. Thanks

--
Maciej Rutecki <maciej.rutecki@gmail.com>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 9678 bytes --]