Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jun 1999 11:47:02 -0500
From:      crawdad+fbsd@gungnir.fnal.gov
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/11979: Vaio 505DX touchpad not detected as GlidePoint
Message-ID:  <199906011647.LAA15852@gungnir.fnal.gov>

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

>Number:         11979
>Category:       i386
>Synopsis:       Vaio 505DX touchpad not detected as GlidePoint
>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 Jun  1 09:50:04 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Matt Crawford
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Fermilab
>Environment:

FreeBSD gleipnir.fnal.gov 3.2-RELEASE FreeBSD 3.2-RELEASE #14: Sun May 30 14:37:25 CDT 1999     root@gleipnir.fnal.gov:/usr/src/sys/compile/GLEIPNIR  i386

HW = Sony Vaio 505DX

>Description:

	i386/isa/psm.c fails to detect touchpad as GlidePoint type

>How-To-Repeat:

	Buy laptop; install FreeBSD; boot.  See:
May 27 16:10:11 nidhogge /kernel: psm0 irq 12 on isa
May 27 16:10:11 nidhogge /kernel: psm0: model Generic PS/2 mouse, device ID 0, 2 buttons



>Fix:
	
	The comments in the driver state that the tests don't work on every
	GlidePoint.  The one in the Vaio is returning status 53 02 14 to the
	GlidePoint probe.  The following patch works, but something more
	general would be better.

*** psm.c	1999/05/30 18:10:24	1.1
--- psm.c	1999/05/30 19:36:07
***************
*** 2013,2018 ****
--- 2013,2020 ----
       */
      if (!mouse_id_proc1(sc->kbdc, PSMD_RES_LOW, 2, status))
          return FALSE;
+     if (status[0] == 0x53)
+ 	return TRUE;
      if ((status[0] & 0x10) || (status[1] == PSMD_RES_LOW)) 
          return FALSE;
      return TRUE;


This was relative to 3.2-RELEASE, but the relevant portion of CURRENT
is the same.

>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?199906011647.LAA15852>