Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-27-2006, 08:46 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Rep:
|
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.
|
|
|
01-27-2006, 09:19 AM
|
#2
|
Member
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84
Rep:
|
have you tried running alsaconf?
|
|
|
01-27-2006, 10:09 AM
|
#3
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
Yeah, I ran alsaconf and selected my sound card. Alsaconf did its thing, but I still get the same error.
|
|
|
01-27-2006, 10:16 AM
|
#4
|
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:
|
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?
|
|
|
01-27-2006, 12:01 PM
|
#5
|
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:
|
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.
|
|
|
01-27-2006, 03:48 PM
|
#6
|
Member
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84
Rep:
|
after running alsaconf did you try:
alsactl store
to store the current driver state.
|
|
|
01-27-2006, 05:39 PM
|
#7
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
Yeah, but that didnt work.
|
|
|
01-27-2006, 07:00 PM
|
#8
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
You must reinstall alsa after a kernel compilation. Best thing is read up on alsa site about installation and kernel options
|
|
|
01-27-2006, 10:12 PM
|
#9
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
So I need to download alsa-lib and asla-utils and install those?
|
|
|
01-28-2006, 12:53 AM
|
#10
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
alsa-driver is the main one but I would reinstall all
|
|
|
01-28-2006, 03:11 AM
|
#11
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
01-30-2006, 09:27 AM
|
#12
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
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?
|
|
|
01-30-2006, 10:42 AM
|
#13
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
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
|
|
|
01-30-2006, 11:58 AM
|
#14
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
Ok thanks. that worked 
|
|
|
All times are GMT -5. The time now is 04:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|