Deleted Added
full compact
psm.4 (81251) psm.4 (84877)
1.\"
2.\" Copyright (c) 1997
3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
1.\"
2.\" Copyright (c) 1997
3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\" $FreeBSD: head/share/man/man4/psm.4 81251 2001-08-07 15:48:51Z ru $
27.\" $FreeBSD: head/share/man/man4/psm.4 84877 2001-10-13 09:08:37Z yokota $
28.\"
29.Dd April 1, 2000
30.Dt PSM 4
31.Os
32.Sh NAME
33.Nm psm
34.Nd PS/2 mouse style pointing device driver
35.Sh SYNOPSIS
36.Cd "options KBD_RESETDELAY=N"
37.Cd "options KBD_MAXWAIT=N"
38.Cd "options PSM_DEBUG=N"
39.Cd "options KBDIO_DEBUG=N"
28.\"
29.Dd April 1, 2000
30.Dt PSM 4
31.Os
32.Sh NAME
33.Nm psm
34.Nd PS/2 mouse style pointing device driver
35.Sh SYNOPSIS
36.Cd "options KBD_RESETDELAY=N"
37.Cd "options KBD_MAXWAIT=N"
38.Cd "options PSM_DEBUG=N"
39.Cd "options KBDIO_DEBUG=N"
40.Cd "device psm0 at atkbdc? irq 12"
40.Cd "device psm"
41.Pp
42In
43.Pa /boot/device.hints :
44.Cd hint.psm.0.at="atkbdc"
45.Cd hint.psm.0.irq="12"
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for the PS/2 mouse style pointing device.
45Currently there can be only one
46.Nm
47device node in the system.
48As the PS/2 mouse port is located

--- 176 unchanged lines hidden (view full) ---

225See
226.Sx DIAGNOSTICS
227for debug logging.
228.El
229.Ss Driver Flags
230The
231.Nm
232driver accepts the following driver flags.
46.Sh DESCRIPTION
47The
48.Nm
49driver provides support for the PS/2 mouse style pointing device.
50Currently there can be only one
51.Nm
52device node in the system.
53As the PS/2 mouse port is located

--- 176 unchanged lines hidden (view full) ---

230See
231.Sx DIAGNOSTICS
232for debug logging.
233.El
234.Ss Driver Flags
235The
236.Nm
237driver accepts the following driver flags.
233Set them in the
234kernel configuration file or in the User Configuration Menu at
235the boot time
238Set them in
239.Pa /boot/device.hints
236(see
240(see
237.Xr boot 8 ) .
241.Sx EXAMPLES
242below).
238.Pp
239.Bl -tag -width MOUSE
240.It bit 0..3 RESOLUTION
241This flag specifies the resolution of the pointing device.
242It must be zero through four.
243The greater the value
244is, the finer resolution the device will select.
245Actual resolution selected by this field varies according to the model

--- 376 unchanged lines hidden (view full) ---

622.Bl -tag -width /dev/npsm0 -compact
623.It Pa /dev/psm0
624`non-blocking' device node
625.It Pa /dev/bpsm0
626`blocking' device node under
627.Em devfs .
628.El
629.Sh EXAMPLES
243.Pp
244.Bl -tag -width MOUSE
245.It bit 0..3 RESOLUTION
246This flag specifies the resolution of the pointing device.
247It must be zero through four.
248The greater the value
249is, the finer resolution the device will select.
250Actual resolution selected by this field varies according to the model

--- 376 unchanged lines hidden (view full) ---

627.Bl -tag -width /dev/npsm0 -compact
628.It Pa /dev/psm0
629`non-blocking' device node
630.It Pa /dev/bpsm0
631`blocking' device node under
632.Em devfs .
633.El
634.Sh EXAMPLES
630.Dl "device psm0 at atkbdc? irq 12 flags 0x2000"
631.Pp
632Add the
635In order to install the
633.Nm
636.Nm
634driver to the kernel with the optional code to stimulate the pointing device
637driver, you need to add
638.Pp
639.Dl "device atkbdc"
640.Dl "device psm"
641.Pp
642to your kernel configuration file, and put the following lines to
643.Pa /boot/device.hints .
644.Pp
645.Dl hint.atkbdc.0.at="isa"
646.Dl hint.atkbdc.0.port="0x060"
647.Dl hint.psm.0.at="atkbdc"
648.Dl hint.psm.0.irq="12"
649.Pp
650If you add the following statement to
651.Pa /boot/device.hints ,
652.Pp
653.Dl hint.psm.0.flags="0x2000"
654.Pp
655you will add the optional code to stimulate the pointing device
635after the `resume' event.
636.Pp
656after the `resume' event.
657.Pp
637.Dl "device psm0 at atkbdc? flags 0x024 irq 12"
658.Dl hint.psm.0.flags="0x24"
638.Pp
659.Pp
639Set the device resolution high (4) and the acceleration factor to 2.
660The above line will set the device resolution high (4)
661and the acceleration factor to 2.
640.Sh DIAGNOSTICS
641At debug level 0, little information is logged except for the following
642line during boot process:
643.Bd -literal -offset indent
644psm0: device ID X
645.Ed
646.Pp
647where

--- 158 unchanged lines hidden ---
662.Sh DIAGNOSTICS
663At debug level 0, little information is logged except for the following
664line during boot process:
665.Bd -literal -offset indent
666psm0: device ID X
667.Ed
668.Pp
669where

--- 158 unchanged lines hidden ---