看板 DFBSD_submit 關於我們 聯絡資訊
--raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="psmpatch.diff" --- 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", --raC6veAxrt5nqIoY--