[svlug] Sound on VT8233 AC 97
Sanatan Rai
sanat at stanford.edu
Tue Jan 28 00:41:06 PST 2003
Hello,
I recently bought a comp with the VT8233 chip set and VIA 82cxxx onboard
sound.
I compiled ALSA modules for this but get the following messages:
[root at integral root]# modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
[root at integral root]# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
[root at integral root]# play /usr/share/apps/kbounce/sounds/wallstart.au
sox: Can't open output file '/dev/dsp': No such device
[root at integral root]# lsmod
Module Size Used by Not tainted
snd-seq-oss 33920 0 (unused)
snd-seq-midi-event 5640 0 [snd-seq-oss]
snd-seq 47472 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 44452 0 (unused)
snd-mixer-oss 15512 0 [snd-pcm-oss]
snd-via82xx 11660 0 (unused)
snd-pcm 83328 0 [snd-pcm-oss snd-via82xx]
snd-timer 15304 0 [snd-seq snd-pcm]
snd-mpu401-uart 4796 0 [snd-via82xx]
snd-rawmidi 18400 0 [snd-mpu401-uart]
snd-seq-device 6176 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-ac97-codec 36100 0 [snd-via82xx]
snd 39404 0 [snd-seq-oss snd-seq-midi-event snd-seq 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 [snd]
abi-cxenix 8636 0 (unused)
abi-svr4 85292 0 [abi-cxenix]
lcall7 2276 0 [abi-cxenix]
abi-util 1468 0 [lcall7]
via-rhine 15628 1
mii 2156 0 [via-rhine]
sg 36556 0 (autoclean)
loop 12152 0 (autoclean)
nls_iso8859-1 3516 0 (autoclean)
sr_mod 18136 0 (autoclean)
autofs 13348 0 (autoclean) (unused)
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 14936 2 [ipt_REJECT iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 3 [sg sr_mod ide-scsi]
ide-cd 33608 1
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]
[root at integral root]# dmesg | tail --lines=36
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
PCI: Setting latency timer of device 00:11.5 to 64
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1000000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1000000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fc0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fc0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fc0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fc0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fe0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fe0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fe0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fe0000]
ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1562: AC'97 0:0 access is not valid [0xffffffff], removing mixer.
Sound device 8 went missing!
Sound device 1 went missing!
ALSA ../alsa-kernel/pci/via82xx.c:1030: AC'97 codec is not ready [0x1fe0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1fe0000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1000000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
ALSA ../alsa-kernel/pci/via82xx.c:354: codec_ready: codec 0 is not ready [0x1800000]
PCI: Setting latency timer of device 00:11.5 to 64
<snipped>
[root at integral root]# ls -l /dev/dsp* /dev/mix* /dev/seq*
lrwxrwxrwx 1 root root 9 Jan 27 23:18 /dev/dsp -> /dev/dsp0
crw-rw-rw- 1 root root 14, 3 Jan 27 23:18 /dev/dsp0
crw-rw-rw- 1 root root 14, 19 Jan 27 23:18 /dev/dsp1
crw-rw-rw- 1 root root 14, 35 Jan 27 23:18 /dev/dsp2
crw-rw-rw- 1 root root 14, 51 Jan 27 23:18 /dev/dsp3
crw-rw-rw- 1 sanat root 55, 0 Jul 6 2002 /dev/dsp56k
lrwxrwxrwx 1 root root 11 Jan 27 23:18 /dev/mixer -> /dev/mixer0
crw-rw-rw- 1 root root 14, 0 Jan 27 23:18 /dev/mixer0
crw-rw-rw- 1 root root 14, 16 Jan 27 23:18 /dev/mixer1
crw-rw-rw- 1 root root 14, 32 Jan 27 23:18 /dev/mixer2
crw-rw-rw- 1 root root 14, 48 Jan 27 23:18 /dev/mixer3
crw-rw-rw- 1 root root 14, 1 Jan 27 23:18 /dev/sequencer
lrwxrwxrwx 1 root root 10 Jan 27 23:18 /dev/sequencer2 -> /dev/music
Snooping around via google I found another person with a similar problem
but no rsolution. On the ALSA site someone left the following comment:
`From looking at the mailing lists and from personal experience, it
does not appear that all devices based on the 8233 chipset are
supported, specifically motherboards (i.e.: MV42N), although PCI audio
cards seem to do better. Also, removing the default (OSS) sound
support from RedHat 8.0 might be more involved than indicated in the
docs, and is not documented anywhere. Finally, there are no
documented instructions as to how remove a non-functioning ALSA
install and restore the defaults.
In summary: Do not try to use this driver on an 8233-based
motherboard unless you can afford to rebuild the Linux install if the
ALSA install fails to work for you.'
The above comment seems a bit strange, because what I can make out is that
somehow /dev/dsp etc are either being locked by some process or are
improperly set, and all I have to do is to fix this.
Suggestions/Comments?
Thanks!
--Sanatan
--
Sanatan Rai, | E.-mail: sanat at stanford.edu
Dept. of Management Sc. & Engg. | Home: 100 N. Whisman Road 4316,
Stanford University, | Mountain View, Ca 94043.
Stanford, Ca 94305. | 'phone: (650) 964 0220 (R)
EMail: sanat at stanford.edu (650) 736 2109 (O)
More information about the svlug
mailing list