Headphone Out, Front - Plugging in (and out) not recognized

Bug #776599 reported by iMac
2
Affects Status Importance Assigned to Milestone
ALSA driver
Invalid
Undecided
Unassigned
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

If I plug a headset into a headphone jack, the sound is still played through the integrated speakers. If I plug a headset in prior to power on, sound is played through the headset and then unplugging the headset does not switch sound to the internal speakers.

No issues on HDMI output or with the Ubuntu pulseaudio 1:0.9.22 that I am aware of. My hardware has three jacks (mic+2 headphone) and subwoofer.

Distro: Ubuntu 11.04
Kernel Info: 2.6.38-9-generic, ALSA 1.0.23
ALSA Userspace: 1.0.24

/proc/interrupts shows MSI
 46: 17 68 PCI-MSI-edge hda_intel

$ cat /proc/asound/card0/codec#* | grep Codec
Codec: IDT 92HD71B7X
Codec: LSI ID 1040

From lspci I see these devices (included the HDMI for reference)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.2 0403: 1002:4383

01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
08:00.1 0880: 197b:2382

On boot, I see the input jacks are detected
[ 21.503587] input: HDA ATI SB Mic at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[ 21.504364] input: HDA ATI SB HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/sound/card0/input11

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: alsa-base 1.0.24+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: imac 2529 F.... pulseaudio
 /dev/snd/pcmC0D0p: imac 2529 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd2400000 irq 16'
   Mixer name : 'IDT 92HD71B7X'
   Components : 'HDA:111d76b2,103c30fd,00100302 HDA:11c11040,103c137e,00100200'
   Controls : 22
   Simple ctrls : 14
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd2310000 irq 46'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue May 3 13:17:46 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Internal Audio - HDA ATI SB
Symptom_Jack: Green Headphone Out, Front
Symptom_Type: No auto-mute between outputs
Title: [HP Pavilion dv7 Notebook PC, IDT 92HD71B7X, Green Headphone Out, Front] No automute
UpgradeStatus: Upgraded to natty on 2011-04-06 (27 days ago)
dmi.bios.date: 08/17/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.49
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 30FD
dmi.board.vendor: Compal
dmi.board.version: 01.99
dmi.chassis.type: 10
dmi.chassis.vendor: Compal
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.49:bd08/17/2009:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr1:rvnCompal:rn30FD:rvr01.99:cvnCompal:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 1
dmi.sys.vendor: Hewlett-Packard
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: imac 2515 F.... pulseaudio
 /dev/snd/pcmC0D0p: imac 2515 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd2400000 irq 16'
   Mixer name : 'IDT 92HD71B7X'
   Components : 'HDA:111d76b2,103c30fd,00100302 HDA:11c11040,103c137e,00100200'
   Controls : 22
   Simple ctrls : 14
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd2310000 irq 46'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.04
NonfreeKernelModules: fglrx
Package: alsa-driver (not installed)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Tags: natty running-unity
Uname: Linux 2.6.38-9-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-04-06 (28 days ago)
UserGroups: adm admin cdrom dialout dip disk fax fuse libvirtd lpadmin mythtv netdev plugdev pulse pulse-access sambashare scanner tape vboxusers vde2-net video
dmi.bios.date: 08/17/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.49
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 30FD
dmi.board.vendor: Compal
dmi.board.version: 01.99
dmi.chassis.type: 10
dmi.chassis.vendor: Compal
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.49:bd08/17/2009:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr1:rvnCompal:rn30FD:rvr01.99:cvnCompal:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 1
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
iMac (imac-netstatz) wrote :
Revision history for this message
iMac (imac-netstatz) wrote :

A diff on Symptom_JackPlugged.txt and Symptom_JackUnplugged.txt indicates they are identical, though I did unplug and re-plug while listening to music during my bug report per the instructions. This seems to indicate that the event is not being detected, similar to a recent upstream bug I am linking.

(I had to plug in my headset before power on, and the sound did not play thru speakers as described above.)

Changed in alsa-driver:
status: Unknown → New
iMac (imac-netstatz)
Changed in alsa-driver:
status: New → Unknown
Revision history for this message
iMac (imac-netstatz) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
iMac (imac-netstatz) wrote : AplayDevices.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : BootDmesg.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : CurrentDmesg.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : PciMultimedia.txt

apport information

Revision history for this message
iMac (imac-netstatz) wrote : ProcCpuinfo.txt

apport information

Changed in alsa-driver:
status: Unknown → New
Revision history for this message
iMac (imac-netstatz) wrote :

After performing more tests with the various "models" I noticed that my default mixer values had changed. After inspecting my alsa-info output from each model= configuration, I realized that I ran my initial apport-collect with model=hp-dv5. I've re-run apport with no module parameters which seems to be most correct. In both cases the headset was plugged in.

The diff on my original apport vs above update for the Mixer and Codec for my STAC 92HD71B71 is below, sorry for the multiple posts, that's just how apport decided to do it. With dv-hp5 the card continuously appears to reset, resulting in a "pop" from the speaker, a mute-unmute cycle and whatever is playing stops, every 30 seconds or so. So I believe no option is correct for my hardware. The hp-hdx option takes away the subwoofer.

I have attached an alsa-info.sh script output too, also attached to the upstream bug.

$ diff Card0.Amixer.values.txt (updated_auto) Card0.Amixer.values.txt(original_hp-dv5)
51c51
< Mono: Playback 0 [0%] [-18.00dB] [on]
---
> Mono: Playback 1 [33%] [-12.00dB] [off]
74,75c74,75
< Front Left: Capture 0 [0%] [0.00dB]
< Front Right: Capture 0 [0%] [0.00dB]
\ No newline at end of file
---
> Front Left: Capture 3 [100%] [30.00dB]
> Front Right: Capture 3 [100%] [30.00dB]
\ No newline at end of file

$ diff Card0.Codecs.codec.0.txt(updated_auto) Card0.Codecs.codec.0.txt (original_hp-dv5)
158c158
< Amp-Out vals: [0x00 0x00]
---
> Amp-Out vals: [0x03 0x03]

Revision history for this message
iMac (imac-netstatz) wrote :

Alsa Info Ouput with headset plugged in at boot.

Revision history for this message
iMac (imac-netstatz) wrote :

Everything fixed with the postition_fix workaround,

options snd-hda-intel position_fix=1

iMac (imac-netstatz)
Changed in alsa-driver:
importance: Unknown → Undecided
status: New → Invalid
Changed in alsa-driver (Ubuntu):
status: New → Invalid
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.