From crawdad@gungnir.fnal.gov Tue Jun  1 09:47:07 1999
Return-Path: <crawdad@gungnir.fnal.gov>
Received: from gungnir.fnal.gov (gungnir.fnal.gov [131.225.80.1])
	by hub.freebsd.org (Postfix) with ESMTP id 08D071575C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Jun 1999 09:47:04 -0700 (PDT)
	(envelope-from crawdad@gungnir.fnal.gov)
Received: from gungnir.fnal.gov (localhost [127.0.0.1])
	by gungnir.fnal.gov (8.9.1/8.9.1) with ESMTP id LAA15852
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Jun 1999 11:47:02 -0500 (CDT)
Message-Id: <199906011647.LAA15852@gungnir.fnal.gov>
Date: Tue, 01 Jun 1999 11:47:02 -0500
From: crawdad+fbsd@gungnir.fnal.gov
Sender: crawdad@gungnir.fnal.gov
To: FreeBSD-gnats-submit@freebsd.org
Subject: Vaio 505DX touchpad not detected as GlidePoint
X-Send-Pr-Version: 3.2

>Number:         11979
>Category:       i386
>Synopsis:       Vaio 505DX touchpad not detected as GlidePoint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun  1 09:50:04 PDT 1999
>Closed-Date:    Sun Jun 02 04:56:32 PDT 2002
>Last-Modified:  Sun Jun 02 04:56:32 PDT 2002
>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:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: crawdad+fbsd@gungnir.fnal.gov
Cc: FreeBSD-gnats-submit@freebsd.org,
	yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: i386/11979: Vaio 505DX touchpad not detected as GlidePoint 
Date: Wed, 02 Jun 1999 10:38:00 +0900

 >>Number:         11979
 >>Category:       i386
 >>Synopsis:       Vaio 505DX touchpad not detected as GlidePoint
 >>Confidential:   no
 >>Severity:       non-critical
 >>Priority:       low
 >>Responsible:    freebsd-bugs
 [...]
 >>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:3
 >7: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
 
 The built-in pad on Sony VAIO is not detected as GlidePoint, because
 it is NOT one of GlidePoint models from ALPS.
 
 VAIO's pad is, AFAIK, VersaPad from Advanced Technolgy.  Its
 identification procedure and its native protocol is totally different
 from GlidePoint's.
 
 The work is in progress to add VersaPad support to the psm driver.
 
 Kazu
 
 
 

From: "Matt Crawford" <crawdad@fnal.gov>
To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: i386/11979: Vaio 505DX touchpad not detected as GlidePoint 
Date: Wed, 02 Jun 1999 08:49:44 -0500

 > The built-in pad on Sony VAIO is not detected as GlidePoint, because
 > it is NOT one of GlidePoint models from ALPS.
 > 
 > VAIO's pad is, AFAIK, VersaPad from Advanced Technolgy.  Its
 > identification procedure and its native protocol is totally different
 > from GlidePoint's.
 > 
 > The work is in progress to add VersaPad support to the psm driver.
 > 
 > Kazu
 
 Are you sure this information is correct for the model Z505DX?
 Because the pre-installed Windows98 has the following to say about
 the touchpad.  I could imagine that Win98 mis-identifies the device,
 but note that the last two drivers listed come from Alps!
 
     Alps GlidePoint
     Mouse
     Registry Key:          HKEY_LOCAL_MACHINE\enum\BIOS\*PNP0F13\14
     Alloc resources:       Logical Configuration 0
     IRQ:                   12 Mask: x0000
     Forced resources:      None
     Boot resources:        Logical Configuration 0
     IRQ:                   12 Mask: x0000
     Filtered resources:    Logical Configuration 0
     IRQ:                   0 Mask: x1000
     Basic resources:       Logical Configuration 0
     IRQ:                   0 Mask: x1000
     Driver:                Mouse\0000
     Driver Date:            2-14-1999
     Driver:                msmouse.vxd
                            File Size: 15809 (0x3DC1)
                            File Date: 5/11/1998 8:1 AM
                            Company Name: Microsoft Corporation
                            File Version: 4.10.1998
     Driver:                mouse.drv
                            File Size: 7712 (0x1E20)
                            File Date: 5/11/1998 8:1 AM
                            Company Name: Microsoft Corporation
                            File Version: 9.01.0.000
     Driver:                ElProp.dll
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                EzAuto.dll
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Apwheel.exe
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Apointjp.pop
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Apwheel.dll
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                EzLaunch.dll
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Apoint.dll
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Ezcapt.exe
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Apoint.exe
                            File Size: Driver Not Installed
                            File Date: Driver Not Installed
     Driver:                Vxdif.dll
                            File Size: 29184 (0x7200)
                            File Date: 1/31/1999 8:36 AM
                            Company Name: Alps Electric Co., Ltd.
                            File Version: 4.5.1.27
     Driver:                Apoint.vxd
                            File Size: 32025 (0x7D19)
                            File Date: 2/12/1999 1:15 PM
                            Company Name: Alps Electric Co.,Ltd.
                            File Version: 4.5.1.67
 

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: "Matt Crawford" <crawdad@fnal.gov>
Cc: FreeBSD-gnats-submit@freebsd.org,
	yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: i386/11979: Vaio 505DX touchpad not detected as GlidePoint 
