[Regression] DELL DIMENSION E520 -STAC9227 - No sound through headphone jack since last update of ubuntu 12.04.1LTS

Bug #1104565 reported by Christophe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Won't Fix
Low
Unassigned
pulseaudio (Ubuntu)
Invalid
High
Unassigned

Bug Description

Since the last update of ubuntu 12.04LTS, I cannot get sound through my headphone jack. The sound can still be heard with the external speaker jack, but not from my front headphones jack.

The version of pulseaudio that causes troubles has number 1:1.1-0ubuntu15.2.

Reverting back to 1:1.1-0ubuntu15 and then rebooting fixes the problem.

I noticed, with version 15.2 that when I plugged the headphone set, the sound settings window swithed from "speakers" to "headphones". On the contrary, with the older 15 version, when I plug the headphone, the sound settings window stays on "speakers", though I hear the sound via the headphones.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu15
ProcVersionSignature: Ubuntu 3.2.0-36.57-generic 3.2.35
Uname: Linux 3.2.0-36-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: christophe 2141 F.... pulseaudio
 /dev/snd/pcmC0D0c: christophe 2141 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdffdc000 irq 44'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 39
   Simple ctrls : 22
Date: Fri Jan 25 00:18:45 2013
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120425-15:28
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/christophe not ours.
 No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/24/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.4.0
dmi.board.name: 0WG864
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.4.0:bd05/24/2007:svnDellInc.:pnDellDM061:pvr:rvnDellInc.:rn0WG864:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: Dell DM061
dmi.sys.vendor: Dell Inc.

Revision history for this message
Christophe (touil1976) wrote :
Julian Taylor (jtaylor)
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
summary: - No sound through headphone jack since last update of ubuntu 12.04.1LTS
+ [Regression] No sound through headphone jack since last update of ubuntu
+ 12.04.1LTS
tags: added: regression-update
Revision history for this message
Daniel Letzeisen (dtl131) wrote : Re: [Regression] No sound through headphone jack since last update of ubuntu 12.04.1LTS

Perhaps it would help to generate two pulse logs (one with the working version and one with the non-working version): https://wiki.ubuntu.com/PulseAudio/Log

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

Post the output of alsa-info.sh

if this dell m061 is a dell desktop, you need pin fix to change all [Jack] speaker at extra rear to [Jack] line out at ext rear

Pin Default 0x01114210: [Jack] Speaker at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ

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

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
 Subsystem: Dell Device [1028:01dd]

you must send email to alsa devel mailing list since your pci sSid are same as dell dimension e520

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=4ff076e5d925d8f714b88a1d3992796f89b45450;hp=38977e96cb32e658716e11a05ec7f1fc4618e0f3

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

So, the new PulseAudio update is able to detect "Front headphone jack", which in your case correctly switches output to headphones instead of speakers.

This causes a regression due to PulseAudio muting the speakers when the headphones are plugged in, in combination with a kernel driver bug: the "Speaker" volume control actually controls the volume of the headphones (!).

Possible workarounds include:

1) Move to the linux-image-generic-lts-quantal kernel
or
2) Use the latest drivers https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
or
3) Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf
and change from:

[Element Speaker]
switch = off
volume = off

to:

[Element Speaker]
switch = mute
volume = merge

Revision history for this message
Christophe (touil1976) wrote :

Thank you everybody.
David (diwic), I did as you suggested and installed the latest alsa drivers. Now it works perfectly.
Will the next regular precise kernel correct the bug ?

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

post the output of alsa-info.sh

you must send email to the alsa developer and the author of the above patch if dell e520 have 6 audio jacks and your dell dm061with 3 jacks

Revision history for this message
Christophe (touil1976) wrote :

Raymond, I would like to post this output, but I don't know how to get it...

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

https://wiki.ubuntu.com/Audio/AlsaInfo

have to know the pin default

Sysfs Files
  !!-----------

/sys/class/sound/hwC0D0/init_pin_configs

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

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D2/init_pin_configs:
0x0a 0x0221101f
0x0b 0x02a11020
0x0c 0x01a19021
0x0d 0x01014010
0x0e 0x01011012
0x0f 0x01016011
0x10 0x0181302e
0x11 0x01012014
0x12 0x40f000f1
0x21 0x014510a0
0x22 0x40f000f0

/sys/class/sound/hwC0D2/driver_pin_configs:
0x0a 0x02211230
0x0b 0x02a11220
0x0c 0x01a19040
0x0d 0x01114210
0x0e 0x01111212
0x0f 0x01116211
0x10 0x01813050
0x11 0x01112214
0x12 0x403003fa
0x21 0x404003fb
0x22 0x40c003fc

Pin Default 0x01014010: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Green
     DefAssociation = 0x1, Sequence = 0x0

BIOS already setup the lineout jacks correctly

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=7b2ee291fbd3dbe8079c67fec6382a8ed6c275f7;hp=664389dbd59eba1af2904c4dcbb7af774e6a3324

There are a few special model option values:
+- when 'nofixup' is passed, the device-specific fixups in the codec
+ parser are skipped.

the latest alsa driver allow you to skip the pin fixup

The STAC9227/9228/9229/9230 are a family of Theater Quality 8-channel audio CODECs that enable systems with 7.1 audio or 5.1 audio playing simultaneously with VoIP or another stereo audio stream

if pulseaudio must need a headphone volume control, you may try remove

/* Dell 3 stack systems */
- SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01dd, "Dell Dimension E520", STAC_DELL_3ST),

and disable the grey jack node 0x14 (lost 7.1 support) but you can use independent HP by specify hint

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

front playback switch should be rename as pcm playback switch when it is shared by front line out and headphone

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=247d85ee068610c50d66ee0cd3130e02c69f5f2e;hp=ac2e87366c18d49c6dc12e89ae4f4512f126eeb4

use hda-jack-retask to disable grey Jack, the headphone can use audio output node 0x03 for the headphone volume control

Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="STAC9227 Analog", type="Audio", device=0
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=8, channel=0
  Power states:
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=8, channel=0
  Power states:
  Power: setting=D0, actual=D0
  Delay: 13 samples

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Control: name="Front Headphone Jack", index=0, device=0
  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

summary: - [Regression] No sound through headphone jack since last update of ubuntu
- 12.04.1LTS
+ [Regression] DELL DIMENSION E520 -STAC9227 - No sound through headphone
+ jack since last update of ubuntu 12.04.1LTS
Revision history for this message
Raymond (superquad-vortex2) wrote :

http://www.intel.com/support/motherboards/desktop/sb/CS-020642.htm#multistream

Multistreaming allows you to listen to two different audio sources on two different speaker sets. For example, you can listen to one audio source through the back panel speakers and a second audio source through front panel headphones or speakers.

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

Lowering severity due to
 - not many machines/people affected
 - workaround available (comment #5)

Changed in alsa-driver (Ubuntu):
importance: Undecided → Low
Changed in pulseaudio (Ubuntu):
status: New → Invalid
Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
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. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Won't Fix
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.