LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Alsa problems (https://www.linuxquestions.org/questions/slackware-14/alsa-problems-166926/)

usercsr 04-06-2004 12:55 PM

Alsa problems
 
I am running Slack 9.1 with kernel 2.6.5. I couldn't get ALSA working with the kernel drivers so I compiled the drivers that I downloaded. There was no problem during the compilation and inserting the modules. When I do 'alsaconf', the sound card is detected as

'intel8x0 Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)'

The sound card is configured and it asks me to set the volume levels. But when I type 'alsamixer', I get the error :

Code:

alsamixer: function snd_ctl_open failed for default: No such device
xmms works with OSS but I want to get ALSA working. Any suggestions

SlackMaster 04-06-2004 01:40 PM

Check in /proc/asound/ to see what, and how many, cards are listed there. Your actual sound card may be listed as "card1" or "card2".

By default, alsamixer uses card0. You may have to open it with the command:

alsamixer -c cardX

...where "X" is the card number under which your actual sound card is set up.

I noticed that, if you enable other sound drivers in the kernel, such as "CONFIG_SND_DUMMY" (the "dummy" midi sound driver under "Generic Devices"), that driver may be set up as card0, and may bump your actual sound card to a higher card number, such as card1 or card2.

Just a hunch.

trey85stang 04-06-2004 01:56 PM

worst case.. if nothing else works.. you could try running ./snddevices from the alsa-driver directory.

I had to do that with kernel 2.6.4 and a SoundBlaster Live card.

usercsr 04-06-2004 04:21 PM

hi,

it is not working. regarding the '/proc/asound' directory, i didn't quite understand what you wanted me to look for. but i tried this:
Code:

cat /proc/asound/cards
--- no soundcards ---

does it mean that my sound card is not detected. i get the following message after alsaconf

Code:

Loading driver...
/usr/sbin/alsaconf: line 657: rcalsasound: command not found
Setting default volumes...

I executed the 'snddevices' script and it set everything right. the thing is oss drivers work fine with xmms and mplayer, but i want alsa for some applications.

Thanks for your help

XavierP 04-06-2004 04:33 PM

Try running 'alsaconf' first - it should detect your sound card, then run alsamixer and then 'alsactl store'.

usercsr 04-06-2004 04:40 PM

i did run 'alsaconf' and it detected my sound card as

'intel8x0 Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)'

but when i run alsamixer, i get the following error:

alsamixer: function snd_ctl_open failed for default: No such device

pigelet 08-07-2004 01:16 PM

I am also gettting the above problem. I run alsaconf and am asked if I want to check for legacy PCI cards and then it returns.

my /proc/asound/cards lists no soundcards. I have a soundblaster live (emu10k1) which is being detected by the sound card detection program... Any ideas. I have been tinkering and am almost given up on ever having sound


pigelet

gbonvehi 08-07-2004 01:22 PM

I think you have different versions of alsa-driver and alsa-utils.

pigelet 08-07-2004 08:06 PM

I have deleted all the ALSA stuff and downloaded it from scratch. its 1.05 and am building it. still have the no soundcard error in my proc/asound/cards so alsamixer and aumix are both not still working?

can someone help a little pigelet?


thxs :newbie:

zhczhc 08-08-2004 12:25 AM

I am using the 10.0. I got same error as you. Below is what I have done to get ALSA working:
1. disable the sound card module in hotplug. This is done to add snd-intel8x0, snd-intel8x0m to the hotplug blacklist. Add 2 lines in the /etc/hotplug/blacklist:

snd-intel8x0
snd-intel8x0m

2. insert module snd-intel8x0 manually. Add a line to /etc/rc.d/rc.lcoal:
/sbin/modprobe snd-intel8x0

3. Restart you computer.

Hope this helps.

pigelet 08-09-2004 08:16 AM

Thxs for the suggestion, I tried this and there is no sound.

I have been able to get y alsamixer and stuff to correctly display. I tried unmuting and there is not sound... my sound card detection program is now crashing when I run it


pigelet

arghh-> all I want is some sound :confused:

melao 10-16-2004 08:27 PM

Quote:

Originally posted by pigelet
Thxs for the suggestion, I tried this and there is no sound.

I have been able to get y alsamixer and stuff to correctly display. I tried unmuting and there is not sound... my sound card detection program is now crashing when I run it


pigelet

arghh-> all I want is some sound :confused:

My sound was working when i installed SuSE 9.1. But everytime i played an MP3 it was giving me some noises. So i decided to run alsaconf to check.
After that my sound is not working anymore.
I have the same card also...

Hope somebody answers this.


All times are GMT -5. The time now is 06:51 AM.