[PATCH] Enable touchpad on some acer and compal laptops

Ulf Lilleengen lulf at kerneled.org
Thu Jul 1 16:43:51 PDT 2004


This patch enables the touchpad on some acer and compal laptops by ignoring two extra values two places in /usr/src/sys/dev/misc/psm/psm.c

Patch follows.

- Ulf Lilleengen
--- psm.c	2004-05-19 22:52:44.000000000 +0000
+++ psmnew.c	2004-07-02 01:17:45.000000000 +0000
@@ -651,6 +651,8 @@
 
     switch((i = test_aux_port(kbdc))) {
     case 1:	/* ignore this error */
+	 case 2: /* Ignore 2 and 3 for use with some acer and compal laptops */
+	 case 3:
     case PSM_ACK:
 	if (verbose)
 	    log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n",
@@ -1003,6 +1005,8 @@
      */
     switch ((i = test_aux_port(sc->kbdc))) {
     case 1:	   /* ignore this error */
+	 case 2:		/* Ignore these for use with compal and acer laptops */
+	 case 3:
     case PSM_ACK:
         if (verbose)
 	    printf("psm%d: strange result for test aux port (%d).\n",




More information about the Submit mailing list