My laptop's powersupply has just gone bang, so I'm dead in the water here. I have 2 days to rewrite a piece of music, and I can only get my soundcard partially working.
I'm using Gentoo 1.4, and the card in question is an Avance ALS 650 AC'97 codec Via8233 chipset onboard atrocity. The only reason it hasn't been kicked to death is that it
is part of the motherboard... :P
So far, XMMS works (but crashes when I try to stop playback), Mplayer works fine, RealPlayer works a bit, but I have no SDL sound, or any other sounds at all. System sounds blip the first half second of each sound 20 times then stop (which is what some other programs do as well).
I've set up ALSA 0.9.8 (the latest version doesn't seem to work at all) with this configuration:
Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
alias char-major-116 snd
alias snd-card-0 snd-via82xx
options snd-via82xx index=0 dxs_support=2
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# OSS/Free portion - 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/sound/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias /dev/sound/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
And lsmod shows this:
Code:
Module Size Used by Tainted: P
snd-seq 37584 0 (unused)
nvidia 1630624 11 (autoclean)
snd-via82xx 13376 0
snd-ac97-codec 43096 0 [snd-via82xx]
snd-mpu401-uart 3440 0 [snd-via82xx]
snd-rawmidi 14272 0 [snd-mpu401-uart]
snd-seq-device 4304 0 [snd-seq snd-rawmidi]
snd-pcm-oss 38436 0
snd-pcm 62912 0 [snd-via82xx snd-pcm-oss]
snd-page-alloc 6580 0 [snd-via82xx snd-pcm]
snd-timer 14948 0 [snd-seq snd-pcm]
snd-mixer-oss 13680 0 [snd-pcm-oss]
snd 34820 0 [snd-seq snd-via82xx snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
I get an error on boot about snd-seq-oss not being able to insmod because the device is in use, or similar, as well.
Does anyone have any idea at all on how I can get the soundcard working properly? I've never been able to get it to work properly in any distro with any version of ALSA. I think that's all the information which most people ask for...
Oh, and booting with kernel mode 'noapic' doesn't help either.