LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 01-06-2006, 09:26 AM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Rep: Reputation: 45
alsamixer: function snd_ctl_open failed for default: No such device


I am configuring a fresh install of debian 3.1ra. Using default kernel 2.4.27-2-386. Sound hardware is AC'97. It appears that the system has found, and installed, the sound card - accordign to lspci, modconf, and alsaconf.

I did the following, as root:

# aptitude install alsa-modules-2.4.27-2-386
# aptitude install alsa
# alsaconf (card was found, and installed)
# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device

I think this is some linking issue. I found this on another the hardware forum:

"Turns out that /usr/share/alsa/alsa.conf was a symlink to /etc/alsa/alsa.conf. That was all well and good, except /etc/alsa/alsa.conf symlinked back to itself. Totally broken. Fortunately alsa-lib-1.0.10-26.rhfc3.at had left a functioning one in /etc/alsa/alsa.conf.rpmnew. Removing the bad symlink and moving the rpmnew into the normal name fixed things instantly."

But that solution is for redhat. What do I do with debian?
 
Old 01-06-2006, 03:37 PM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

Just a thought. Maybe it works...

As I can see you are running the 2.4 kernel.
That means that you will have to install the ALSA modules seperately.

You can do it using apt-get:

Code:
apt-get install alsa-modules-$(uname -r)
Good luck
 
Old 01-06-2006, 05:52 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
Thanks anyway, but it didn't seem to work.

#apt-get install alsa-modules-$(uname -r)
Reading Package Lists... Done
Building Dependency Tree... Done
alsa-modules-2.4.27-2-386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
 
Old 01-07-2006, 07:48 PM   #4
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
take note of the name of the kernel module when running alsaconf, and run
lsmod to see if it is loaded

modprobe the module
 
Old 01-07-2006, 10:38 PM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
modprobe via82cxxx

Does nothing.
 
Old 01-08-2006, 12:33 AM   #6
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
apt-get install alsa-base alsa-utils (and maybe alsa-oss, and alsa-source). Then alsaconf to setup card. Kmix,aumix or alsamixer to set sound levels and save. Then snd shd work. Good luck.
 
Old 01-08-2006, 09:34 AM   #7
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
I think I fixed the problem by upgrading from the 2.4.27 kernel, to the 2.6.15 kernel. I don't why that worked, but I can run alsamixer now.
 
Old 01-09-2006, 02:29 PM   #8
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
Well never mind why when it works..
If the new kernel makes it work the problem must have been on kernel/module level..
 
  


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
alsamixer: function snd_ctl_open failed for default: No such file or directory agts Linux - Newbie 16 04-01-2011 09:12 AM
alsamixer --> snd_ctl_open failed for default: No such device dot hog Linux - Software 3 08-23-2009 01:14 PM
alsamixer: function snd_ctl_open failed in Fedora mattman1081 Fedora 6 08-30-2004 04:47 AM
Sound problem: alsamixer: function snd_ctl_open failed for default: No such device bootlizard Linux - Software 0 08-22-2004 04:45 PM
alsamixer problem, snd_ctl_open?!? Punkduplo Linux - Laptop and Netbook 14 12-09-2003 09:19 AM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration