[PATCH] /sys/isa/psm.c Toshiba Sattelite P10

From: Vahe Khachikyan <vahe_at_khachikyan.de>
Date: Sat, 27 Dec 2003 21:48:22 +0100
I had a problem on my new Toshiba Satellite P10 laptop.
-CURRENT system kernel didn't recognize the touchpad.
Adding the patch below to /sys/isa/psm.c helps.

I just found a similar patch for another toshiba model
and found out that on my model the return code from test_aux_port is
3 instead of 2 as in patch mentioned in
http://www.geocrawler.com/archives/3/163/2002/2/0/7956812/

I have no idea what is it good for. The only thing I know it works in my
case.
Probably somebody will find the information helpfull.
I can provide additional info on request.


--- psm.orig.c  Sat Dec 27 21:31:22 2003
+++ psm.c       Sat Dec 27 21:30:10 2003
_at__at_ -626,6 +626,7 _at__at_

     switch((i = test_aux_port(kbdc))) {
     case 1:    /* ignore this error */
+    case 3:    /* ignore this error */
     case PSM_ACK:
        if (verbose)
            log(LOG_DEBUG, "psm%d: strange result for test aux port
(%d).\n",
_at__at_ -1012,6 +1013,7 _at__at_
      */
     switch ((i = test_aux_port(sc->kbdc))) {
     case 1:       /* ignore this error */
+    case 3:       /* ignore this error */
     case PSM_ACK:
         if (verbose)
            printf("psm%d: strange result for test aux port (%d).\n",

Best regards
--
Vahe Khachikyan
---
Received on Sat Dec 27 2003 - 11:48:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC