I am having trouble getting the ALSA drivers to work on a clean install
of RedHat 8.0. I have read all the relevant docs, user comments and
checked the list archives, but no luck. I can tell I am close, but not
there yet. Please help.
Symptoms:
(1) alsamixer fails with "alsamixer: function snd_ctl_open failed for
default: No such file or directory".
(2) Checked the log and found bootup errors:
- "../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not
ready [0x1000000]"
- & at other 0x... addresses
- "../../alsa-kernel/pci/ac97/ac97_codec.c:1562: AC'97 0:0 access is
not valid
[0xffffffff], removing mixer."
(3) Although I removed the original RH8.0 OSS driver
(via82cxxx_audio.o), I still see snd-pcm-oss and snd-mixer-oss in
/proc/modules. I am not sure why they are being loaded, but I found the
following files with "oss" as part of their name under
/lib/modules/2.4.18-14/kernel/sound/acore. There are other files in
those directories that don't have oss in their name.
- oss/snd-mixer-oss.o
- oss/snd-pcm-oss.o
- seq/oss/snd-seq-oss.o
Steps followed:
(1) Using a Shuttle MV42N motherboard with VIA 8233 sound chipset.
(2) RH8.0 default sound support was not working (no errors, but silent).
So I commented its info from /etc/modules.conf and just to be safe I
removed via82cxxx_audio.o from /lib/modules/2.4.18-14/kernel/drivers
(3) Downloaded the ALSA 0.9.0-RC6 tar/bz2 files, compiled and installed
them.
Relevant configuration:
(1) /etc/modules.conf:
-----------------------------
alias parport_lowlevel parport_pc
alias eth0 via-rhine
alias usb-controller usb-uhci
## ORIGINAL BUILT-IN AUDIO FOR VIA 8233 SOUNDCHIP, DID NOT WORK:
## alias sound-slot-0 via82cxxx_audio
#
# ALSA (Advanced Linux Sound Architecture) driver for VIA 8233 sound chip
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# ALSA module options should go here
#
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# sound card #1
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
# original from RedHat 8.0
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
-----------------------------
(2) .asoundrc:
-----------------------------
pcm.via82xx {
type hw
card 0
}
ctl.via82xx {
type hw
card 0
}
-----------------------------
(3) /proc/modules:
-----------------------------
sr_mod 18136 0 (autoclean)
snd-pcm-oss 44452 0 (autoclean) (unused)
snd-mixer-oss 15512 0 (autoclean) [snd-pcm-oss]
snd-via82xx 11660 0 (autoclean) (unused)
snd-pcm 83328 0 (autoclean) [snd-pcm-oss snd-via82xx]
snd-timer 15304 0 (autoclean) [snd-pcm]
snd-mpu401-uart 4796 0 (autoclean) [snd-via82xx]
snd-rawmidi 18400 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 6176 0 (autoclean) [snd-rawmidi]
snd-ac97-codec 36100 0 (autoclean) [snd-via82xx]
snd 39404 0 (autoclean) [snd-pcm-oss snd-mixer-oss
snd-via82xx snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device
snd-ac97-codec]soundcore 6532 0 (autoclean) [snd]
autofs 13348 0 (autoclean) (unused)
via-rhine 15628 1
mii 2156 0 [via-rhine]
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14936 1 [iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
usbcore 77024 1 [hid usb-uhci]
ext3 70368 2
jbd 52212 2 [ext3]
-----------------------------
-------------------------------------------------------
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