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.
|
|
|
02-26-2014, 11:51 AM
|
#1
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Rep:
|
Slack 14.1, sound configured okay, no audio output
This is a new install of 14.1 on Lenovo hardware. Sound devices like so:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
When I play an audio file, the system thinks it's working:
$ aplay -D plughw:1,0 alarm.oga
Playing raw data 'alarm.oga' : Unsigned 8 bit, Rate 8000 Hz, Mono
but I get no audio output. I know this has come up before but I didn't see any clear solution. Any ideas?
thanks!
|
|
|
02-26-2014, 12:12 PM
|
#2
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
I just had a similar problem so I opened alsamixer and turned the volume up on all the outputs and unmuted everything and found that my sound was coming from the front channel instead of master, pcm, or headphone. Don't know if thats your problem but figured I throw it out there.
|
|
|
02-26-2014, 12:41 PM
|
#3
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
I wondered about that myself. I have turned up everything except the headphone line, which won't budge off of 0. I wonder if that's my problem.
|
|
|
02-26-2014, 12:57 PM
|
#4
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
I just found this harry after doing a search for alc662 and slackware 14. It's for 13.37 but maybe worth a try. The guy has the same chipset as you.
http://www.linuxquestions.org/questi...-found-910104/
|
|
|
02-26-2014, 12:59 PM
|
#5
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
See allend's post there is a listing for a lenovo laptop --> lenovo-101e Lenovo laptop
You may need to supply a model option to the snd-hda-intel kernel module.
Create a file /etc/modprobe.d/snd-hda-intel.conf with a line like this.
Code:
options snd-hda-intel model=auto
Possible models for the ALC662 can be found in /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt
many said that fixed their problems.
Last edited by bmarley83; 02-26-2014 at 01:01 PM.
|
|
|
02-26-2014, 01:08 PM
|
#6
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
Well it was worth a shot. I made that conf file and rebooted, no change. I wonder if this card is some new revision that needs some specific workaround.
|
|
|
02-26-2014, 01:14 PM
|
#7
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
IDK but I found this and he seems to have the same problem as you but its an old post with no replies. https://bbs.archlinux.org/viewtopic.php?id=154564
|
|
|
02-26-2014, 01:16 PM
|
#8
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
If I was you I would go to this list and try all the modules listed under 66x, its a little tedious but it might work. https://www.kernel.org/doc/Documenta...dio-Models.txt
|
|
|
02-26-2014, 01:18 PM
|
#9
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by bmarley83
|
Maybe tedious but better than buying a new sound card for a brand new computer. Thanks, I'll try it.
|
|
|
02-26-2014, 01:29 PM
|
#10
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
I found this too on an ubuntu forum http://ubuntuforums.org/showthread.php?t=803343
these options might be of interest as well as the ones in the other document
ALC662/663
3stack-dig 3-stack (2-channel) with SPDIF
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
6stack-dig 6-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-p701 ASUS Eeepc P701
eeepc-ep20 ASUS Eeepc EP20
m51va ASUS M51VA
g71v ASUS G71V
h13 ASUS H13
g50v ASUS G50V
auto auto-config reading BIOS (default)
one guy down mid page fixed his by changing it to options snd-hda-intel model=lenovo
Last edited by bmarley83; 02-26-2014 at 01:31 PM.
|
|
|
02-26-2014, 01:50 PM
|
#11
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
Thanks for all your help guys, but no luck. I've tried all those models, no change.
So what's the best sound card to buy for linux these days? Are there any that are known to work 100%?
|
|
|
02-26-2014, 01:59 PM
|
#12
|
Senior Member
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077
|
I believe it just a matter of setting the default output port.
Note that by default, card0 is an HDMI output port. You probably are not listening to the audio through HDMI, so you want your system to see card1 (an analogue output, ie, your computer's speakers) to be the default.
Create a ~/.asoundrc file and put this into it:
Code:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
pcm.!default {
type hw
card 1
device 0
}
ctl.!default {
type hw
card 1
device 0
}
pcm.dsp {
type plug
slave.pcm "dmix"
I don't know, you may have to reboot or re login or something; I don't recall when it kicks in, but try that and you should be good.
As to which laptop to buy, may I just say that System76 is ... amazing? top quality laptops, full Linux compatibility. Also I've heard good things about ZaReason.
Last edited by notKlaatu; 02-26-2014 at 02:00 PM.
|
|
|
02-26-2014, 02:07 PM
|
#13
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by notKlaatu
I believe it just a matter of setting the default output port.
|
I should have mentioned before, I did make this file.
|
|
|
02-26-2014, 02:36 PM
|
#14
|
LQ Newbie
Registered: Nov 2013
Posts: 17
Original Poster
Rep:
|
ATTENTION: I AM A MORON.
The damn mute was on the master channel the whole time. Wow.
Last edited by HarryStone; 02-26-2014 at 02:39 PM.
|
|
1 members found this post helpful.
|
02-26-2014, 02:47 PM
|
#15
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
LMAO! Dude I want some of that shit your smoking, you should change your name to HarryStoned Naw but I do that all the time. I just started using "alsactl store" to make sure it saves the config. But I'm glad you got it fixed and don't have to shell out the extra cash.
Quote:
Originally Posted by bmarley83
I just had a similar problem so I opened alsamixer and turned the volume up on all the outputs and unmuted everything
|
Edit: You should mark it solved.
Last edited by bmarley83; 02-26-2014 at 02:52 PM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 05:54 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
|
|