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

Vahe Khachikyan vahe at khachikyan.de
Sat Dec 27 12:48:27 PST 2003


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
@@ -626,6 +626,7 @@

     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",
@@ -1012,6 +1013,7 @@
      */
     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
---



More information about the freebsd-hackers mailing list