Alsa on Dell OptiPlex GX1 (Debian/2.4.17/CS4236B)
Hello all, I am hoping you can help me with getting my sound working on
my Dell OptiPlex GX1 (CS4236B).
I am running kernel 2.4.17, and the latest stable alsa drivers as of
yesterday, on Debian.
I have compiled alsa with isapnp=yes, and compilation and install went
fine.
You will find all the data below, but here is where I am at.
First, after running /etc/init.d/alsasound start (output shown below), I
cannot open the mixer...running aumix says "error opening mixer".
However, if I "modprobe snd-mixer-oss" it works. So, the mixer thing is
my first challenge as to why it doesn't load up at first.
Second, after all is started up, I can hear the beep inmy speakers when
I hit backspace at an empty line on the console, but that is the only
audio I get. Anything else I do results in: "Cannot open /dev/dsp or
/dev/sound/dsp". Or trying to cat something to /dev/dsp results in:
"bash: /dev/dsp: No such device". /dev/dsp does exist, and I have
re-compile alsa and re-run ./snddevices to be sure they are being
created.
Third, I read somewhere that the cannot IRQ 0 is due to PnP OS being on
in the BIOS. Well, on this machine that is not an option in the BIOS.
I have just flashed the BIOS to the newest version to be sure I was not
missing anything. So, suggestions there would be great. Although, I am
not using midi on this thing, so if MPU401 is strictly needed for midi,
I could pass if no one has a solution.
Any help would be appreciated. Below is all the output I think you will
need.
A cat of /proc/isapnp shows:
########################
Card 1 'CSC6835:CS4236B' PnP version 1.0 Product version 0.1
Logical device 0 'CSC0000:WSS/SB'
Device is not active
Resources 0
Priority preferred
Port 0x534-0x608, align 0xd3, size 0x4, 16-bit address decoding
Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding
Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9 High-Edge
DMA 1,3 8-bit byte-count compatible
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding
Port 0x388-0x3f0, align 0x7, size 0x4, 16-bit address decoding
Port 0x220-0x260, align 0xf, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,11,12,15 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Logical device 1 'CSC000f:Game'
Device is not active
Resources 0
Priority preferred
Port 0x3a0-0x3f8, align 0x7, size 0x8, 16-bit address decoding
Logical device 2 'CSC0010:Ctrl'
Device is not active
Resources 0
Priority preferred
Port 0xf00-0xfe8, align 0x7, size 0x8, 16-bit address decoding
Logical device 3 'CSC0003:MPU'
Device is not active
Resources 0
Priority preferred
Port 0x330-0x3f0, align 0x7, size 0x2, 16-bit address decoding
########################
The device states that it is not active, and I checked the BIOS and it
is indeed enabled.
Here is what I get when I run /etc/init.d/alsasound start:
########################
Starting sound driver: snd-card-cs4236
snd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
snd: isapnp WSS: irq=5, dma1=1, dma2=3
Snd: isapnp CTRL: control port=0xf00
Snd: isapnp MPU: port=0x330, irq=0
Snd: unable to grab IRQ 0 for CS4236+ - MPU401
Snd: warning: cannot allocate IRQ for MPU401, midi port is disabled
Snd: cs4231: port = 0x534, id = 0xa
Snd: cs4231: VERSION (I25) = 0x3
Snd: cs4231: ext versoin; rev = 0xeb, id = 0xeb
Snd: cs4236: [0xf00] C1 *version) = 0xeb, ext = 0xeb
done
########################
Here is my modules.conf:
########################
alias snd-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias char-major-116 snd
alias char-major-14 soundcore
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-cs4236
options snd_index=1 snd-card-cs4236 snd_port=0x534 snd_cport=0x220
snd_mpu_port=-1 snd_fm_port=0x388 snd_irq=9 snd_mpu_irq=7 snd_dma1=1
########################
Any help would be greatly appreciated.
Thanks,
Darren
Reply to: