2003-05-14 16:20:01 +04:00
|
|
|
.\" $NetBSD: pms.4,v 1.15 2003/05/14 12:20:01 wiz Exp $
|
1993-08-06 14:10:55 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1993 Christopher G. Demetriou
|
|
|
|
.\" All rights reserved.
|
2001-09-12 02:52:52 +04:00
|
|
|
.\"
|
1993-08-06 14:10:55 +04:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
2000-06-14 21:24:02 +04:00
|
|
|
.\" This product includes software developed for the
|
2003-02-14 18:20:17 +03:00
|
|
|
.\" NetBSD Project. See http://www.NetBSD.org/ for
|
2000-06-14 21:24:02 +04:00
|
|
|
.\" information about NetBSD.
|
1999-04-07 00:24:37 +04:00
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
2000-06-14 21:24:02 +04:00
|
|
|
.\" derived from this software without specific prior written permission.
|
2001-09-12 02:52:52 +04:00
|
|
|
.\"
|
1993-08-06 14:10:55 +04:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2001-09-12 02:52:52 +04:00
|
|
|
.\"
|
2000-06-14 21:24:02 +04:00
|
|
|
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
|
1993-08-06 14:10:55 +04:00
|
|
|
.\"
|
2003-05-14 16:20:01 +04:00
|
|
|
.Dd May 14, 2003
|
1999-04-21 22:42:03 +04:00
|
|
|
.Dt PMS 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1993-08-06 14:10:55 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm pms
|
1997-03-12 09:18:55 +03:00
|
|
|
.Nd PS/2 auxiliary port mouse driver
|
1993-08-06 14:10:55 +04:00
|
|
|
.Sh SYNOPSIS
|
1999-04-21 22:42:03 +04:00
|
|
|
.Cd pckbc* at isa?
|
1999-01-30 20:50:36 +03:00
|
|
|
.Cd pms* at pckbc?
|
|
|
|
.Cd wsmouse* at pms?
|
2003-04-09 21:11:55 +04:00
|
|
|
.Pp
|
|
|
|
.Cd options PMS_DISABLE_POWERHOOK
|
1993-08-06 14:10:55 +04:00
|
|
|
.Sh DESCRIPTION
|
1999-04-21 22:42:03 +04:00
|
|
|
The
|
|
|
|
.Nm
|
2002-03-18 20:14:14 +03:00
|
|
|
driver provides an interface to PS/2 auxiliary port mice within the
|
1999-04-21 22:42:03 +04:00
|
|
|
.Xr wscons 4
|
|
|
|
framework. Parent device in terms of the autoconfiguration framework is
|
|
|
|
.Xr pckbc 4 ,
|
|
|
|
the PC keyboard controller.
|
|
|
|
.Dq pms
|
2002-03-18 20:14:14 +03:00
|
|
|
is a generic driver which supports mice using common variants of the PS/2
|
|
|
|
protocol, including wheel mice of the
|
1999-04-21 22:42:03 +04:00
|
|
|
.Dq IntelliMouse
|
2002-03-18 20:14:14 +03:00
|
|
|
breed. Wheel movements are mapped to a third (z-) axis. The driver is
|
|
|
|
believed to work with both 3-button and 5-button mice with scroll wheels.
|
|
|
|
Mice which use other protocol extensions are not currently supported, but
|
|
|
|
might be if protocol documentation could be found.
|
1999-01-30 20:50:36 +03:00
|
|
|
Mouse related data are accessed by
|
|
|
|
.Xr wsmouse 4
|
|
|
|
devices.
|
2002-03-18 20:14:14 +03:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver has been updated to attempt to renegotiate mouse protocol after seeing
|
|
|
|
suspicious or defective mouse protocol packets, or unusual delays in the
|
|
|
|
middle of a packet; this should improve the chances that a mouse will recover
|
|
|
|
after being switched away or reset (for instance, by a console switch).
|
2003-04-09 21:11:55 +04:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Va PMS_DISABLE_POWERHOOK
|
|
|
|
kernel option disables PS/2 reset on resume.
|
1993-08-06 14:10:55 +04:00
|
|
|
.Sh SEE ALSO
|
1999-04-21 22:42:03 +04:00
|
|
|
.Xr pckbc 4 ,
|
2001-09-22 19:58:13 +04:00
|
|
|
.Xr ums 4 ,
|
|
|
|
.Xr wsmouse 4
|
2002-03-18 20:14:14 +03:00
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was originally written by Christopher G. Demetriou. The changes to
|
|
|
|
merge the
|
|
|
|
.Dq IntelliMouse
|
|
|
|
protocol in, and reset the mouse in the event of protocol problems, were
|
|
|
|
contributed by Peter Seebach. Special thanks to Ray Trent, at Synaptics,
|
|
|
|
who contributed valuable insight into how to identify bogus mouse data.
|
2002-03-18 21:59:57 +03:00
|
|
|
.Sh BUGS
|
|
|
|
It is possible for the driver to mistakenly negotiate the non-scroll-wheel
|
|
|
|
protocol, after which it is unlikely to recover until the device is closed
|
|
|
|
and reopened.
|