1.\" 2.\" Copyright (c) 1999 Seigo Tanimura 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\"
| 1.\" 2.\" Copyright (c) 1999 Seigo Tanimura 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\"
|
26.\" $FreeBSD: head/share/man/man4/snd_sbc.4 159748 2006-06-18 17:53:04Z brueffer $
| 26.\" $FreeBSD: head/share/man/man4/snd_sbc.4 166800 2007-02-17 10:30:00Z joel $
|
27.\"
| 27.\"
|
28.Dd December 15, 2005
| 28.Dd February 17, 2007
|
29.Dt SND_SBC 4 30.Os 31.Sh NAME
| 29.Dt SND_SBC 4 30.Os 31.Sh NAME
|
32.Nm snd_sbc
| 32.Nm snd_sbc , 33.Nm snd_sb16 , 34.Nm snd_sb8
|
33.Nd Creative Sound Blaster ISA and compatible bridge device driver 34.Sh SYNOPSIS 35To compile this driver into the kernel, place the following lines in your 36kernel configuration file: 37.Bd -ragged -offset indent 38.Cd "device sound" 39.Cd "device snd_sbc"
| 35.Nd Creative Sound Blaster ISA and compatible bridge device driver 36.Sh SYNOPSIS 37To compile this driver into the kernel, place the following lines in your 38kernel configuration file: 39.Bd -ragged -offset indent 40.Cd "device sound" 41.Cd "device snd_sbc"
|
| 42.Cd "device snd_sb16" 43.Cd "device snd_sb8"
|
40.Ed 41.Pp 42Alternatively, to load the driver as a module at boot time, place the
| 44.Ed 45.Pp 46Alternatively, to load the driver as a module at boot time, place the
|
43following line in
| 47following lines in
|
44.Xr loader.conf 5 : 45.Bd -literal -offset indent 46snd_sbc_load="YES"
| 48.Xr loader.conf 5 : 49.Bd -literal -offset indent 50snd_sbc_load="YES"
|
| 51snd_sb16_load="YES" 52snd_sb8_load="YES"
|
47.Ed 48.Pp 49Non-PnP cards require the following lines in 50.Xr device.hints 5 : 51.Bd -literal -offset indent 52hint.sbc.0.at="isa" 53hint.sbc.0.port="0x220" 54hint.sbc.0.irq="5" 55hint.sbc.0.drq="1" 56hint.sbc.0.flags="0x15" 57.Ed 58.Sh DESCRIPTION 59The 60.Nm 61bridge driver allows the generic audio driver 62.Xr sound 4
| 53.Ed 54.Pp 55Non-PnP cards require the following lines in 56.Xr device.hints 5 : 57.Bd -literal -offset indent 58hint.sbc.0.at="isa" 59hint.sbc.0.port="0x220" 60hint.sbc.0.irq="5" 61hint.sbc.0.drq="1" 62hint.sbc.0.flags="0x15" 63.Ed 64.Sh DESCRIPTION 65The 66.Nm 67bridge driver allows the generic audio driver 68.Xr sound 4
|
63to attach to Creative Sound Blaster ISA compatible audio cards.
| 69to attach to Creative Sound Blaster ISA (mostly SB8 and SB16, known as 70SoundBlaster Pro) compatible audio cards.
|
64.Pp 65The value of flags specifies the secondary DMA channel. 66If the secondary 67DMA channel is C, set the flags to (C | 0x10). 68For a sound card without the 69secondary DMA channel, the flags should be set to zero. 70.Sh HARDWARE 71The 72.Nm 73driver supports the following sound cards: 74.Pp 75.Bl -bullet -compact 76.It 77Avance Asound 110 78.It 79Avance Logic ALS100+ 80.It 81Avance Logic ALS120 82.It 83Creative SB16 84.It 85Creative SB32 86.It 87Creative AWE64 88.It 89Creative AWE64 Gold 90.It 91Creative ViBRA16C 92.It 93Creative ViBRA16X 94.It 95ESS ES1681 96.It 97ESS ES1688 98.It 99ESS ES1868 100.It 101ESS ES1869 102.It 103ESS ES1878 104.It 105ESS ES1879 106.It 107ESS ES1888 108.El 109.Sh DIAGNOSTICS 110.Bl -diag 111.It sb_dspwr(XX) timed out. 112A command to the DSP has timed out. 113Check the I/O port configuration. 114.It bad irq XX (5/7/9/10 valid) 115The IRQ given to the driver is not valid. 116.El 117.Sh SEE ALSO 118.Xr sound 4 119.Sh HISTORY 120The 121.Nm 122device driver first appeared in 123.Fx 4.0 . 124.Sh AUTHORS 125.An Seigo Tanimura Aq tanimura@r.dl.itc.u-tokyo.ac.jp
| 71.Pp 72The value of flags specifies the secondary DMA channel. 73If the secondary 74DMA channel is C, set the flags to (C | 0x10). 75For a sound card without the 76secondary DMA channel, the flags should be set to zero. 77.Sh HARDWARE 78The 79.Nm 80driver supports the following sound cards: 81.Pp 82.Bl -bullet -compact 83.It 84Avance Asound 110 85.It 86Avance Logic ALS100+ 87.It 88Avance Logic ALS120 89.It 90Creative SB16 91.It 92Creative SB32 93.It 94Creative AWE64 95.It 96Creative AWE64 Gold 97.It 98Creative ViBRA16C 99.It 100Creative ViBRA16X 101.It 102ESS ES1681 103.It 104ESS ES1688 105.It 106ESS ES1868 107.It 108ESS ES1869 109.It 110ESS ES1878 111.It 112ESS ES1879 113.It 114ESS ES1888 115.El 116.Sh DIAGNOSTICS 117.Bl -diag 118.It sb_dspwr(XX) timed out. 119A command to the DSP has timed out. 120Check the I/O port configuration. 121.It bad irq XX (5/7/9/10 valid) 122The IRQ given to the driver is not valid. 123.El 124.Sh SEE ALSO 125.Xr sound 4 126.Sh HISTORY 127The 128.Nm 129device driver first appeared in 130.Fx 4.0 . 131.Sh AUTHORS 132.An Seigo Tanimura Aq tanimura@r.dl.itc.u-tokyo.ac.jp
|