Re: 2.6.18-rc4-mm1

From: Maciej Rutecki
Date: Mon Aug 14 2006 - 14:22:02 EST


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@xxxxxxxxx>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

Attachment: dmesg.gz
Description: GNU Zip compressed data