sound output connector reverts to headphones on boot

Bug #1085552 reported by hangfirew8
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

On each boot, System Settings->Sound->(Output Tab)->Connector comes up as Headphones. Sound does not work until changed to Speakers. Setting holds through suspend but not a reboot. On each cold boot, setting reverts to Headphones.

I expect a setting of Speakers to hold through a reboot, so my system will have working sound on boot-up.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"

Upgraded from 11.10.

$ apt-cache policy gnome-settings-daemon
gnome-settings-daemon:
  Installed: 3.4.2-0ubuntu0.5
  Candidate: 3.4.2-0ubuntu0.5
  Version table:
 *** 3.4.2-0ubuntu0.5 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     3.4.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

affects: gnome-settings-daemon (Ubuntu) → pulseaudio (Ubuntu)
Revision history for this message
Raymond (superquad-vortex2) wrote :

post the output of alsa-info.sh

and

 pactl list

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :
Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

do you mean headphone jack detect kcontrol is incorrect or

pulseaudio select speaker port when headphone is unavailable ?

control.33 {
  iface CARD
  name 'Headphone Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Ports:
  analog-output-speaker: Speakers (priority: 10000, not available)
  analog-output-headphones: Headphones (priority: 9000, available)
 Active Port: analog-output-speaker
 Formats:
  pcm

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :

Raymond,

I'm sorry, I don't understand your question, or how to find the answer, or where your control.33 or Ports: comes from.

Both "Headphones" and "Speakers" choices are always available.

I'm running Gnome 3. The path to the visual control was given in the initial post. It always reverts to Headphones on boot. I get no sound from the laptop speakers. I change it to "Speakers"

Revision history for this message
Raymond (superquad-vortex2) wrote :

The value should be false when you unplugged

amixer -c0 contents

 numid=33,iface=CARD,name='Headphone Jack',index=0
 ; type=BOOLEAN,access=r-------,values=1
 : values=off

Revision history for this message
Raymond (superquad-vortex2) wrote :

do you mean "headphone jack" kcontrol did not report the jack state when automute is disabled ?

Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :

I still don't understand. I never "unplugged." I do not use headphones or earbuds. I use only the laptop speakers.

It is reboot that causes the value to toggle, and the speakers to be disabled. This behavior started with the recent upgrade to 12.04.

Here is the current value of 33 from amixer -c0 contents:

$ amixer -c0 contents
numid=33,iface=CARD,name='Headphone Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on

I just tried plugging and unplugging earbuds into the headphone jack (had to find it first) several times. There is no change in the amixer output for 33.

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :

Automute is disabled in alsamixer. Here is the 18 portion of the output:

numid=18,iface=MIXER,name='Auto-Mute Mode'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Disabled'
  ; Item #1 'Enabled'
  : values=0

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://lists.launchpad.net/ubuntu-audio-dev/msg00205.html

do you mean there are two bugs ?

1) headphone jack kcontrol always return true even when there is no headphone plugged

2) speaker still muted even auto mute is disabled

you have to send email to alsa devel mailing list

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :

e-mail sent.

Revision history for this message
hangfirew8 (hangfirew8-netscape) wrote :

I installed ppa ppa:diwic/ppa but package snd-hda-tools won't install, probably because it's not built for Precise Pangolin. Without snd-hda-tools, I can't get to the hda_codec needed to run the python script.

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

Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

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: New → 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
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.