DragonFly BSD
DragonFly submit List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[PATCH] Enable touchpad on some acer and compal laptops


From: Ulf Lilleengen <lulf@xxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 01:41:59 +0000

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",


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]