PSM_HOOKAPM is obsolete; it was renamed to PSM_HOOKRESUME in
psm.c rev.1.21.
This commit is contained in:
parent
e17b116645
commit
ff7c3442a1
@ -34,7 +34,7 @@
|
|||||||
.Nd
|
.Nd
|
||||||
PS/2 mouse style pointing device driver
|
PS/2 mouse style pointing device driver
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Cd "options PSM_HOOKAPM"
|
.Cd "options PSM_HOOKRESUME"
|
||||||
.Cd "options PSM_RESETAFTERSUSPEND"
|
.Cd "options PSM_RESETAFTERSUSPEND"
|
||||||
.Cd "options KBD_RESETDELAY=N"
|
.Cd "options KBD_RESETDELAY=N"
|
||||||
.Cd "options KBD_MAXWAIT=N"
|
.Cd "options KBD_MAXWAIT=N"
|
||||||
@ -191,7 +191,7 @@ driver.
|
|||||||
They may be set in the kernel configuration file
|
They may be set in the kernel configuration file
|
||||||
.Pq see Xr config 8 .
|
.Pq see Xr config 8 .
|
||||||
.Bl -tag -width MOUSE
|
.Bl -tag -width MOUSE
|
||||||
.It Em PSM_HOOKAPM
|
.It Em PSM_HOOKRESUME
|
||||||
The built-in PS/2 pointing device of some laptop computers is somehow
|
The built-in PS/2 pointing device of some laptop computers is somehow
|
||||||
not operable immediately after the system `resumes' from
|
not operable immediately after the system `resumes' from
|
||||||
the power saving mode,
|
the power saving mode,
|
||||||
@ -202,15 +202,15 @@ waking up the device quickly. This option will add a piece of code
|
|||||||
to the
|
to the
|
||||||
.Nm
|
.Nm
|
||||||
driver to hook
|
driver to hook
|
||||||
the APM `resume' event and exercise some harmless I/O operations to the
|
the `resume' event and exercise some harmless I/O operations to the
|
||||||
device.
|
device.
|
||||||
.It Em PSM_RESETAFTERSUSPEND
|
.It Em PSM_RESETAFTERSUSPEND
|
||||||
This option adds more drastic action for the above problem.
|
This option adds more drastic action for the above problem.
|
||||||
It will make the
|
It will make the
|
||||||
.Nm
|
.Nm
|
||||||
driver to reset the pointing device after the APM resume event.
|
driver to reset the pointing device after the resume event.
|
||||||
It has no effect unless the
|
It has no effect unless the
|
||||||
.Em PSM_HOOKAPM
|
.Em PSM_HOOKRESUME
|
||||||
option is enabled as well.
|
option is enabled as well.
|
||||||
.It Em KBD_RESETDELAY=X, KBD_MAXWAIT=Y
|
.It Em KBD_RESETDELAY=X, KBD_MAXWAIT=Y
|
||||||
The
|
The
|
||||||
@ -600,7 +600,7 @@ movement counts as described in
|
|||||||
.Em devfs .
|
.Em devfs .
|
||||||
.El
|
.El
|
||||||
.Sh EXAMPLE
|
.Sh EXAMPLE
|
||||||
.Dl "options PSM_HOOKAPM"
|
.Dl "options PSM_HOOKRESUME"
|
||||||
.Dl "device psm0 at atkbdc? irq 12"
|
.Dl "device psm0 at atkbdc? irq 12"
|
||||||
.Pp
|
.Pp
|
||||||
Add the
|
Add the
|
||||||
@ -720,7 +720,7 @@ and Interlink VersaPad, treat the tapping action
|
|||||||
as fourth button events.
|
as fourth button events.
|
||||||
.Pp
|
.Pp
|
||||||
It is reported that Interlink VersaPad rquires both
|
It is reported that Interlink VersaPad rquires both
|
||||||
.Em PSM_HOOKAPM
|
.Em PSM_HOOKRESUME
|
||||||
and
|
and
|
||||||
.Em PSM_RESETAFTERSUSPEND
|
.Em PSM_RESETAFTERSUSPEND
|
||||||
options in order to recover from suspended state.
|
options in order to recover from suspended state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user