lkml.org 
[lkml]   [2003]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.0-test4 does not detect my touchpad
On Thu, Sep 04, 2003 at 03:57:37PM +0200, Frederic Gobry wrote:
> > If you #define DEBUG in i8042.c and make sure you use a large
> > log buffer then all probing is logged via syslog, and we can
> > see what was sent and how the touchpad reacted.
>
> Here we go:
>
> kernel: mice: PS/2 mouse device common for all mice
> kernel: i8042.c: 20 -> i8042 (command) [0]
> kernel: i8042.c: 47 <- i8042 (return) [0]

Read controller command byte: 47 - xlate, kie, mie, sysf

> kernel: i8042.c: 60 -> i8042 (command) [0]
> kernel: i8042.c: 56 -> i8042 (parameter) [0]

Write controller command byte: 56 - disable keyboard and kbd interrupt

> kernel: i8042.c: d3 -> i8042 (command) [0]
> kernel: i8042.c: f0 -> i8042 (parameter) [0]
> kernel: i8042.c: 0f <- i8042 (return) [0]
> kernel: i8042.c: d3 -> i8042 (command) [0]
> kernel: i8042.c: 56 -> i8042 (parameter) [0]
> kernel: i8042.c: a9 <- i8042 (return) [0]
> kernel: i8042.c: d3 -> i8042 (command) [0]
> kernel: i8042.c: a4 -> i8042 (parameter) [0]
> kernel: i8042.c: 5b <- i8042 (return) [0]

Write f0, 56, a4 to mouse output buffer and see whether we read
the same values back. (They are given complemented.)
0f, a9, 5b - yes, we do. There was no special magic here.
We conclude that no multiplexer is present.

> kernel: i8042.c: d3 -> i8042 (command) [1]
> kernel: i8042.c: 5a -> i8042 (parameter) [1]
> kernel: i8042.c: a5 <- i8042 (return) [1]

Loop test succeeds.

> kernel: i8042.c: a7 -> i8042 (command) [1]

Disable mouse port.

> kernel: i8042.c: 20 -> i8042 (command) [1]
> kernel: i8042.c: 56 <- i8042 (return) [1]

Check that it really has been disabled. But wait!
The disable bit is 0x20, and it was not set.
We conclude that there is no AUX port.
No PS/2 mouse that can be used.

You can to put #if 0 ... #endif around the four
if statements following the comment

/*
* Bit assignment test - filters out PS/2 i8042's in AT mode
*/

in i8042.c (since also your mouse was filtered away).

Andries

-
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:48    [W:0.108 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site