Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 16:52:18 -0700 (PDT)
From:      Doug Burks <dbx@atmos.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        dbx@atmos.washington.edu
Subject:   kern/7983: Tapping the touchpad does not work
Message-ID:  <Pine.FSD.3.96.980918165120.392A-100000@hello.atmos.washington.edu>

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

>Number:         7983
>Category:       kern
>Synopsis:       Tapping the touchpad does not work
>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:   Fri Sep 18 17:00:00 PDT 1998
>Last-Modified:
>Originator:     Doug Burks
>Organization:
Dept of Atmospheric Sciences, University of Washington
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

NEC Versa 5060X laptop running X11 (either Accelerated X v4.1 and stock
XFree86-3.3.2p2).  The kernel is custom, but nothing more than stripping
out unneeded stuff from GENERIC and adding the laptop specific items.
The mouse is on "psm0".

>Description:

One nice feature of a touchpad is that a simple tap of the pad translates
to a left mouse click.  This worked under FreeBSD 2.2.5, but no longer
works under FreeBSD 2.2.7.  Also the tap works for a touchpad connected
to a serial port under 2.2.7, unlike this PS/2 bus mouse port.

>How-To-Repeat:

Simply try it.  I have no idea what range of touchpads fail.

>Fix:
	
Looking through /usr/src/sys/i386/isa/psm.c, the problem is that this
mouse is recognized as a generic PS/2 mouse, and thus is not recognized
as a touchpad which supports tapping.  Thus the returned tap code is
not recognized, not handled, and not returned.  The following (unfortu-
nately reverse) patch fixes the problem on my laptop.

*** /usr/src/sys/i386/isa/psm.c	Thu Sep 17 10:43:03 1998
--- /usr/src/sys/i386/isa/psm.c--	Thu Sep 17 10:42:48 1998
***************
*** 1770,1779 ****
  	    break;
  
  	case MOUSE_MODEL_GENERIC:
- 	    /* `tapping' action */
- 	    ms.button |= ((c & MOUSE_PS2_TAP)) ? 0 : MOUSE_BUTTON4DOWN;
- 	    break;
- 
  	default:
  	    break;
  	}
--- 1770,1775 ----

Unfortunately, this looks more like a workaround than a true fix, and I
have no idea how it will affect non-touchpad PS/2 mice.  A true fix re-
quires recognizing the full range of touchpads available, beyond my cur-
rent knowledge, even for the one on my laptop!  I hope that this will
spur the maintainer to handle this admittedly minor problem (though ma-
jor inconvenience.  I felt lost without tapping!) more correctly.

Doug Burks
dbx@atmos.washington.edu

>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?Pine.FSD.3.96.980918165120.392A-100000>