Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 17:48:34 +0100 (CET)
From:      Ulf Lilleengen <lulf@kerneled.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/61482: PATCH: problem detecting laptop-touchpad.
Message-ID:  <200401171648.i0HGmYPH002180@c2i.net>
Resent-Message-ID: <200401171650.i0HGoM1C095617@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401171648.i0HGmYPH002180>