Click to See Complete Forum and Search --> : What is my sound card code for ALSA?
RedMap
12-14-2002, 02:35 PM
I'm trying to install sound on my machine using ALSA, I have an on-motherboard sound card - A Via AK32 - single AMD thingy with DDR Ram mainboard.
When I make ALSA drivers then it needs to know what sound card I've got. But all that I know is its AC'97 compatible or something like that.
ALSA needs a specific code for compiling with or something, - How do I find out what it is?
Anyone who has installed ALSA please help, it doesn't seem to like what I input.
cheers!
Neuro521
12-14-2002, 04:16 PM
I'v got an AK32 motherboard.
The sound card is Via 8233.
To get ALSA working, I did:
./configure
make install
then ran the script to make the sound
devices:
./snddevices
and put the following in my /etc/modules.conf:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# 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
Hope this helps.
bwkaz
12-14-2002, 07:55 PM
Running ./configure --help from the Alsa directory will print a list of options, and for that one (which driver to build), it should give a list of possible drivers.
For my Yamaha PCI card, I do a ./configure --with-cards=ymfpci -- you would probably replace ymfpci with something that looks good from the output of ./configure --help.
RedMap
12-15-2002, 08:04 AM
Thanks! It works perfectly now!
The funny thing is, it worked perfectly in root immediately, but wouldn't work in any of the users until I had entirely rebooted my machine this morning. All is well now though! cheers! :)
I can enjoy UAE and XMMS!!!
But, how do I automatically stop it from being muted when I turn it on. I have set the GMIX level to full, but if I play something before opening GMIX then its muted, and as soon as I open GMIX its suddenly full blast!
Neuro521
12-15-2002, 10:40 AM
As root you can use
alsactl store
to save your current volume settings and they should be restored automatically when you boot up.