lkml.org 
[lkml]   [2004]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Strange atkbd messages with missing keyboard
Date
On Friday 13 February 2004 08:12 am, Meelis Roos wrote:
> > Meelis, can you please enable DEBUG in i8042.c, so that I can check
> > where these unexpected NAKs come from?
>
> Here is full dmesg (though probably only the serio and atkbd lines are
> interesting).
>

> drivers/input/serio/i8042.c: d4 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [3]
> drivers/input/serio/i8042.c: d4 -> i8042 (command) [109]
> drivers/input/serio/i8042.c: ed -> i8042 (parameter) [109]
> drivers/input/serio/i8042.c: fe <- i8042 (interrupt, aux, 12, timeout) [122]
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [122]
> drivers/input/serio/i8042.c: 54 -> i8042 (parameter) [122]
> drivers/input/serio/i8042.c: fe <- i8042 (interrupt, aux, 12, timeout) [240]
> atkbd.c: Unknown key pressed (raw set 0, code 0x17e on isa0060/serio1).
> atkbd.c: Use 'setkeycodes 7e <keycode>' to make it known.

I see that we are not getting a NAK when querying ID but getting it while
setting LEDs (or even writing to the control register later). It seems
like controller's timeout is longer than our internal one so we getting
timeout signal from keyboard (which we convert to a NAK) too late.

I wonder if changing timeout in atkbd_sendbyte to 400 or 500 ms will
cure the problem.

--
Dmitry
-
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 14:00    [from the cache]
©2003-2011 Jasper Spaans