1.\" $OpenBSD: pcppi.4,v 1.10 2008/01/26 23:07:55 jmc Exp $ 2.\" $NetBSD: pcppi.4,v 1.5 2001/10/02 20:37:00 augustss Exp $ 3.\" 4.\" Copyright (c) 1999 5.\" Matthias Drochner. 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.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.Dd $Mdocdate: January 26 2008 $ 29.Dt PCPPI 4 30.Os 31.Sh NAME 32.Nm pcppi 33.Nd PC (ISA) control and timer port driver 34.Sh SYNOPSIS 35.Cd "pcppi* at isa?" 36.Cd "spkr0 at pcppi?" 37.Cd "midi* at pcppi?" 38.Sh DESCRIPTION 39The 40.Nm 41driver handles resource allocation and device attachment for the 42ports related to the ISA speaker in the traditional PC/AT 43.Dq design . 44These are the 45.Dq system control port 46(which was implemented by the 8255 47.Dq PPI 48in the XT, hence the name of this driver) 49at I/O address 0x61 and the first 8253 timer at 0x40-0x43. 50.Pp 51The 52.Nm 53driver provides its child devices with the ability to output simple 54tones through the PC speaker. 55The 56.Xr speaker 4 57and 58.Xr midi 4 59devices use this to synthesize sounds. 60It also provides helper functions to the 61.Xr pckbd 4 62driver as a substitute for a 63.Dq keyboard beep , 64because the PC keyboard hardware doesn't provide this. 65.Sh SEE ALSO 66.Xr intro 4 , 67.Xr isa 4 , 68.Xr midi 4 , 69.Xr pckbd 4 , 70.Xr speaker 4 71