You are not logged in.

#1 2012-04-30 00:27:00

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

No playback via speakers

I currently have output from alsa via headphones, but not via the speakers on my laptop.
I'm not sure of what commands to post the output for, but I am fully updated.

I'd appreciate any help

EDIT
alsamixer states i have
card : HDA Intel

chip: Realtek ALC 889

Last edited by theflyingfool (2012-04-30 01:55:00)

Offline

#2 2012-04-30 00:34:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,512
Website

Re: No playback via speakers

As a first step, have you tried alsamixer ?

When run you should see separate volume bars you can adjust for the speakers and for headphones.  If this is the case, great - if not, you may need to configure alsa a bit.  The first step in doing that would be checking the output of `aplay -l` (that's a lower case L).  Actually the first step would be to read the ALSA page on the wiki.  But I assume you have already done that - or will do so before returning smile  If/when you get stumped working through the steps of the wiki page, come back with output from the tests/steps directed in the wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-04-30 01:25:19

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

I have tried alsamixer, I have also tried loading snd-hda-intel with different models to see if that is the case, have read the alsa wiki page, as well as asked about this problem on IRC without much success

Last edited by theflyingfool (2012-04-30 01:25:33)

Offline

#4 2012-04-30 01:38:24

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

$lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi     24120   4
snd_hda_codec_realtek  114123  1
snd_hda_intel          23989   0
snd_hda_codec          92713   3  snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hwdep              6556    1  snd_hda_codec
snd_pcm                74812   3  snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc         7217    2  snd_pcm,snd_hda_intel
snd_timer              19222   1  snd_pcm
snd                    59656   7  snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
$aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

>>>

Last edited by ewaller (2012-04-30 01:46:08)

Offline

#5 2012-04-30 01:42:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: No playback via speakers

That looks okay.  Let's look elsewhere.
Are you using pulseaudio ?

If so, may I suggest you install pavucontrol and play with the output devices tab?

edit: Also, when you post program output, it is appreciated if you use BBCode code tags.  There is a link below the post text boxes to provide a quick reference.

I am taking the liberty to add them to your post.  You can edit that post to see how it is done. smile

Last edited by ewaller (2012-04-30 01:45:25)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-04-30 01:45:28

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

I'm fairly sure i'm not using pulseaudio.  How would i double check.

and since i'm not using pulse will pavucontrol actually help?

Offline

#7 2012-04-30 01:48:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: No playback via speakers

theflyingfool wrote:

I'm fairly sure i'm not using pulseaudio.  How would i double check.

ewaller@odin:~ 1003 %ps -ef | grep pulseaudio
ewaller  1408    1  0 Apr28 ?        00:00:18 /usr/bin/pulseaudio --start
ewaller  8268 8204  0 18:47 pts/2    00:00:00 grep pulseaudio
ewaller@odin:~ 1004 %

and since i'm not using pulse will pavucontrol actually help?

No.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2012-04-30 01:48:03

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

ewaller wrote:

I am taking the liberty to add them to your post.  You can edit that post to see how it is done. smile

Thanks I tried doing it myself but thought the bracket was < instead of [

Offline

#9 2012-04-30 01:50:13

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

ps -ef | grep pulseaudio
root     31125 29265  0 20:48 pts/4    00:00:00 grep pulseaudio

I feel stupid but I'm assuming that output means I am using pulse?

Offline

#10 2012-04-30 01:55:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: No playback via speakers

No, it is not running.  The ps command shows all of the running processes.  The grep throws out everything that does not have 'pulseaudio' in the command line.  grep was running, looking for the word 'pulseaudio', so grep showed up in both our outputs.  On mine pulseaudio was running, so it showed up as well.

Let me ponder...

Edit: Okay, I went back a read the OP.  It is a laptop, so I'll not ask if the speakers are on, and plugged in tongue  Still thinking...

Last edited by ewaller (2012-04-30 02:00:23)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2012-04-30 01:59:41

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

Would/Could using OSS or Pulse fix my problem. the only reason I usually use alsa is its light weight, and if that did work would it be easy(ish) to revert back to just ALSA

Offline

#12 2012-04-30 02:19:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: No playback via speakers

Pulse will not help if Alsa is not working.  I have not used OSS in years -- no suggestions there. 

Try this.  It has been a long, long time since I have had to use this -- I may not remember the incantations; Or they are obsolete. YMMV

Add the following line:
options snd-hda-intel enable_msi

to /etc/modprobe.d/sound.conf.  Then reboot.
My HP used to require MSI (Message Signaled Interrupts) to detect the insertion and removal of the audio jack.

No guarantees.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2012-04-30 02:31:46

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

no luck with msi, thanks for the suggestion

Offline

#14 2012-04-30 02:41:55

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: No playback via speakers

The first step is to try different "model=" options. Example.

Offline

#15 2012-04-30 02:43:46

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

my alsamixer

Offline

#16 2012-04-30 02:44:51

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

brebs wrote:

The first step is to try different "model=" options. Example.

please see third post

Offline

#17 2012-04-30 02:53:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: No playback via speakers

Okay, one last thought.  Your alsamixer screen above is showing only the playback devices.  Hit F5 to see all devices, and then play with them all.  Sometimes, things like switches and multiplexer controls show up as binary controls.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#18 2012-05-23 01:32:32

theflyingfool
Member
From: Fort Polk, LA
Registered: 2012-04-30
Posts: 19

Re: No playback via speakers

Issue was Solved... and sadly i don't recall what i did to do it sad

Offline

Board footer

Powered by FluxBB