I have a Dell OptiPlex GX1 that had Mandrake 8.2 installed and sound was
working (using a previous ALSA version - 0.5.12a I think). I upgraded
kernels and ALSA and sound stopped working. At first, I only thought I
had one change to make (snd-card-cs4236 ---> snd-cs4236) in
/etc/modules.conf. That failed to work and I am at a loss to figure out
why PCM audio is not working. I can successfully play an audio CD and
output the sound through the sound card, controlling the volume with an
OSS mixer -- at least that part works. I get no PCM sound and all the
MIDI players I try crash. I alsoget errors running aplay or alsamixer.
Perhaps someone can look at this and tell me what I'm missing.
The modules all insert cleanly (no errors or warnings - verified with a
'modprobe -d'). After 'modprobe cs-4236', I issue 'modprobe snd-mixer-oss'.
/etc/modules.conf (relevant sections):
--------------------------------------
alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias sound-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
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
snd_device_gid=0 snd_device_uid=0
options snd-cs4236 snd_index=0 snd_id="Crystal Audio" snd_port=0x534
snd_cport=0xf00 snd_mpu_port=0x330 snd_fm_port=0x388 snd_irq=5
snd_mpu_irq=9 snd_dma1=1 snd_dma2=0 snd_isapnp=1
output from ALSA module install in /var/log/messages
(I recompiled ALSA with debugging info on)
----------------------------------------------------------
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4236.c:329: isapnp WSS: wss port=0x534,
fm port=0x388, sb port=0x220
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4236.c:331: isapnp WSS: irq=5, dma1=1, dma2=0
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4236.c:347: isapnp CTRL: control port=0xf00
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4236.c:374: isapnp MPU: port=0x330, irq=-1
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4231_lib.c:992: cs4231: port = 0x534, id
= 0xa
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4231_lib.c:998: CS4231: VERSION (I25) = 0x3
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4231_lib.c:1062: CS4231: ext version; rev
= 0xeb, id = 0xeb
Jul 2 11:16:10 linux kernel: ALSA
../../alsa-kernel/isa/cs423x/cs4236_lib.c:299: CS4236: [0xf00] C1
(version) = 0xeb, ext = 0xeb
cat /proc/isapnp
------------------
Card 1 'CSC6835:CS4236B' PnP version 1.0 Product version 0.1
Logical device 0 'CSC0000:WSS/SB'
Device is active
Active port 0x534,0x388,0x220
Active IRQ 5 [0x2]
Active DMA 1,0
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 active
Active port 0xf00
Resources 0
Priority preferred
Port 0xf00-0xfe8, align 0x7, size 0x8, 16-bit address decoding
Logical device 3 'CSC0003:MPU'
Device is active
Active port 0x220
Resources 0
Priority preferred
Port 0x330-0x3f0, align 0x7, size 0x2, 16-bit address decoding
lsmod
-------
Module Size Used by Not tainted
snd-mixer-oss 9400 0 (autoclean) (unused)
snd-cs4236 5632 0 (autoclean) (unused)
snd-cs4236-lib 10240 0 (autoclean) [snd-cs4236]
snd-opl3-lib 5796 0 (autoclean) [snd-cs4236]
snd-hwdep 4000 0 (autoclean) [snd-opl3-lib]
snd-cs4231-lib 14280 0 (autoclean) [snd-cs4236 snd-cs4236-lib]
snd-pcm 49024 0 (autoclean) [snd-cs4236-lib
snd-cs4231-lib]
snd-timer 10092 0 (autoclean) [snd-opl3-lib
snd-cs4231-lib snd-pcm]
snd-mpu401-uart 2864 0 (autoclean) [snd-cs4236]
snd-rawmidi 12704 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 4076 0 (autoclean) [snd-opl3-lib snd-rawmidi]
snd 25356 0 (autoclean) [snd-mixer-oss snd-cs4236
snd-cs4236-lib snd-opl3-lib snd-hwdep snd-cs4231-lib snd-pcm snd-timer
snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3684 4 (autoclean) [snd]
cat /proc/asound/version
----------------------------
Advanced Linux Sound Architecture Driver Version 0.9.0rc2.
Compiled on Jul 1 2002 for kernel 2.4.18-20mdk with versioned symbols.
ls -lR /proc/asound/
-----------------------
/proc/asound/:
total 0
dr-xr-xr-x 4 root root 0 Jul 2 11:20 card0/
-r--r--r-- 1 root root 0 Jul 2 11:20 cards
lrwxrwxrwx 1 root root 0 Jul 2 11:20 Crystal Audio ->
card0/
dr-xr-xr-x 2 root root 0 Jul 2 11:20 dev/
-r--r--r-- 1 root root 0 Jul 2 11:20 devices
-r--r--r-- 1 root root 0 Jul 2 11:20 hwdep
-r--r--r-- 1 root root 0 Jul 2 11:20 meminfo
dr-xr-xr-x 2 root root 0 Jul 2 11:20 oss/
-r--r--r-- 1 root root 0 Jul 2 11:20 pcm
dr-xr-xr-x 2 root root 0 Jul 2 11:20 seq/
-r--r--r-- 1 root root 0 Jul 2 11:20 timers
-r--r--r-- 1 root root 0 Jul 2 11:20 version
/proc/asound/card0:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 id
-r--r--r-- 1 root root 0 Jul 2 11:20 midi0
dr-xr-xr-x 3 root root 0 Jul 2 11:20 pcm0c/
dr-xr-xr-x 3 root root 0 Jul 2 11:20 pcm0p/
/proc/asound/card0/pcm0c:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 info
dr-xr-xr-x 2 root root 0 Jul 2 11:20 sub0/
/proc/asound/card0/pcm0c/sub0:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 hw_params
-r--r--r-- 1 root root 0 Jul 2 11:20 info
-r--r--r-- 1 root root 0 Jul 2 11:20 prealloc
-r--r--r-- 1 root root 0 Jul 2 11:20 status
-r--r--r-- 1 root root 0 Jul 2 11:20 sw_params
/proc/asound/card0/pcm0p:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 info
dr-xr-xr-x 2 root root 0 Jul 2 11:20 sub0/
/proc/asound/card0/pcm0p/sub0:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 hw_params
-r--r--r-- 1 root root 0 Jul 2 11:20 info
-r--r--r-- 1 root root 0 Jul 2 11:20 prealloc
-r--r--r-- 1 root root 0 Jul 2 11:20 status
-r--r--r-- 1 root root 0 Jul 2 11:20 sw_params
/proc/asound/dev:
total 0
crw-rw---- 1 root root 116, 0 Jul 2 11:20 controlC0
crw-rw---- 1 root root 116, 4 Jul 2 11:20 hwC0D0
crw-rw---- 1 root root 116, 8 Jul 2 11:20 midiC0D0
crw-rw---- 1 root root 116, 24 Jul 2 11:20 pcmC0D0c
crw-rw---- 1 root root 116, 16 Jul 2 11:20 pcmC0D0p
crw-rw---- 1 root root 116, 33 Jul 2 11:20 timer
/proc/asound/oss:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 devices
-r--r--r-- 1 root root 0 Jul 2 11:20 sndstat
/proc/asound/seq:
total 0
-r--r--r-- 1 root root 0 Jul 2 11:20 drivers
cat /proc/asound/oss/sndstat
----------------------------
Sound Driver:3.8.1a-980706 (ALSA v0.9.0rc2 emulation code)
Kernel: Linux linux.central.sprint.com 2.4.18-20mdk #1 Mon Jun 17
16:28:25 CEST 2002 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
CS4236B at 0x534, irq 5, dma 1&0
Audio devices: NOT ENABLED IN CONFIG
Synth devices:
0: OPL3 FM
Midi devices:
0: MPU-401 (UART)
Timers:
7: system timer
Mixers:
0: mixer00
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user