Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 18:55:34 -0700 (PDT)
From:      jrozes@vinton.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/13215: ALPS GlidePoint in Sony Z505 not recognized
Message-ID:  <19990818015534.6879A15627@hub.freebsd.org>

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

>Number:         13215
>Category:       kern
>Synopsis:       ALPS GlidePoint in Sony Z505 not recognized
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 19:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Rozes
>Release:        3.2-STABLE
>Organization:
>Environment:
FreeBSD thorium 3.2-STABLE FreeBSD 3.2-STABLE #21: Tue Aug 17 17:11:30 PDT 1999
    jrozes@thorium:/usr/src/sys/compile/THORIUM  i386

>Description:
The ALPS GlidePoint device found in the Sony Z505 is not correctly
detected during bootup. It is instead detected as a generic ps/2
mouse, which does not support the 'tap' feature the GlidePoint is
capable of. This is due to the device returning a different value
than expected in the first status byte, as checked in enable_aglide()
in sys/i386/isa/psm.c.
>How-To-Repeat:
Boot any 3.2-STABLE kernel with a psm device configured on a Sony
Z505-series laptop. Mouse will be detected as ps/2 generic.
>Fix:
Don't know if this is really the right way to do it, but here's a
diff that checks for the old status value as well as the one returned
by the GlidePoint in the Sony Z505.

--- sys/i386/isa/psm.c.orig     Tue Aug 17 15:32:39 1999
+++ sys/i386/isa/psm.c  Tue Aug 17 17:16:15 1999
@@ -2027,7 +2027,9 @@
      */
     if (!mouse_id_proc1(sc->kbdc, PSMD_RES_LOW, 2, status))
         return FALSE;
-    if ((status[0] & 0x10) || (status[1] == PSMD_RES_LOW)) 
+    if (status[1] == PSMD_RES_LOW)
+        return FALSE;
+    if ((status[0] & 0x10) && (status[0] & 0x2C))
         return FALSE;
     return TRUE;
 }


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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