xref: /openbsd/share/man/man4/man4.macppc/adb.4 (revision 76d0caae)
1.\" $OpenBSD: adb.4,v 1.20 2015/01/15 20:37:36 schwarze Exp $
2.\"
3.\" Copyright (c) 2001 Peter Philipp
4.\" Copyright (c) 1997 Colin Wood
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\" 3. All advertising materials mentioning features or use of this software
16.\"    must display the following acknowledgement:
17.\"      This product includes software developed by Colin Wood
18.\"      for the NetBSD Project.
19.\" 4. The name of the author may not be used to endorse or promote products
20.\"    derived from this software without specific prior written permission
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.Dd $Mdocdate: January 15 2015 $
34.Dt ADB 4 macppc
35.Os
36.Sh NAME
37.Nm adb
38.Nd introduction to Apple Desktop Bus support
39.Sh SYNOPSIS
40.Cd "adb0 at macobio?"
41.Cd "abtn* at adb?"
42.Cd "akbd* at adb?"
43.Cd "ams* at adb?"
44.Cd "apm0 at adb?"
45.Cd "piic0 at adb?"
46.Sh DESCRIPTION
47The Apple Desktop Bus
48.Pq Tn ADB
49is the single-master, multiple-slave, low-speed serial bus
50interface used by Macintosh computers to connect input devices
51such as keyboards, mice, trackballs, and graphics tablets
52to the machine.
53.Pp
54Originally developed for the Mac68K port, the
55.Nm
56driver was heavily modified when it was ported to the PowerPC architecture.
57During this port it seems that the original
58.Nm
59event device was split into many smaller subsystems, namely:
60.Pp
61.Bl -enum -compact
62.It
63Apple Keyboard driver
64.Pq Xr akbd 4 .
65.It
66Apple Mouse Support driver
67.Pq Xr ams 4 .
68.El
69.Pp
70New
71.Nm
72devices such as the Apple Brightness / Volume Control Button
73.Pq Xr abtn 4 ,
74some energy control
75.Pq Xr apm 4 ,
76and I2C controller
77.Pq Xr piic 4
78were added to the PowerPC port later to complement the ADB system.
79.Pp
80.Ox
81provides support for the following devices:
82.Pp
83.Bl -tag -width "abtn(4)XX" -offset 3n -compact
84.It Xr abtn 4
85Apple brightness/volume/eject button control
86.It Xr akbd 4
87Apple Keyboard Device
88.It Xr ams 4
89Apple Mouse Support
90.It Xr apm 4
91advanced power management device interface
92.It Xr piic 4
93Apple via-pmu I2C controller
94.El
95.Sh SEE ALSO
96.Xr intro 4
97.Sh HISTORY
98The
99.Nm
100interface first appeared in
101.Nx 0.9 .
102It has been under development ever since.
103The original
104.Nm adb
105manpage was written by Colin Wood for
106.Nx Ns / Ns Mac68K.
107.Sh AUTHORS
108.An -nosplit
109Original ADB support was written by
110.An Bradley A. Grantham .
111The direct ADB routines were written by
112.An John P. Wittkoski .
113