LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2004, 05:07 AM   #1
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
ALSA in Debian Sid


Hello people

I installed Debian Sarge with the new installer through FTP and then dist-upgraded to unstable and then installed x-window-system and gnome. So, now I want to have sound with ALSA, but when I type alsamixer it gives me that:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
I have run alsaconf before alsamixer and it says that everything is okay.

Thanks
 
Old 06-20-2004, 05:22 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Personally, I use aumix-gtk as my sound mixer in WindowMaker. In theory, you should be able to use any mixer you have available to control the sound levels in ALSA (once you've done "alsaconf").

Last edited by Dead Parrot; 06-20-2004 at 05:39 AM.
 
Old 06-20-2004, 06:12 AM   #3
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
The problem is not in the mixer. I need a howto how to set my ALSA sound...
 
Old 06-20-2004, 07:39 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Here's the procedure that worked for me: I installed (I used Aptitude that also installs the "recommended" packages) the "alsa-base" package and did (as root) "alsaconf". The "alsaconf" command did a probe to find my soundcard and after it had correctly detected my sound hardware, I was able to use aumix-gtk to set up the sound levels like I wish. In what step of this procedure do you experience problems?
 
Old 06-20-2004, 07:50 AM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
On second thought, does "nano /etc/group" show that you're a member in the "audio" group? If not, this may be one source of your sound problems. You can add your normal user into new groups with the "adduser" command (check out "man adduser" to get more detailed info on this command).
 
Old 06-20-2004, 07:51 AM   #6
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
This is the output from alsaconf:
Code:
Running update-modules...
Loading driver...
Restoring ALSA mixer settings ... failed:
       You may want to run 'alsactl restore' manually to view any errors.
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
 
Old 06-20-2004, 08:01 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Has the sound worked before installing ALSA? Do you have the correct kernel module for your sound card loaded? You can use the "lsmod" command to view the modules that are loaded at the moment.
 
Old 06-20-2004, 08:11 AM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Here's a thread that discusses the methods you can use to load kernel modules:

http://www.linuxquestions.org/questi...hreadid=172998

But first, you need to know what kernel module your sound card requires. A search in google.com usually gives this info.
 
Old 06-20-2004, 08:51 AM   #9
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
I have everything loaded:
Code:
snd_ali5451            21572  0
snd_ac97_codec         54916  1 snd_ali5451
snd_pcm_oss            47652  0
snd_mixer_oss          16640  1 snd_pcm_oss
snd_pcm                84900  2 snd_ali5451,snd_pcm_oss
snd_page_alloc         10884  1 snd_pcm
snd_timer              23044  1 snd_pcm
snd                    48356  6 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
And I have no sound
 
Old 06-20-2004, 09:35 AM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
For me alsaconf worked without any error messages. For you it returned "/usr/sbin/alsactl: save_state:1061: No soundcards found...".

Still you say that you have everything loaded.

I'm out of suggestions at this point. Anyone else?
 
Old 06-21-2004, 06:49 AM   #11
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
sort of the same thing here BUT my sound does work I gave up on alsa..if using kde..
control center sound hardware auto detect rather than alsa.
 
Old 06-21-2004, 11:14 AM   #12
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
same here the sound works but witout ALSA
 
Old 06-21-2004, 03:49 PM   #13
king of nothing
LQ Newbie
 
Registered: Jun 2004
Location: Ankeny, IA
Distribution: Debian Sid
Posts: 11

Rep: Reputation: 0
My brother and I had the same problem the other day. We solved it by going to /lib/modules/2.6.6-1-k7/kernel/sound and removing the oss folder --- renaming it would probably work too. I just stuck mine in /home in case I ever need it for something.

We had Alsa set up but the old sound modules would load first and wouldn't share the sound with Alsa. Taking out the folder kept the old modules from being found....... so they couldn't load.

Dirty....... but it works.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM
Debian Sid - ALSA and a stock 2.6.5 kernel UrbanSlayer Debian 8 04-18-2004 09:14 PM
ALSA on Debian sid with Fortissimo II (cs46xx) problem(s?) NeoY2k Linux - Hardware 7 10-18-2003 09:21 AM
ALSA / devfs / Sid ingy866 Debian 2 10-02-2003 04:05 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration