LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-22-2014, 05:40 PM   #1
tharsis
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Unhappy Slackware 14.1 without audio! Even with loaded modules.


I checked alsamixer and modules without success. I wonder what and how to configure the sound to work! I have no sound. nothing.


# Sound Driver:
bash-4.2 # lspci | grep-i audio
00:1 B.0 Audio device: Intel Corporation 6 Series Chipset Family Series/C200 High Definition Audio Controller (rev 05)

# Sound modules:
bash-4.2 # lsmod | grep snd
snd_hda_codec_hdmi 29622 1
snd_hda_codec_realtek 34792 1
snd_hda_intel 34861 0
snd_hda_codec 143196 3 snd_hda_codec_realtek, snd_hda_codec_hdmi, snd_hda_intel
snd_hwdep 6388 1 snd_hda_codec
snd_pcm 76009 3 snd_hda_codec_hdmi, snd_hda_codec, snd_hda_intel
snd_page_alloc 7098 2 snd_pcm, snd_hda_intel
snd_timer 18614 1 snd_pcm
snd 58630 7 snd_hda_codec_realtek, snd_hwdep, snd_timer, snd_hda_codec_hdmi, snd_pcm, snd_hda_codec, snd_hda_intel
soundcore 5354 1 snd
bash-4.2 #

# Test sound without success.
bash-4.2 # aplay-D hw: 0,3 / usr / share / sounds / alsa / Noise.wav
Playing WAVE '/ usr / share / sounds / alsa / Noise.wav': Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params: 1239: Channels count non available

bash-4.2 # cat / bin / ls> / dev / dsp
 
Old 07-22-2014, 08:32 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Is this a laptop? If so, do you have a set of external speakers you could test with, if you haven't already done so?

It's just a shot in the dark, but it might provide some useful information.
 
1 members found this post helpful.
Old 07-22-2014, 09:51 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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?
 
1 members found this post helpful.
Old 07-24-2014, 01:29 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

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)-
 
1 members found this post helpful.
Old 07-28-2014, 04:11 PM   #5
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
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.
 
1 members found this post helpful.
Old 07-28-2014, 05:22 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.

http://docs.slackware.com/howtos:har..._snd-hda-intel

you can also handle all this through kde desktop but it likes to revert.
this is why I set my own slots.
 
1 members found this post helpful.
Old 07-28-2014, 05:28 PM   #7
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
An easier solution is to create a file in your home directory '~/.asoundrc' with:
Code:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
 
1 members found this post helpful.
Old 07-29-2014, 06:24 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by metaschima View Post
An easier solution is to create a file in your home directory '~/.asoundrc' with:
Code:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
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.
 
1 members found this post helpful.
Old 08-03-2014, 09:14 PM   #9
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
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
 
1 members found this post helpful.
Old 08-04-2014, 11:11 AM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by rdx View Post
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--
 
1 members found this post helpful.
Old 08-07-2014, 06:57 PM   #11
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
success

Thanks, the mixer bars were not fully on.
 
1 members found this post helpful.
Old 08-08-2014, 10:07 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by rdx View Post
Thanks, the mixer bars were not fully on.

Your Welcome-

It's nice to have sound isn't it:-

Enjoy your system rdx and have a good weekend!
 
1 members found this post helpful.
Old 08-18-2014, 08:02 PM   #13
tharsis
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank's people!
 
  


Reply



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
Dynamically loaded modules and statically loaded modules in linux gauthamk Linux - Software 1 05-18-2008 04:28 PM
no modules loaded dasoberdick Slackware 9 06-16-2007 03:01 PM
help: using loaded modules Rostfrei Programming 4 11-16-2006 01:23 PM
Too Many Modules Loaded XSIWILL SUSE / openSUSE 2 02-24-2006 10:13 PM
Sound modules not being loaded (Slackware 9.1) Romendo Linux - Hardware 5 10-03-2003 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:49 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