[HP Pavilion dv7 Notebook PC, IDT 92HD75B3X5, Internal] Speakers not disabled when headphone jack plugged in

Bug #870360 reported by Reece H. Dunn
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I plug headphones into the headphone socket, I can hear audio through both the headphones and speakers.

Running alsamixer and setting the Speakers to 0% works, but pulseaudio/volume control keep resetting this to 100% on reboot and other times.

Opening Sound Settings > Output, it only lists Analog Speakers in the Connector list.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: alsa-base 1.0.24+dfsg-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: reece 6658 F.... pulseaudio
 /dev/snd/pcmC0D0p: reece 6658 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdb100000 irq 47'
   Mixer name : 'IDT 92HD75B3X5'
   Components : 'HDA:111d7603,103c365c,00100202'
   Controls : 21
   Simple ctrls : 13
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xd3000000 irq 48'
   Mixer name : 'Nvidia GPU 0a HDMI/DP'
   Components : 'HDA:10de000a,10de0101,00100100'
   Controls : 16
   Simple ctrls : 4
CheckboxSubmission: 5434425585a31b50d9fa7c3153a37fe1
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Fri Oct 7 23:23:17 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel successful
Symptom_Card: Internal Audio - HDA Intel
Symptom_Jack: Speaker, Internal
Symptom_PulsePlaybackTest: PulseAudio playback test successful
Symptom_Type: None of the above
Title: [HP Pavilion dv7 Notebook PC, IDT 92HD75B3X5, Speaker, Internal] Playback problem
UpgradeStatus: Upgraded to oneiric on 2011-09-24 (13 days ago)
dmi.bios.date: 01/22/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.16
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 365C
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 32.24
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.16:bd01/22/2010:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr049D210000241210000020000:rvnHewlett-Packard:rn365C:rvr32.24:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 049D210000241210000020000
dmi.sys.vendor: Hewlett-Packard
modified.conffile..etc.modprobe.d.alsa.base.conf: [modified]
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2011-09-24T18:28:07.004905

Revision history for this message
Reece H. Dunn (msclrhd-gmail) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

Hmm, I'm unduplicating due to the last comment:

"David: These are labelled with a headphone on my laptop (see h20424.www2.hp.com/program/cnb/kr/ko/resources/dv7-new-brochure.pdf) It has the same headphone symbol as on page 3. Page 4 clearly labels it as having 2 headphone jacks and 1 microphone jack."

According to your BIOS, these are the jacks you have:

Node 0x0b: [Jack] Mic at Ext Front
Node 0x0f: [Jack] Line Out at Ext Front
Node 0x1e: [Jack] SPDIF Out at Ext Front
...and internal mic and speakers.

I'm wondering if you really have two headphone jacks, maybe one of them is digital out / spdif only?

Revision history for this message
Reece H. Dunn (msclrhd-gmail) wrote :

I can get audio using either of the two headphone jack connectors (middle and right connectors) in my headphones (ordinary in-ear headphones). A google search on S/PDIF mentions that some laptops have a combined S/PDIF and headphone connector socket, which is likely to be one of the jacks on the front panel.

With alsamixer:
   Speaker -- effects the internal built-in speaker volume
   Front -- effects the volume of the headphone jacks
   Master -- effects both Speaker and Front volume

So for me, alsa/alsamixer are applying the volume correctly. Also, the jack detection was working with Ubuntu before the switch to pulseaudio, and worked on the Vista setup that came with the machine.

I will try the suggested fix on the other defect to see if that works for me as well.

Revision history for this message
Reece H. Dunn (msclrhd-gmail) wrote :

Applying the change to /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf to ignore the Front element actually works better for me than what I had before, although it does not work correctly:

With headphones plugged in, I hear audio through the headphones (not through headphones and speakers).

With headphones unplugged, I don't hear anything (speakers are not playing anything).

Muting then unmuting the audio through the Sound Settings dialog mutes and unmutes the speakers only.

Revision history for this message
David Henningsson (diwic) wrote :

