lkml.org 
[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: i8042 problem
On Sun, Jul 27, 2003 at 12:47:26PM +0200, Andries Brouwer wrote:

> So, apart from other things you might try, it seems to me that
> changing the timeout in atkbd_sendbyte from the 10000 that is
> there to the 100000 that the comment implies, should help.
>
> Andries
>
>
> - int timeout = 10000; /* 100 msec */
> + int timeout = 100000; /* 100 msec */

Note that we do udelay(10) in the loop, so with this change you're
waiting for a whole second. The timeout might need to be made bigger,
but not that much.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.129 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site