[PATCH] Enable touchpad on some acer and compal laptops

看板DFBSD_submit作者時間21年前 (2004/07/02 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
--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--
文章代碼(AID): #10vHP000 (DFBSD_submit)