The Jack stuff is interesting - I wonder if these two headphone jacks actually is connected to the same pin perhaps? Could you install snd-hda-tools from https://launchpad.net/~diwic/+archive/ppa/+build/2768994/+files/snd-hda-tools_0.20110516%7Eoneiric1_amd64.deb
and then run "sudo hda-jack-sense-test -a" - with different jacks plugged and unplugged (e g try both headphone jacks independently) you should be able to figure out with node number belongs to which jack.

Revision history for this message
Reece H. Dunn (msclrhd-gmail) wrote :

Left = Mic ; Mid = Headphone ; Right = Headphone

0. With nothing connected to the front:

$ sudo hda-jack-sense-test -a
Sigmatel specific "Power-Map: 0x00" verb ignored for the moment
Sigmatel specific "Analog Loopback: 0x00" verb ignored for the moment
Pin 0x0a (Not connected): present = No
Pin 0x0b (Black Mic): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Speaker): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Green Line Out): present = No
Pin 0x14 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1e (Black SPDIF Out): present = No
Pin 0x1f (Not connected): present = No
Pin 0x20 (Not connected): present = No

1. With a connection on the Right (mic):

$ sudo hda-jack-sense-test -a
Sigmatel specific "Power-Map: 0x00" verb ignored for the moment
Sigmatel specific "Analog Loopback: 0x00" verb ignored for the moment
Pin 0x0a (Not connected): present = No
Pin 0x0b (Black Mic): present = Yes
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Speaker): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Green Line Out): present = No
Pin 0x14 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1e (Black SPDIF Out): present = No
Pin 0x1f (Not connected): present = No
Pin 0x20 (Not connected): present = No

2. With a connection to the Middle jack (headphones):

$ sudo hda-jack-sense-test -a
Sigmatel specific "Power-Map: 0x00" verb ignored for the moment
Sigmatel specific "Analog Loopback: 0x00" verb ignored for the moment
Pin 0x0a (Not connected): present = No
Pin 0x0b (Black Mic): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Speaker): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Green Line Out): present = Yes
Pin 0x14 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1e (Black SPDIF Out): present = No
Pin 0x1f (Not connected): present = No
Pin 0x20 (Not connected): present = No

3. With a connection to the Right (headphone):

$ sudo hda-jack-sense-test -a
Sigmatel specific "Power-Map: 0x00" verb ignored for the moment
Sigmatel specific "Analog Loopback: 0x00" verb ignored for the moment
Pin 0x0a (Not connected): present = No
Pin 0x0b (Black Mic): present = No
Pin 0x0c (Not connected): present = No
Pin 0x0d (Internal Speaker): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Green Line Out): present = Yes
Pin 0x14 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1e (Black SPDIF Out): present = No
Pin 0x1f (Not connected): present = No
Pin 0x20 (Not connected): present = No

NOTE: I don't have a S/PDIF cable/connector to try the S/PDIF output.

So ...

Pin 0x0b (Black Mic): present = left jack/connector on the front
Pin 0x0f (Green Line Out): present = middle *and* right jack/connector on the front

Revision history for this message
Reece H. Dunn (msclrhd-gmail) wrote :

Sorry, 1 should read Left (mic)!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
David Henningsson (diwic) wrote :

Ok, so from the software's standpoint, the two jacks are one and the same.

Revision history for this message
Alex Shtof (alex-shtf) wrote :

Any workarounds?

Revision history for this message
David Henningsson (diwic) wrote :

Bug 877954 is awaiting SRU. That would explain why speakers are not unmuted on unplug.

Revision history for this message
Philipp Gassmann (phiphi.g) wrote :

Workaround:
Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf

Change [Element Front] and [Element Speaker]
;switch = mute
;volume = merge
switch = ignore
volume = ignore

you can then use alsamixer for the levels of Speaker / Headphone
Pulseaudio affects Master and PCM.
execute "killall pulseaudio" to reload config

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :

refer to 92hd75 datasheet

port A is the only output which support HP

Port Functionality Single function (Input only / output only) ports allow for the highest possible performance. •Port A supports • Headphone Out • Line Out
 •Ports B and C support •Line In •Mic with0/10/20/30/40 dB boost
 • Port D supports •Line Out
 •Port E supports •Line In •Mic with0/10/20/30/40 dB boost
•Port F supports (48 version only) •Line Out

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*

try hda-verb

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.