You are not logged in.

#1 2013-01-15 05:00:45

lionel_hutz
Member
Registered: 2012-08-06
Posts: 7

Pulseaudio is anti-headphone volume

Hi all,

I'm struggling to get pulseaudio to play nicely with my headphone jack.  I can get sound out of my speakers, but the second I plug in headphones, the speakers are muted as they should be and the port in pavucontrol is correctly switched from speakers to headphones.  The problem is that headphones volume controller in pavucontrol does nothing, and in order to get sound out of my headphones, I must manually switch the port control from headphones to speakers.  In doing so, my laptop's speakers stay muted and the headphones work correctly.  But every time I unplug my headphones, the speaker controller gets muted and every time I plug in my headphones, the speakers are muted and the controller switches from speakers to headphones, as I previously explained.

I have an hp dv6 and the output of aplay -l is

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

I'm running the latest kernel and pulseaudio and the install is about a week old, so I haven't tampered with any configuration files

Anyone have any ideas on what I could do?  And I apologize if I did a bad job of explaining my problem.

Last edited by lionel_hutz (2013-01-15 05:02:29)

Offline

#2 2013-01-15 18:37:17

winBUG$_hater
Banned
Registered: 2013-01-12
Posts: 25

Re: Pulseaudio is anti-headphone volume

I tell U...pulseaudio sucks!

Offline

#3 2013-01-15 18:56:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,417

Re: Pulseaudio is anti-headphone volume

winBUG$_hater wrote:

I tell U...pulseaudio sucks!

Please do not troll.  That post is a complete, total waste of time and resources, does nothing to promote intelligent discussion, and reflects poorly upon the author.  Do not repeat this.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Online

#4 2013-01-15 18:58:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,417

Re: Pulseaudio is anti-headphone volume

Did the headphones ever work with Pulseaudio?  How about if you use just straight Alsa?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Online

#5 2013-01-16 18:17:11

lionel_hutz
Member
Registered: 2012-08-06
Posts: 7

Re: Pulseaudio is anti-headphone volume

ewaller wrote:

Did the headphones ever work with Pulseaudio?  How about if you use just straight Alsa?

I've tried using alsa, but neither my headphone jack nor speakers worked with it.

Offline

#6 2013-03-01 18:36:46

unhammer
Member
Registered: 2009-10-01
Posts: 97
Website

Re: Pulseaudio is anti-headphone volume

don't know the solution, but the workaround I use is to set the correct port at the start of my volume-up/down script:
https://gist.github.com/unhammer/5066729
which I've set to run on hitting my keyboard vol up/down keys, so it's just a single keypress after plugging in the jack. Ugly, but I tend to hit volume keys whenever plugging in/out stuff anyway wink

Offline

Board footer

Powered by FluxBB