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 01-27-2006, 08:46 AM   #1
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Rep: Reputation: 30
Alsa Sound Problems


I compiled the 2.6.15.1 kernel a while back, im pretty sure I had alsa built in and selected my sound card as a module. Now when I type aslamixer in console I get this error:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
OSS works, so i can still listen to music, but I would like to get Esound working, and that requires alsa. Here is my lsmod:
Code:
i915                   15104  1 
drm                    55956  2 i915
snd_pcm_oss            41632  0 
snd_mixer_oss          14336  1 snd_pcm_oss
pcspkr                  1668  0 
intel_agp              17948  1 
i2c_i801                7052  0 
i2c_core               15248  1 i2c_i801
snd_intel8x0           25756  0 
snd_ac97_codec         79008  1 snd_intel8x0
snd_ac97_bus            1920  1 snd_ac97_codec
snd_pcm                69128  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              18564  1 snd_pcm
snd                    40420  6 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          7688  2 snd_intel8x0,snd_pcm
eepro100               23952  0 
orinoco_cs             14472  1 
agpgart                25800  3 drm,intel_agp
psmouse                29956  0
I have looked at the other threads about this topic, but nothing seemed to help.
 
Old 01-27-2006, 09:19 AM   #2
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
have you tried running alsaconf?
 
Old 01-27-2006, 10:09 AM   #3
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Yeah, I ran alsaconf and selected my sound card. Alsaconf did its thing, but I still get the same error.
 
Old 01-27-2006, 10:16 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I have the same problem with Kernel 2.6.15 on Debian Sid. lsmod looks fine, alsaconf appears to run successfully, but no 'normal' sound. Some programs will play music, but the quality is poor. I assume they're using something other than the ALSA drivers.

What configuration program can I run from a terminal to get the basic sound card set-up that runs when you first install Linux?
 
Old 01-27-2006, 12:01 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
OK. ... Ignore my post. My problem was that I had (perhaps inadvertantly) created an /etc/modprobe.conf file. The only thing in it was an alias for my wireless lan card (another problem). I deleted that file, and presto! sound is working again.
 
Old 01-27-2006, 03:48 PM   #6
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
after running alsaconf did you try:
alsactl store
to store the current driver state.
 
Old 01-27-2006, 05:39 PM   #7
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Yeah, but that didnt work.
 
Old 01-27-2006, 07:00 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You must reinstall alsa after a kernel compilation. Best thing is read up on alsa site about installation and kernel options
 
Old 01-27-2006, 10:12 PM   #9
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
So I need to download alsa-lib and asla-utils and install those?
 
Old 01-28-2006, 12:53 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
alsa-driver is the main one but I would reinstall all
 
Old 01-28-2006, 03:11 AM   #11
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you compiled your own sound card drivers as modules, then you don't want alsa-driver, the package should be removed. Though, technically they won't do anything but waste space, as you aren't running the kernel version that either alsa-driver package corresponds to.

You would first want to make sure you compiled the right modules, and if you have, then check around online to make sure they don't need to be loaded with any special parameters.

The drivers for my old laptop had to be loaded with special IRQ and DMA arguments, or else the only thing that played audio were audio CDs, and not any digital media.
 
Old 01-30-2006, 09:27 AM   #12
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
I actually have ALSA compiled as a module in my 2.6.15.1 kernel. From what I understand, I should remove alsa and recompile it. How do I do this? Which alsa packages should I use?
 
Old 01-30-2006, 10:42 AM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
If I remember the readme correct, you only need compile kernel with sound support. Do not compile alsa or oss at all as modules or builtin.

Then install the alsa libs, driver, utils, tools if you want them.

Might need a reboot to work.

At least thats the way I did it
 
Old 01-30-2006, 11:58 AM   #14
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
Ok thanks. that worked
 
  


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
Sound problems alsa 1.9 d_dallis_gr Linux - Software 2 06-20-2005 05:58 AM
Alsa sound problems mario8723 Ubuntu 1 03-19-2005 06:07 PM
Alsa sound problems aidankitch Mandriva 4 04-30-2004 03:33 PM
Alsa Sound Problems (I think) Maestro485 Linux - Newbie 7 04-14-2004 07:52 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM

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

All times are GMT -5. The time now is 04:31 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
Open Source Consulting | Domain Registration