diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-12-21 23:12:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-12-21 23:12:04 +0000 |
commit | b909aca3812a992bda13f97d82c90b08658053d4 (patch) | |
tree | 948fa1cd2ddb9858d8ffd5ba76fe4f2da1324ab1 /share | |
parent | 2348e0f29912799f5958c0165d793b37c57131a2 (diff) |
Work-in-progress driver for the HP ``Audio1'' device found on the HP 9000/425e
(hp300) and the HP9000/705 and 9000/710 (hppa). 8-bit mono, 8KHz, no surprise
since it is based upon a digital phone chip.
Tested on 425e only so far, and playback only; configured in, but disabled,
on hppa kernels until there are positive test reports (I am not sure the
interrupt assignment on hppa is correct).
And now people no longer can joke about audio on hp300.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/Makefile | 4 | ||||
-rw-r--r-- | share/man/man4/arcofi.4 | 63 | ||||
-rw-r--r-- | share/man/man4/man4.hp300/dio.4 | 9 | ||||
-rw-r--r-- | share/man/man4/man4.hp300/intro.4 | 6 | ||||
-rw-r--r-- | share/man/man4/man4.hppa/gsc.4 | 6 |
5 files changed, 80 insertions, 8 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index f3ce3afd0ca..34c40460325 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.530 2011/10/06 20:49:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.531 2011/12/21 23:12:02 miod Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \ @@ -9,7 +9,7 @@ MAN= aac.4 ac97.4 acphy.4 \ admtm.4 admtmp.4 admtt.4 adt.4 adtfsm.4 adv.4 age.4 alc.4 ale.4 agp.4 \ aha.4 ahb.4 ahc.4 ahci.4 ahd.4 aibs.4 aic.4 \ akbd.4 alipm.4 amas.4 amdiic.4 amdpm.4 ami.4 amphy.4 \ - ams.4 an.4 andl.4 aps.4 arc.4 art.4 \ + ams.4 an.4 andl.4 aps.4 arc.4 arcofi.4 art.4 \ asbtm.4 ast.4 atapiscsi.4 atphy.4 ath.4 athn.4 atu.4 atw.4 \ auacer.4 audio.4 \ aue.4 auglx.4 auich.4 auixp.4 autri.4 auvia.4 axe.4 az.4 azalia.4 \ diff --git a/share/man/man4/arcofi.4 b/share/man/man4/arcofi.4 new file mode 100644 index 00000000000..1fb97725f3c --- /dev/null +++ b/share/man/man4/arcofi.4 @@ -0,0 +1,63 @@ +.\" $OpenBSD: arcofi.4,v 1.1 2011/12/21 23:12:02 miod Exp $ +.\" +.\" +.\" Copyright (c) 2011 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: December 21 2011 $ +.Dt ARCOFI 4 +.Os +.Sh NAME +.Nm arcofi +.Nd Siemens PSB2160 audio codec +.Sh SYNOPSIS +.Cd "arcofi* at dio?" +.Cd "arcofi* at gsc?" +.Cd "audio* at arcofi?" +.Sh DESCRIPTION +The +.Nm +driver supports the HP +.Dq Audio1 +audio devices, based upon the Siemens PSB2160 +.Dq ARCOFI +codec, to implement the audio device interface described in +.Xr audio 4 . +.Pp +This device is found onboard HP 9000 workstations models 425e, 705 and 710. +.Pp +The +.Nm +is limited to a phone-quality mono, 8 bits, 8000 KHz sound. +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr audio 4 , +.Xr dio 4 , +.Xr gsc 4 +.Xr intro 4 +.Sh HISTORY +.Ox +support for +.Nm +first appeared in +.Ox 5.1 . +.Sh CAVEATS +Due to the +.Dq ARCOFI +chip being designed to build phones, it is not possible to unmute the +.Sq line in +channel while muting +.Em all +output channels. +Attempting to do this will cause all channels (input and output) to be unmuted. diff --git a/share/man/man4/man4.hp300/dio.4 b/share/man/man4/man4.hp300/dio.4 index dce0e8cb616..38e3640fa5b 100644 --- a/share/man/man4/man4.hp300/dio.4 +++ b/share/man/man4/man4.hp300/dio.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dio.4,v 1.10 2011/08/18 20:02:57 miod Exp $ +.\" $OpenBSD: dio.4,v 1.11 2011/12/21 23:12:03 miod Exp $ .\" $NetBSD: dio.4,v 1.2 2002/01/15 01:31:30 wiz Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 18 2011 $ +.Dd $Mdocdate: December 21 2011 $ .Dt DIO 4 hp300 .Os .Sh NAME @@ -108,6 +108,11 @@ HP-IB interface .It Xr spc 4 HP 98658 SCSI host adaptor .El +.Ss Audio interfaces +.Bl -tag -width XXXXXX_4_ -offset indent -compact +.It Xr arcofi 4 +Siemens PSB2160 audio codec +.El .Sh SEE ALSO .Xr intro 4 , .Xr sgc 4 diff --git a/share/man/man4/man4.hp300/intro.4 b/share/man/man4/man4.hp300/intro.4 index b2d30652104..246d4c9a00c 100644 --- a/share/man/man4/man4.hp300/intro.4 +++ b/share/man/man4/man4.hp300/intro.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.4,v 1.30 2008/04/01 14:22:28 jmc Exp $ +.\" $OpenBSD: intro.4,v 1.31 2011/12/21 23:12:03 miod Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)intro.4 8.1 (Berkeley) 6/5/93 .\" -.Dd $Mdocdate: April 1 2008 $ +.Dd $Mdocdate: December 21 2011 $ .Dt INTRO 4 hp300 .Os .Sh NAME @@ -107,6 +107,8 @@ drives. .Bl -tag -width 10n -compact -offset indent .It Xr apci 4 Apollo utility chip serial communications interface +.It Xr arcofi 4 +Siemens PSB2160 audio codec .It Xr \&ct 4 CS/80 cartridge tape interface .It Xr dca 4 diff --git a/share/man/man4/man4.hppa/gsc.4 b/share/man/man4/man4.hppa/gsc.4 index 38aaaa685c6..b441fe052c6 100644 --- a/share/man/man4/man4.hppa/gsc.4 +++ b/share/man/man4/man4.hppa/gsc.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gsc.4,v 1.26 2007/06/21 09:43:40 jmc Exp $ +.\" $OpenBSD: gsc.4,v 1.27 2011/12/21 23:12:03 miod Exp $ .\" .\" .\" Copyright (c) 1999 Michael Shalayeff @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 21 2007 $ +.Dd $Mdocdate: December 21 2011 $ .Dt GSC 4 hppa .Os .Sh NAME @@ -64,6 +64,8 @@ the performance of the whole I/O-subsystem. provides support for the following devices: .Pp .Bl -tag -width 12n -offset indent -compact +.It Xr arcofi 4 +Siemens PSB2160 audio codec .It Xr com 4 serial communications interface .It Xr gsckbc 4 |