lkml.org 
[lkml]   [2006]   [Aug]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 14 Aug 2006 20:24:32 +0200
FromMaciej Rutecki <>
SubjectRe: 2.6.18-rc4-mm1
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/)
[unhandled content-type:application/x-gzip]
\
 
 \ /
  Last update: 2006-08-14 18:27    [W:0.300 / U:0.020 seconds]
©2003-2008 Jasper Spaans