Bug 61538

Summary: PulseAudio always reports headset plugged in
Product: PulseAudio Reporter: Mathieu Bridon <bochecha>
Component: miscAssignee: pulseaudio-bugs
Status: RESOLVED NOTOURBUG QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of « pactl list » with no headphones plugged in
Output of « pactl list » with headphones plugged in
Output of « alsa-info » with no headphones plugged in
Output of « alsa-info » with headphones plugged in

Description Mathieu Bridon 2013-02-27 02:43:02 UTC
I recently opened a bug against GNOME Shell, because it was constantly displaying the headset icon even when I don't have a headset plugged in:
    https://bugzilla.gnome.org/show_bug.cgi?id=694680

After investigation, it turns out that PulseAudio always reports that I have a headset plugged in:
    https://bugzilla.gnome.org/show_bug.cgi?id=694680#c2
    https://bugzilla.gnome.org/show_bug.cgi?id=694680#c3

What more information can I provide for debugging this?
Comment 1 Arun Raghavan 2013-02-27 02:54:34 UTC
Please attach the output of alsa-info when 1. headphones are plugged in and, 2. when they're not.

Also the output of pactl list.
Comment 2 Mathieu Bridon 2013-02-27 13:20:11 UTC
Created attachment 75633 [details]
Output of « pactl list » with no headphones plugged in
Comment 3 Mathieu Bridon 2013-02-27 13:20:58 UTC
Created attachment 75634 [details]
Output of « pactl list » with headphones plugged in
Comment 4 Mathieu Bridon 2013-02-27 13:21:35 UTC
Created attachment 75635 [details]
Output of « alsa-info » with no headphones plugged in
Comment 5 Mathieu Bridon 2013-02-27 13:22:58 UTC
Created attachment 75636 [details]
Output of « alsa-info » with headphones plugged in

Here's the last thing you requested Arun.

Let me know if there's any more information I can provide to help.
Comment 6 Raymond 2013-08-23 03:34:40 UTC

if BIOS setup one of the headphone jack as Line Out Node 0x0f

the driver still need to enable unsolicited event for jack detection when it retasked Line Out as Headphone



/sys/class/sound/hwC0D2/init_pin_configs:
0x0a 0x0221101f
0x0b 0x40f000f1
0x0c 0x90a79130
0x0d 0x90170110
0x0e 0x02813050
0x0f 0x02011020
0x10 0x40f000f2
0x11 0x40f000f3
0x12 0x40f000f4
0x13 0x40f000f7
0x14 0x40f000f5
0x21 0x934470a0
0x22 0x40f000f6

/sys/class/sound/hwC0D2/driver_pin_configs:
0x0c 0x90a79130
0x0f 0x0227011f
0x0e 0x02a79130




Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0221101f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 2
     0x02* 0x03


Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02011020: [Jack] Line Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x05
Comment 7 David Henningsson 2014-09-02 10:38:55 UTC
Looking at your alsa info, there is no control called "Headphone Jack", or similar. Given the rewrite of the HDA driver in Linux 3.9, I also find it likely that your issue will be fixed if you upgrade to a newer kernel.

Anyway, it's a kernel issue rather than a PulseAudio issue.
Comment 8 Mathieu Bridon 2014-09-02 14:17:44 UTC
> I also find it likely that your issue will be fixed if you upgrade to a newer kernel.

Indeed, I haven't seen this bug in so long I had completely forgotten about it.

It definitely was fixed by an update, sorry I never came back to close this bug.

Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.