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've lost my sound with the new 2.6 kernel.
The sound tester works, I hear the test sound. But the cd players rumble on without so much as a peep.
Master playback volume in asound.state is at 24.
I didn't have this problem under 2.4 kernel.
Any tips?
All I changed was Fedora, from 2.4 to 2.6 kernel, Fedora core 2.
Sound worked fine before, cable or no cable. Haven't opened the computer since then! And the test sound works!
It's never boring with Linux, always something to do!
Doesn't matter whether the test sound works. Sound problems in Fedora Core 2 are not easy to explain, because the new ALSA drivers provide two interfaces: ALSA and OSS for compatiblity with the old driver system in the 2.4 kernel series. The test sound is played with /usr/bin/play, which uses /dev/dsp (OSS). But other parts of the ALSA driver can still be switched off.
Fresh install or upgrade? What do you have in /etc/modprobe.conf? What does /sbin/lsmod print out?
My /etc/modules.conf
alias eth0 8139too
alias usb-controller usb-uhci
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# Note: for use under 2.6, changes must also be made to modprobe.conf!
My /etc/modprobe.conf and I did an upgrade, not a new installation
# Note: for use under 2.4, changes must also be made to modules.conf!
alias eth0 8139too
alias usb-controller uhci-hcd
alias snd-card-0 snd-via82xx
install sound-slot-0 /sbin/modprobe --first-time --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-0
Don't like the look of that >/dev/null under sound-slot 0, but I don't want to mess with the file without any advice, so if you have time for an opinion, thanks!
My /etc/modprobe.conf and I did an upgrade, not a new installation
That's the important information. You have a wrong /etc/modprobe.conf due to that. I suggest you delete /etc/modules.conf because you won't get back to a 2.4 kernel. Then edit your /etc/modprobe.conf to contain this:
Code:
alias eth0 8139too
alias usb-controller uhci-hcd
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
That is, delete the two "install" and "remove" lines from your existing /etc/modprobe.conf and add the two red coloured lines from above. They are responsible for restoring ALSA mixer settings when the system boots and the audio driver is loaded (and saving mixer settings when the module is unloaded, should happen rarely).
Apart from that, it's the VIA82xx chipset again. Really make sure, you run alsamixer and un-mute all available audio channels. Do ordinary audio players work? E.g. Rhythmbox or XMMS (when configured to output via ALSA)?
Also, but unrelated, in your list of kernel modules, there are SCSI generic modules loaded. In case this is because you tried to activate a CD/DVD burner via SCSI emulation "ide-scsi=/dev/hdx" in the kernel command-line of your boot loader, don't do that. It's obsolete with kernel 2.6 and documented in the FC2 release notes. On the other hand, if you have SCSI hardware, ignore this posting.
Well thanks very much. You know what you're talking about. I was trying to copy a music cd, as they get scratched so easy. And my old command line for cdrdao wouldn't work. Under 2.6, my writer is 1,1,0 not 0,0,0. But even that didn't help. Then someone told me to write /dev/hdd, and bingo, works again.
I'll change modules.conf in modules.conf .old, junk the original, then see what happens. Thanks for your trouble.
I'll let you know if it works.
Well, the good news is, I've got sound now thanks to your advice. For some reason I haven't got much volume even with it on max, but it is loud enough for me.
So thanks very much for your help, and if I can do anything for you, just email!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.