[SOLVED] Slackware 14.1 without audio! Even with loaded modules.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
By any chance have you created an /etc/alsa.conf file to load and set the oss-emulation modules as well as an .asoundrc configuration in each user home to assign the proper pcm output handlers?
Also, does your system have an HDMI output as well?
Try adding yourself to the audio group if you haven't already. (worked for me)
Code:
usermod -G (group name) (username)
To fix mine I ran:
Code:
usermod -G audio redcat
Make sure that all of the columns in the alsamixer are raised up all the way and are 'not muted.'
If the column is muted at the bottom of the column it looks like [mm] unmuted looks like [00]-
aplay -l will tell you your exact sound card (if that helps)-
With mine I had several problems.
First I had trouble with getting the right kernel module. My motherboard required the AC_97 sound driver.
I had more trouble with Alsa as it could not auto-recognize the correct mixer controls.
To get the mixer set right required running the alas config, to customize the /etc/alsa.config.
At first I had to hand edit it after config, but a later revision Alsa does not seem to require that anymore.
Even on this machine, which has had Alsa setup for years, I have lost sound and searched for an hour for some mixer setting (going through them all exhaustively) that would enable the sound for some application. I did finally find a sound control that enabled the sound from that application. It may have been a volume control in the application, which can apparently have their own mixers too.
Last edited by selfprogrammed; 07-28-2014 at 04:15 PM.
Most of the time on these laptops snd_hda_codec_hdmi 29622 1 is set up for default.
and this means you will not get sound out of your speakers.
First if you make sure your user is in audio group.
second edit your /etc/modprobe.d/sound.conf so that snd_hda_intel is the first used device.
Code:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel
from now on the correct device will do local sound.
remember there is a reason why HDMI is first laptops are mobile and for
people to connect to another video output for presentations.
You do realize why many people do not use a local .asoundrc for a default device. If you do not then take time to run different
programs that require capturing default devices and see what you fall into when running multiple audio capturing programs.
Not say your wrong you are right but far from full Fix. I would only suggest using a ~/.asoundrc if you are trying to accomplish
certain tasks with jackd.
Fact is when running multiple audio capture programs it better to set things up system wide. And allow the programs to capture individual devices.
because you will always find things like Mplayer that has there own set of rules till it is configured.
This is from my experience.
Slackware64 14.1 on a HP 1512 desktop and no audio
Which of these advices can apply to a desktop? I put 14.1 on my desktop and no sound. It is rare that I do system setups so it will take me a long time to figure it out for myself. Any suggestions appreciated.
...
I now have sound on left channel only. How can I get it to go stereo?
Last edited by rdx; 08-04-2014 at 10:36 AM.
Reason: update
Which of these advices can apply to a desktop? I put 14.1 on my desktop and no sound. It is rare that I do system setups so it will take me a long time to figure it out for myself. Any suggestions appreciated.
...
I now have sound on left channel only. How can I get it to go stereo?
Open the alsamixer in the terminal and make sure that all columns are raised up and that none are muted.
[mm] is muted. [oo] is unmuted. --If muted use the arrow key to go to that column and type the "m" key once--
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.