Re: Laptop PS/2 mouse refuses to work in 2.2.x/2.3.x

Pavel Machek (pavel@bug.ucw.cz)
Fri, 20 Aug 1999 00:31:36 +0200


Hi!

> I made an strace and got the following output:
>
> execve("/bin/cat", ["cat", "/dev/psaux"], [/* 46 vars */]) = 0
> [...]
> personality(PER_LINUX) = 0
> getpid() = 269
> brk(0) = 0x804ba5c
> brk(0x804ba94) = 0x804ba94
> brk(0x804c000) = 0x804c000
> fstat(1, {st_mode=S_ISGID|01, st_size=0, ...}) = 0
> open("/dev/psaux", O_RDONLY) = -1 ENOSYS (Function not implemented)
> open("/dev/psaux", O_RDONLY) = -1 ENOSYS (Function not implemented)
> open("/dev/psaux", O_RDONLY) = -1 ENODEV (Operation not
> supported by

Interesting. Now, you can either try linux-input patches from
vojtech@ucw.cz (and hope he got it right), or you can debug it yourself:

Aha. Let's talk about 2.3.X. You need to check detect_auxiliary_port
routine. Did it say "Detected PS/2 Mouse Port at startup"? If not,
just force detect_aux...() to return 1 and complain loudly that
detect_aux...() does not work.
Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/