FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
I thought i got my integrated 82801DB AC'97 Audio Controller (module: i810_audio) installed and working with ALSA. I rebooted after the install, and sound was working perfectly.
I just now got into Linux, a night later, and sound isn't working at all. I have no idea what the problem could be, I went through all of the steps necessary. I installed all of the ALSA rpms I needed and did modprobe for my module.
When I type in alsamixer into the terminal, I get this message:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
I have not tried alsactl to save my settings. Would that have anything to do with it? If so, how do I get it working again so I can save the correct state?
It was a little bit fuzzy but I used a good howtos from google.
you disable your sounddriver in the kernel and let sound configured as module
build kernel and modules and install.
then build alsa-driver, afterwards alsa-lib and utils
I downloaded also the alsaplayer and put everything under /opt/alsa.
No I just miss a gtk-mixer
What was important to do is run after installation from the shell following lines - that actually unmuted the alsa-driver
# amixer set Master 100 unmute
# amixer set PCM 100 unmute
# amixer
starting alsamixer didn't unmute
now after this I added some stuff like this below in /etc/modules.conf (Oh, my god, debians conf area! Don't warry it worked!)
I got the output from another program called alsaconf (you find it under $PREFIX/sbin)
If you have devfs (i.e. distros like mandrake and redhat use it as far as I know), then there are different files to modify, consult the docs.
#
## ALSA portion
alias snd-card-0 snd-emu10k1
## If you have more than one, add:
## alias snd-card-1 snd-intel8x0
## alias snd-card-2 snd-ens1370
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
I think it's better to start experimenting with kernel higher than 2.5 as alsa can be compiled from within the kernel
Ok, I went to disable my sound drivers using this method as described the that guide and ran into a little problem:
First of all, here is the guide to remove or diable the sound drivers:
Code:
# cd /usr/src/linux
# cp .config /
# make mrproper
# cp /.config .
# make menuconfig
I got this output when I foloowed the first two steps:
Code:
[root@localhost root]# cd /usr/src/linux-2.4.22-1.2149.nptl
[root@localhost linux-2.4.22-1.2149.nptl]# cp .config /
cp: cannot stat `.config': No such file or directory
What am I supposed to do? I guess I don't have that .config file. Is it a different name in my kernel?
This is very brief what I wrote, relaying on it would afford a lot of imagination.
Read more about the kernel, cause it means you've never build a kernel (at least in this directory) before.
So skip this and fire make xconfig (I hope you're using the X server)
On some distros the make script finds the configuration of the kernel you are using at the moment, its usualy in /boot
you can copy this file for sure in the kernel directory
i.e.
cp /boot/config-2.4.24-EMO /usr/src/linux/.config
and
make xconfig
so now follow my instructions, but read more about building and installing a kernel. I don't have time to write all the stuff, as it has been already written.
Ok, I just got a book about Linux, and read the section about modules and I think I get it now. I have one question, though. How can I tell if my sound is controlled in the kernel? I think that it is controlled by modules right now. Here's my lsmod:
Hi,
I think I was in some kind of coma, I did die! I am single again, I moved, spent a week in munich, got 31 and have to work 10hours a day :~# in the next 2months
what would you say - I yould say cheers!
I have now new ip for all of you wanting to read this alsa stuff
The sound card IS controlled by the module and the module IS part of the kernel (at least becomes after you load it - think as of piece of puzzle ).
There is a lot of information on the net and a discussion why ALSA is better than OSS and vice-versa.
For me - I made my choice ALSA!
if removing the modules and inserting the alsa once doesn't help, disable the automatic load of the modules at boot time and replace them with the alsa once.
I did it and it worked after I rebooted - you have to reboot anyway to use the new kernel, but afterwords you can do this and experiment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.