Date: Wed, 02 Jun 1999 23:55:10 +0900

 >> The built-in pad on Sony VAIO is not detected as GlidePoint, because
 >> it is NOT one of GlidePoint models from ALPS.
 >> 
 >> VAIO's pad is, AFAIK, VersaPad from Advanced Technolgy.  Its
                                        ~~~~~~~~~~~~~~~~~~
 I was wrong; it is InterLink Electronics.
 
 >> identification procedure and its native protocol is totally different
 >> from GlidePoint's.
 >> 
 >> The work is in progress to add VersaPad support to the psm driver.
 >> 
 >> Kazu
 >
 >Are you sure this information is correct for the model Z505DX?
 >Because the pre-installed Windows98 has the following to say about
 >the touchpad.  I could imagine that Win98 mis-identifies the device,
 >but note that the last two drivers listed come from Alps!
 >
 >    Alps GlidePoint
 >    Mouse
 >    Registry Key:          HKEY_LOCAL_MACHINE\enum\BIOS\*PNP0F13\14
 >    Alloc resources:       Logical Configuration 0
 [...]
 
 This is very interesting!
 
 But, I am not yet very convinced that the data sequence 53 02 14 is
 the indication of GlidePoint.
 
 Are you very sure that the pad on Z505DX is a GlidePoint?  Is there
 any VAIO's manual or doc identifying this pad as GlidePoint?
 
 Does it behave like GlidePoint?  You can verify this by doing the
 following:
 
 1. Boot the kernel with our patch.
 2. Become root and kill `moused' if it is running.
 3. Run `moused' in the debug mode as follows:
 
 	moused -d -f -p /dev/psm0 -l 2
 
 4. `Tap' the surface of the pad.  If this action is reported as 
    the button 4, the device is acting like GlidePoint.  
 5. Hit ^C to stop moused.
 
 ALPS has produced various models of GlidePoint and there are some
 GlidePoint models which do NOT report `tap' action as the button 4.
 These models are not recognized as GlidePoint by the psm driver,
 because they behave like ordinary two or three button mice and require
 no special handling.
 
 (The models which report `tap' as the button 4 DO require special
 treatment to detect the button 4.)
 
 BTW, I am very positive that VAIO 505GX, 505RX (and possibly other
 models) come with VersaPad.
 
 Kazu
 

From: "Matt Crawford" <crawdad@fnal.gov>
To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: i386/11979: Vaio 505DX touchpad not detected as GlidePoint 
Date: Wed, 02 Jun 1999 13:46:24 -0500

 > 3. Run `moused' in the debug mode as follows:
 > 	moused -d -f -p /dev/psm0 -l 2
 > 4. `Tap' the surface of the pad.  If this action is reported as 
 >    the button 4, the device is acting like GlidePoint.  
 
 It reports button 1.  But it is communicating with three-byte packets
 from psm0.  When moused starts as part of normal boot, it reports
 "moused: mouse type mismatch (ps/2 != glidepoint), ps/2 is assumed".  
 This looks like some high weirdness between the driver and moused.
 But I'm *positive* that the device is an ALPS glidepoint, because I
 found the Windows driver installation kit and .INF file, and the
 pen-input programs.
 				Matt
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Jan 20 09:58:21 PST 2002 
State-Changed-Why:  

Does this problem still exist? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11979 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Jun 2 04:56:14 PDT 2002 
State-Changed-Why:  

Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11979 
>Unformatted:
