summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-05-20 18:22:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-05-20 18:22:34 +0000
commitae4392e18d464ca5c9974696dfc309c032c0830c (patch)
tree7b7ddb329ff1c5e9062099a6d93d1211543e3a3e /share/man
parentc18b8a1b0101be40280a8fa45d190b4d7dfa3dba (diff)
Add code to attach sun mice on sparc and sparc64 as wsmouse devices. Since
not all Sun mice run at the canonical 1200 bps, hop between 1200, 4800 and 9600 bps by paying attention to breaks on the line. Attachement and engine code written 7 years ago for OpenBSD/sparc, except for sparc64 com(4) attachment. Speed hop idea borrowed from Opensolaris. This allows sparc and sparc64 users to run X11 without needing a configuration file anymore, as it was in the XFree86 3.x days. Multihead configurations will still need a minimal configuration file, though.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/man4.sparc/Makefile4
-rw-r--r--share/man/man4/man4.sparc/zs.411
-rw-r--r--share/man/man4/man4.sparc64/Makefile6
-rw-r--r--share/man/man4/man4.sparc64/comkbd.45
-rw-r--r--share/man/man4/man4.sparc64/comms.436
-rw-r--r--share/man/man4/man4.sparc64/ebus.46
-rw-r--r--share/man/man4/man4.sparc64/zs.411
7 files changed, 66 insertions, 13 deletions
diff --git a/share/man/man4/man4.sparc/Makefile b/share/man/man4/man4.sparc/Makefile
index 226c9c8099e..7534f5f17ef 100644
--- a/share/man/man4/man4.sparc/Makefile
+++ b/share/man/man4/man4.sparc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.42 2005/03/09 18:58:52 miod Exp $
+# $OpenBSD: Makefile,v 1.43 2009/05/20 18:22:32 miod Exp $
# from: @(#)Makefile 8.2 (Berkeley) 2/16/94
MAN= agten.4 audioamd.4 audiocs.4 autoconf.4 auxreg.4 be.4 bpp.4 bwtwo.4 \
@@ -12,7 +12,7 @@ MLINKS= clock.4 oclock.4 \
le.4 lebuffer.4 le.4 ledma.4 \
mem.4 kmem.4 \
pninek.4 btcham.4 \
- zs.4 zskbd.4 zs.4 zstty.4
+ zs.4 zskbd.4 zs.4 zsms.4 zs.4 zstty.4
MANSUBDIR=sparc
diff --git a/share/man/man4/man4.sparc/zs.4 b/share/man/man4/man4.sparc/zs.4
index 124643e1774..8d95d87ba68 100644
--- a/share/man/man4/man4.sparc/zs.4
+++ b/share/man/man4/man4.sparc/zs.4
@@ -1,10 +1,10 @@
-.\" $OpenBSD: zs.4,v 1.19 2007/05/31 19:19:56 jmc Exp $
+.\" $OpenBSD: zs.4,v 1.20 2009/05/20 18:22:32 miod Exp $
.\"
.\" Copyright (c) 1998, 2002 The OpenBSD Project
.\" All rights reserved.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: May 20 2009 $
.Dt ZS 4 sparc
.Os
.Sh NAME
@@ -23,6 +23,8 @@
.Cd "zstty* at zs?"
.Cd "zskbd* at zs?"
.Cd "wskbd* at zskbd?"
+.Cd "zsms* at zs?"
+.Cd "wsmouse* at zsms?"
.Cd "option SUNKBD_LAYOUT=XXX"
.Cd "option SUNKBD5_LAYOUT=XXX"
.Sh DESCRIPTION
@@ -41,6 +43,10 @@ The
.Nm zskbd
devices connect keyboard devices to the generic keyboard driver
.Nm wskbd .
+The
+.Nm zsms
+devices connect mice to the generic mouse driver
+.Nm wsmouse .
The remaining additional
.Nm zs
interfaces provide RS-423
@@ -154,6 +160,7 @@ option SUNKBD5_LAYOUT="KB_DE"
.Xr intro 4 ,
.Xr tty 4 ,
.Xr wskbd 4 ,
+.Xr wsmouse 4 ,
.Xr wsconsctl 8
.Sh HISTORY
The
diff --git a/share/man/man4/man4.sparc64/Makefile b/share/man/man4/man4.sparc64/Makefile
index 074c3f203af..a46d4360cfe 100644
--- a/share/man/man4/man4.sparc64/Makefile
+++ b/share/man/man4/man4.sparc64/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.72 2009/05/12 18:01:08 kettenis Exp $
+# $OpenBSD: Makefile,v 1.73 2009/05/20 18:22:32 miod Exp $
MAN= agten.4 apio.4 asio.4 audioce.4 audiocs.4 autoconf.4 auxio.4 \
bbc.4 be.4 beeper.4 bpp.4 bwtwo.4 cbus.4 central.4 cgsix.4 cgthree.4 \
- cgtwelve.4 clkbrd.4 clock.4 cmp.4 comkbd.4 core.4 creator.4 \
+ cgtwelve.4 clkbrd.4 clock.4 cmp.4 comkbd.4 comms.4 core.4 creator.4 \
ebus.4 ecadc.4 environ.4 esp.4 fhc.4 ifb.4 intro.4 le.4 led.4 \
magma.4 mem.4 mgx.4 openprom.4 \
pcons.4 pmc.4 power.4 ppm.4 prtc.4 psycho.4 pyro.4 qe.4 qec.4 \
@@ -17,7 +17,7 @@ MLINKS= beeper.4 beep.4 \
mem.4 kmem.4 \
sab.4 sabtty.4 \
vcc.4 vcctty.4 \
- zs.4 zstty.4 zs.4 zskbd.4
+ zs.4 zskbd.4 zs.4 zsms.4 zs.4 zstty.4
MANSUBDIR=sparc64
.include <bsd.prog.mk>
diff --git a/share/man/man4/man4.sparc64/comkbd.4 b/share/man/man4/man4.sparc64/comkbd.4
index f8cb974476c..8637cb0119f 100644
--- a/share/man/man4/man4.sparc64/comkbd.4
+++ b/share/man/man4/man4.sparc64/comkbd.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: comkbd.4,v 1.7 2007/05/31 19:19:57 jmc Exp $
+.\" $OpenBSD: comkbd.4,v 1.8 2009/05/20 18:22:32 miod Exp $
.\"
.\" Copyright (c) 2002 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: May 20 2009 $
.Dt COMKBD 4 sparc64
.Os
.Sh NAME
@@ -44,6 +44,7 @@ UART (normally supported by the
driver).
.Sh SEE ALSO
.Xr com 4 ,
+.Xr comms 4 ,
.Xr ebus 4 ,
.Xr intro 4 ,
.Xr wskbd 4
diff --git a/share/man/man4/man4.sparc64/comms.4 b/share/man/man4/man4.sparc64/comms.4
new file mode 100644
index 00000000000..d0627798985
--- /dev/null
+++ b/share/man/man4/man4.sparc64/comms.4
@@ -0,0 +1,36 @@
+.\" $OpenBSD: comms.4,v 1.1 2009/05/20 18:22:32 miod Exp $
+.\"
+.\" Copyright (c) 2009 Miodrag Vallat.
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.Dd $Mdocdate: May 20 2009 $
+.Dt COMMS 4 sparc64
+.Os
+.Sh NAME
+.Nm comms
+.Nd serial mouse driver
+.Sh SYNOPSIS
+.Cd "comms* at ebus?"
+.Cd "wsmouse* at comms?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for Sun serial mice, connected to
+.Nm comkbd
+serial keyboards.
+.Sh SEE ALSO
+.Xr com 4 ,
+.Xr comkbd 4 ,
+.Xr ebus 4 ,
+.Xr intro 4 ,
+.Xr wsmouse 4
diff --git a/share/man/man4/man4.sparc64/ebus.4 b/share/man/man4/man4.sparc64/ebus.4
index 78ce3a9ba9b..37ba99eef18 100644
--- a/share/man/man4/man4.sparc64/ebus.4
+++ b/share/man/man4/man4.sparc64/ebus.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ebus.4,v 1.18 2009/02/19 11:14:54 jmc Exp $
+.\" $OpenBSD: ebus.4,v 1.19 2009/05/20 18:22:32 miod Exp $
.\" $NetBSD: ebus.4,v 1.3 2002/03/13 21:42:20 wiz Exp $
.\"
.\" Copyright (c) 1999 Matthew R. Green
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 19 2009 $
+.Dd $Mdocdate: May 20 2009 $
.Dt EBUS 4 sparc64
.Os
.Sh NAME
@@ -71,6 +71,8 @@ Real-time clock
serial communications interface
.It Xr comkbd 4
serial keyboard driver
+.It Xr comms 4
+serial mouse driver
.It Xr led 4
SPARC64 LED driver
.It Xr lpt 4
diff --git a/share/man/man4/man4.sparc64/zs.4 b/share/man/man4/man4.sparc64/zs.4
index 42f9bb8d612..7aefe4a75f3 100644
--- a/share/man/man4/man4.sparc64/zs.4
+++ b/share/man/man4/man4.sparc64/zs.4
@@ -1,10 +1,10 @@
-.\" $OpenBSD: zs.4,v 1.14 2007/05/31 19:19:57 jmc Exp $
+.\" $OpenBSD: zs.4,v 1.15 2009/05/20 18:22:32 miod Exp $
.\"
.\" Copyright (c) 1998, 2002 The OpenBSD Project
.\" All rights reserved.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: May 20 2009 $
.Dt ZS 4 sparc64
.Os
.Sh NAME
@@ -16,6 +16,8 @@
.Cd "zstty* at zs?"
.Cd "zskbd* at zs?"
.Cd "wskbd* at zskbd?"
+.Cd "zsms* at zs?"
+.Cd "wsmouse* at zsms?"
.Cd "option SUNKBD_LAYOUT=XXX"
.Cd "option SUNKBD5_LAYOUT=XXX"
.Sh DESCRIPTION
@@ -34,6 +36,10 @@ The
.Nm zskbd
devices connect keyboard devices to the generic keyboard driver
.Nm wskbd .
+The
+.Nm zsms
+devices connect mice to the generic mouse driver
+.Nm wsmouse .
The remaining additional
.Nm zs
interfaces provide RS-423
@@ -149,6 +155,7 @@ option SUNKBD5_LAYOUT="KB_DE"
.Xr sbus 4 ,
.Xr tty 4 ,
.Xr wskbd 4 ,
+.Xr wsmouse 4 ,
.Xr wsconsctl 8
.Sh HISTORY
The