← Back to team overview

desktop-packages team mailing list archive

[Bug 1442428] Re: Headphones not detected after fresh boot or suspend/resume cycle, until unplugged and plugged back in

 

If I understood your question right, that's exactly what happens:

1) I disconnected my speakers from the rear jack, and plugged my
headphones into the front jack. After rebooting, the headphones are
detected and the sound works - everything is perfect. I opened the Sound
Settings dialog, and "Headphones" are present, "Line Out" is absent.

2) I plugged my speakers into the rear jack, and sound immediately
stopped playing from the headphones. But the speakers are also silent,
even though they're not muted in the GUI. I try muting and unmuting,
switching between headphones and line out in the GUI, but nothing works
- neither the speakers, nor the headphones.

3) I unplug the headphones, and the speakers start to work. I plug the
headphones back in and they start to work, and the speakers are muted
(even if I manually select line out from the GUI).

Now, both my headphones and speakers are plugged in, and I decide to
test the original bug again:

4) I reboot my system: No Ubuntu welcome sound (the drum sound when the
lightdm greeter appears) is played. But when I log in and get to the
desktop, the headphones work. The sound settings GUI shows both
headphones and line out, and headphones are selected.

5) I suspend and resume the PC. The headphones stop working, and they
are gone from the sound settings GUI.

6) I reboot again: Now, the Ubuntu welcome sound plays from the
speakers. Headphones are silent. I log in and check the sound settings
GUI: line out is present, headphones are absent. Unplugging and plugging
in the headphones makes them detected and selected by default in the
GUI, and the headphones start working.

So, to correct my original description: Suspend/shutdown has a different
effect from rebooting the system.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1442428

Title:
  Headphones not detected after fresh boot or suspend/resume cycle,
  until unplugged and plugged back in

Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is a regression from Ubuntu 14.04 (I have not tested 14.10).

  Headphones which were already plugged in prior to a suspend/resume
  cycle or a shutdown/reboot are not detected after a power-on (i.e.,
  "Headphones: Built-in Audio" is absent from the "Output" tab in the
  Sound Settings). Unplugging the headphones and plugging them back in
  results in the headphones being detected and automatically selected.

  I used the ubuntu-bug tool to submit this bug report after a fresh
  boot, and after going through the troubleshooting steps (which
  unsuccessfully attempted to play some tones through the headphone
  jack), "Headphones" showed up in the Output tab (without me having to
  unplug them and plug them in again), but was not automatically
  selected ("Line Out" is selected by default). Manually selecting
  "Headphones" succeeded in enabling sound on the headphones. So it
  appears that perhaps pulseaudio does not automatically check for the
  presence of headphones upon boot or resume from suspend (or maybe it
  does, but the hardware isn't ready to respond at the time).

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-13.13~pre201504091631-generic 3.19.3
  Uname: Linux 3.19.0-13-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  furkan     2171 F.... pulseaudio
   /dev/snd/controlC0:  furkan     2171 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Thu Apr  9 20:45:11 2015
  InstallationDate: Installed on 2014-06-06 (307 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:SB failed
  Symptom_Card: Built-in Audio - HDA ATI SB
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  furkan     2171 F.... pulseaudio
   /dev/snd/controlC0:  furkan     2171 F.... pulseaudio
  Symptom_Jack: Green Headphone Out, Front
  Symptom_Type: No sound at all
  Title: [GA-970A-D3, VIA VT2020, Green Headphone Out, Front] No sound at all
  UpgradeStatus: Upgraded to vivid on 2015-03-27 (13 days ago)
  dmi.bios.date: 12/16/2013
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F13b
  dmi.board.name: GA-970A-D3
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF13b:bd12/16/2013:svnGigabyteTechnologyCo.,Ltd.:pnGA-970A-D3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-970A-D3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-970A-D3
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1442428/+subscriptions


References