LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2004, 12:55 PM   #1
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
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
 
Old 04-06-2004, 01:40 PM   #2
SlackMaster
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
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.
 
Old 04-06-2004, 01:56 PM   #3
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
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.
 
Old 04-06-2004, 04:21 PM   #4
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Original Poster
Rep: Reputation: 15
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
 
Old 04-06-2004, 04:33 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Try running 'alsaconf' first - it should detect your sound card, then run alsamixer and then 'alsactl store'.
 
Old 04-06-2004, 04:40 PM   #6
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Original Poster
Rep: Reputation: 15
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
 
Old 08-07-2004, 01:16 PM   #7
pigelet
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 2
Posts: 8

Rep: Reputation: 0
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
 
Old 08-07-2004, 01:22 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I think you have different versions of alsa-driver and alsa-utils.
 
Old 08-07-2004, 08:06 PM   #9
pigelet
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 2
Posts: 8

Rep: Reputation: 0
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
 
Old 08-08-2004, 12:25 AM   #10
zhczhc
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-09-2004, 08:16 AM   #11
pigelet
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 2
Posts: 8

Rep: Reputation: 0
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
 
Old 10-16-2004, 08:27 PM   #12
melao
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 9.1
Posts: 12

Rep: Reputation: 0
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
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alsa problems mark_alfred Debian 2 02-16-2005 11:24 PM
Alsa-problems again hanspb Linux - Software 4 11-17-2004 04:24 PM
alsa problems... socket9001 Slackware 1 04-27-2004 12:32 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
alsa problems, please help matjazk Slackware 16 12-15-2003 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration