1.\" $NetBSD: pcppi.4,v 1.11 2009/03/09 19:24:28 joerg Exp $ 2.\" 3.\" Copyright (c) 1999 4.\" Matthias Drochner. 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: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd March 22, 2005 28.Dt PCPPI 4 29.Os 30.Sh NAME 31.Nm pcppi 32.Nd PC (ISA) control port driver 33.Sh SYNOPSIS 34.Cd "pcppi* at acpi?" 35.Cd "pcppi* at isa?" 36.Cd "isabeep* at pcppi?" 37(alpha only) 38.Cd "sysbeep* at pcppi?" 39(i386 only) 40.Cd "spkr0 at pcppi?" 41.Cd "midi* at pcppi?" 42.Sh DESCRIPTION 43The 44.Nm 45driver handles resource allocation and device attachment for the 46ports related to the ISA speaker in the traditional PC/AT 47.Dq design . 48These are the 49.Dq system control port 50(which was implemented by the 8255 51.Dq PPI 52in the XT, hence the name of this driver) 53at IO address 0x61. 54.Pp 55When associated with an 56.Xr attimer 4 57device, it is possible to change the pitch of the sounds emitted through 58.Nm . 59.Pp 60The 61.Nm 62driver provides its child devices with the ability to output simple 63tones through the PC speaker. The 64.Xr speaker 4 65and 66.Xr midi 4 67devices use this to synthesize sounds. 68The 69.Xr isabeep 4 70and 71.Xr sysbeep 4 72devices are helpers which the 73.Xr pckbd 4 74driver uses as a substitute for a 75.Dq keyboard beep , 76because the PC keyboard hardware doesn't provide this. 77.Sh SEE ALSO 78.Xr acpi 4 , 79.Xr attimer 4 , 80.Xr isa 4 , 81.Xr midi 4 , 82.Xr pckbd 4 , 83.Xr speaker 4 84