kern/61482: PATCH: problem detecting laptop-touchpad.

Ulf Lilleengen lulf at kerneled.com
Sat Jan 17 08:50:30 PST 2004


>Number:         61482
>Category:       kern
>Synopsis:       PATCH: problem detecting laptop-touchpad.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 17 08:50:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ulf Lilleengen
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD lulflap.faugli 5.2-RELEASE FreeBSD 5.2-RELEASE #9: Tue Jan 13 21:10:22 CET 2004 lulf at lulflap.faugli:/usr/obj/usr/src/sys/LULFLAP i386

Whitebox CL 50 (Centrino, Pentium M 1500 MHz, 512 MB RAM, 60 GB 5400 RPM, )
        
>Description:
        Using a compal laptop (CL50), touchpad was not detected, together with some other laptops, which is defined in pr http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/54188 . Added ignoring for return value 3. 
>How-To-Repeat:
        Build kernel on Compal Laptops (CL50).

>Fix:
--- psm_patch.diff begins here ---
--- /usr/src/sys/isa/psm.c      Sat Jan 17 17:37:15 2004
+++ psm.c       Sat Jan 17 17:39:03 2004
@@ -627,6 +627,7 @@
     switch((i = test_aux_port(kbdc))) {
     case 1:    /* ignore this error */
     case 2:    /* 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",
@@ -1011,10 +1012,12 @@
      * it will be detected later...
      * XXX: another incompatible controller returns PSM_ACK (0xfa)...
      * XXX: Some Acer and Toshiba notebooks returns 2...
+     * XXX: Compal CL50 laptops (and possibly others), return 3...
      */
     switch ((i = test_aux_port(sc->kbdc))) {
     case 1:       /* ignore this error */
     case 2:       /* ignore this error */
+    case 3:       /* ignore this error */
     case PSM_ACK:
         if (verbose)
            printf("psm%d: strange result for test aux port (%d).\n",
--- psm_patch.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list