> Hi,
> I'm having trouble configuring my sound card (surprise surprise!) and
> I've been trying to use the sndconfig program after recompiling the
> kernel many times with no success. Unfortunately, the sndconfig program
> keeps giving me modprobe errors. Are there any other programs like
> sndconfig about that I could try or does this error simply mean I need
> to upgrade some packages? Any help would be much appreciated :-)
> I have an ES1868 soundcard, red hat 5.0, kernel 2.0.35.
> Thanks in advance,
> Brendan
I found the following in this newsgroup. Thank the author, it did it for
me.
==========
First run pnpdump from isapnp-tools to create a /etc/isapnp.conf .
Then you find a free IRQ, IO, DMA and uncomment these.
In the sounddriver you select the same IRQ, IO, DMA.
Then reboot with isapnp somewhere in your rc script.
Do a "modprobe sound trace_init=1" to see if the sound driver is loaded.
Then check /dev/sndstat
It should look like this, but YMMV.
===================================================
/etc/isapnp.conf:
(CONFIGURE CTL0070/-1 (LD 0
(INT 0 (IRQ 7 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0300))
(IO 2 (BASE 0x0388))
(ACT Y)
))
====================================================
Linux .config
CONFIG_SOUND=m
# CONFIG_PAS is not set
CONFIG_SB=y
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y
SBC_BASE=220
SBC_IRQ=7
SBC_DMA=1
SB_DMA2=5
SB_MPU_BASE=0300
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set
====================================================
root:~# modprobe sound trace_init=1
Sound initialization started
<Sound Blaster 16 (4.13)> at 0x220 irq 7 dma 1,5
<Sound Blaster 16> at 0x300 irq 7 dma 0
<Yamaha OPL3 FM> at 0x388
Sound initialization complete
root:~#
====================================================
root:~# cat /proc/dma
1: Sound Blaster8
4: cascade
5: Sound Blaster16
====================================================
root:~# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
0220-022f : sound blaster
02f8-02ff : serial(set)
0300-0303 : SB MIDI
0388-038b : OPL3/OPL2
03c0-03df : vga+
03e8-03ef : serial(set)
03f6-03f6 : ide0
03f8-03ff : serial(set)
b800-b87f : ncr53c7,8xx
d000-d01f : eth0
d800-d807 : IDE DMA
d808-d80f : IDE DMA
====================================================
root:~# cat /proc/interrupts
0: 106679 timer
1: 3558 keyboard
2: 0 cascade
4: 4919 + serial
7: 4 sound blaster
10: 12 + 53c7,8xx
12: 70243 eth0
13: 1 math error
14: 7387 + ide0
====================================================
root:~# cat /dev/sndstat
Sound Driver:3.5.4-960630 (Thu Sep 24 13:10:12 MET DST 1998 root,
Linux p2cw 2.0.35 #2 Thu Sep 10 01:48:33 MET DST 1998 i686 unknown)
Kernel: Linux p2cw 2.0.35 #2 Thu Sep 10 01:48:33 MET DST 1998 i686
Config options: 0
Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401
Card config:
Sound Blaster at 0x220 irq 7 drq 1,5
SB MPU-401 at 0x300 irq 7 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0
Audio devices:
0: Sound Blaster 16 (4.13)
Synth devices:
0: Yamaha OPL-3
Midi devices:
0: Sound Blaster 16
Timers:
0: System clock
Mixers:
0: Sound Blaster
====================================================