alsa sound fades out when headphones are plugged in until you inaudible

Bug #279478 reported by D B
48
This bug affects 5 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Won't Fix
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Low
Daniel T Chen

Bug Description

Binary package hint: alsa-base

Sound works fine from the speakers, but when headphones are plugged in, sound gradually diminishes until it is silent. Unplugging the headphones leaves it silent on the speakers. Reboot resets the position and sound is fine until 'phones plugged in.

My card is a "Sigmatel STAC9227" in a Dell Dimension e520 desktop but it seems to affect similar cards.

More info of the problem: http://ubuntuforums.org/showthread.php?t=913328&page=3

To address this, you can restart alsa and pulseaudio:

 sudo alsa force-reload
 pulseaudio

Workaround :
alt-f2
gksudo gedit /etc/modprobe.d/alsa-base.conf
add "options snd-hda-intel model=3stack" to end of file (without quotes), save
reboot

Revision history for this message
D B (eburner) wrote :

Adding "options snd-hda-intel model=dell-3stack" to the bottom of my "/etc/modprobe.d/alsa-base" did not fix it in my case.

Revision history for this message
ubername (ubername) wrote :

Adding "options snd-hda-intel model=dell-3stack" to the bottom of my "/etc/modprobe.d/alsa-base" did not fix it in my case, either.

Also DellE520, Sigmatel9227.

Revision history for this message
ubername (ubername) wrote :

This problem seems to have gone away with various recent upgrades, but I don't know what fixed it for me.

Revision history for this message
D B (eburner) wrote :

Still a problem here with all the latest updates. ubername, you do anything else?

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please execute the alsa-info.sh script referenced from https://wiki.ubuntu.com/DebuggingSoundProblems and attach the URL here.

Please note that any possible fix will /not/ be in 8.10. -updates is possible but more likely 9.04.

Changed in alsa-driver:
status: New → Incomplete
Revision history for this message
Tim Ross (tim-ross) wrote :

Hi, I have had the same problem. I ran the alsa-info script and the output can be found here

http://www.alsa-project.org/db/?f=dbdf44b7f7a1ff7fc634cef975b7089fddd19736

The sound works if you keep the same speakers plugged in from boot, but as soon as I unplug the speakers/headphones and reconnect I get the fading effect.

Revision history for this message
jdbausch (jdbausch) wrote :

I'd just like to write a "me too" to this issue:

"The sound works if you keep the same speakers plugged in from boot, but as soon as I unplug the speakers/headphones and reconnect I get the fading effect."

after upgrading to Intrepid from hardy. the suggested fixes have not worked for me.

I have a Dimension e521

Revision history for this message
D B (eburner) wrote :

still not working in Jaunty Alpha 2 with 2.6.28-4-generic

Revision history for this message
ubername (ubername) wrote :

Also not working in Jaunty (with updates to 09/02/09 - whatever alpha version that makes it)

Revision history for this message
Gari Araolaza (garaolaza) wrote :

Hi, no news from me.

Just to confirm this error in three Dell Dimension E520 and Ubuntu 8.10 systems.

Revision history for this message
Mikhail Moussikhine (belamiru) wrote :

I also confirm the same effect with the latest Ubuntu 9.04 and HT Omega Claro Halo.

Alsa info:
http://www.alsa-project.org/db/?f=d096043dca1f471400f1d8d2c17bfdd57f3f9524

I tried to upgrade to 1.0.19 drivers and the result is still the same. Sound fades out in about 5 sec. Furthermore, I was not able to get any sound from any other program but "Sound Preferences" Test Playback.

Revision history for this message
laubster (k-launchpad-laubster-org) wrote :

me too; DellE520, Sigmatel9227. When the headphones are unplugged before the fade is complete, the volume remains stable through the speakers though at its lower level; when the headphones are plugged in again, the fade resumes.

Revision history for this message
laubster (k-launchpad-laubster-org) wrote :

<daniel>Please execute the alsa-info.sh script [...] and attach the URL here.</daniel>

It said it uploaded the info, but never told me the URL, and I couldn't find it at www.alsa-project.org. So I ran it again without uploading; result is attached.

Revision history for this message
Johnny Maelstrom (ian-pilborough) wrote :

I have the same problem on Dell Dimension E521 with Sigmatel STAC9227

Here's my URL from the script: http://www.alsa-project.org/db/?f=8ecba9a6cc78bc8e98c81976cbdb3fc0941762a0

Revision history for this message
Brian Beck (brian-beck) wrote :

Same problem on a Dell Dimension C521, Kubuntu 9.04

$ uname -a
Linux skaro 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009 x86_64 GNU/Linux

$ cat /proc/asound/cards
 0 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 23

Link generated by alsa-info.sh:
http://www.alsa-project.org/db/?f=7249d3c3923d24d3a43c2625efc65e53f48651ce

If there is further information you require please let me know.

Thanks,
Brian

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Re: alsa sound fades out when headphones are plugged in until you inaudible

On Fri, 10 Apr 2009, Brian Beck wrote:

> http://www.alsa-project.org/db/?f=7249d3c3923d24d3a43c2625efc65e53f48651ce

Brian, you're using the wrong model quirk. You should be using
model=3stack, not model=model=hp-m4. (Note your extra "model=".)

Revision history for this message
Brian Beck (brian-beck) wrote :

I noticed that after I posted, and made the change and reboot my computer. Still no sound. Here's a re-run of the alsa-info.sh script:

http://www.alsa-project.org/db/?f=196fef41d023bf3ebabaa5b581fee3c51a70bc69

Thanks,
Brian

Revision history for this message
Brian Beck (brian-beck) wrote :

Daniel, I looked at your post again, and adding:

options snd-hda-intel model=3stack

to the bottom of /etc/modprobe.d/alsa-base.conf does in fact fix the problem!

Thank you so much,
Brian

Daniel T Chen (crimsun)
Changed in alsa-driver (Ubuntu):
status: New → Won't Fix
Revision history for this message
Daniel T Chen (crimsun) wrote :

Mikhail Moussikhine, you're using a separate codec (not even HDA but AC'97). Please file a separate bug so that you don't confuse people further.

Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in linux (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
importance: Undecided → Low
status: Incomplete → Fix Committed
Revision history for this message
Mikhail Moussikhine (belamiru) wrote :

Well, duh. I did say that in my post.

The name of the bug does not specify that it is HDA specific. I use oxygen driver. And I have _exactly_ the same effect.

Ubuntu 9.04 is out. Plug-in headphones. Sound fades out in 5 sec. I will not confuse your further, though. Thanks.

Revision history for this message
Fabio Barros (fgomesbarros-gmail) wrote :

I also added "options snd-hda-intel model=3stack" to the bottom of /etc/modprobe.d/alsa-base.conf and the problem was fixed.

Link generated by alsa-info.sh before I have added that new line:

http://www.alsa-project.org/db/?f=12490beb76d4796e72a24cb6f5665839d62d773a

My computer is a Dell Dimension C521.

Revision history for this message
Everthon Valadão (valadao) wrote :

@Daniel T Chen: the "options snd-hda-intel model=3stack" trick fixed here too, thanks!

Revision history for this message
Daniel T Chen (crimsun) wrote :

Derek, can you run the alsa-info.sh script to attach your audio hardware info to this bug report? (Alternately, if you're using Jaunty, just use "apport-collect -p alsa-base 279478".)

Everthon, if you're using Jaunty, can you also use "apport-collect -p alsa-base 279478", please?

Revision history for this message
Everthon Valadão (valadao) wrote : apport-collect data

AplayDevices:
 **** Lista de Dispositivos PLAYBACK Hardware ****
 placa 0: NVidia [HDA NVidia], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
   Dispositivo secundário: 1/1
   Dispositivo secundário #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 COMANDO DE ACESSO DO USUÁRIO PID
 /dev/snd/controlC0: everthon 27118 F.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfe024000 irq 23'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801f4,00100201'
   Controls : 30
   Simple ctrls : 21
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.18.dfsg-1ubuntu8
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=pt_BR.UTF-8
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers video

Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Revision history for this message
Everthon Valadão (valadao) wrote :
Koen (koen-beek)
description: updated
Revision history for this message
D B (eburner) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: burner 4472 F.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdffdc000 irq 16'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 30
   Simple ctrls : 21
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.18.dfsg-1ubuntu8
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
Uname: Linux 2.6.28-11-generic i686
UserAsoundrc:
 # ALSA library configuration file

 # Include settings that are under the control of asoundconf(1).
 # (To disable these settings, comment out this line.)
 </home/burner/.asoundrc.asoundconf>
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev sambashare scanner tape video

Revision history for this message
D B (eburner) wrote :
Revision history for this message
D B (eburner) wrote :
Revision history for this message
D B (eburner) wrote :
Revision history for this message
D B (eburner) wrote :
Revision history for this message
D B (eburner) wrote :
Revision history for this message
D B (eburner) wrote :

The apport-collect crashed on me but upon testing this since Jaunty's release, it works here!

I do have the 3stack option in /etc/modprobe.d/alsa-base.conf still, though I'm not sure if it does anything.

Revision history for this message
D B (eburner) wrote :

I think we're all agreed it's working! Thanks for helping me rediscover my headphones Daniel! Odd to communicate with you on launchpad vs irc though. Cheers!

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in alsa-driver (Ubuntu):
status: Won't Fix → Fix Released
Revision history for this message
Daniel T Chen (crimsun) wrote :

This bug is not fixed yet, as the quirk table has not been updated yet.

Furthermore, everyone still needing to use model=3stack has to manually override the quirk table entries.

Changed in alsa-driver (Ubuntu):
status: Fix Released → Won't Fix
Changed in linux (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Steve R. (streeder) wrote :

DellE520, Sigmatel9227, Jaunty.
Adding "options snd-hda-intel model=dell-3stack" did not work.
Adding "options snd-hda-intel model=3stack" did.

I realize that most people recommended the latter, but a few people threw the 'dell' in there.

Revision history for this message
jtuchscherer (jtuchscherer) wrote :

I just did a fresh install of Jaunty 64Bit and I needed to add this line to the alsa-base.conf. Isn't there a way to add this line by default? Otherwise everybody with this problem is required to find this bug report and to do the change manually.

Revision history for this message
Everthon Valadão (valadao) wrote :

Still bugged in Karmic final release... really? Six months and they didn't incorporate the incredibly easy fix into Ubuntu, so we have to manually override the quirk table entries. BTW, just type

   sudo bash -c "echo 'options snd-hda-intel model=3stack' >> /etc/modprobe.d/alsa-base.conf"

to fix your headphone.

Revision history for this message
Tchalvak (tchalvak) wrote :

In the latest Karmic Release:

I also added "options snd-hda-intel model=3stack" to the bottom of /etc/modprobe.d/alsa-base.conf and the problem was fixed.

My computer is a Dell Dimension C521.

Revision history for this message
jdbausch (jdbausch) wrote :

Dell e5121:

fresh install of Karmic brought the issue back for me as well.

"options snd-hda-intel model=3stack"
added to /etc/modprobe.d/alsa-base.conf

resolved the issue for me too.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Re: alsa sound fades out when headphones are plugged in until you inaudible

Please attach the contents of /proc/asound/card0/codec#0

On Nov 2, 2009 9:36 PM, "jdbausch" <email address hidden> wrote:

Dell e5121:

fresh install of Karmic brought the issue back for me as well.

"options snd-hda-intel model=3stack"
added to /etc/modprobe.d/alsa-base.conf

resolved the issue for me too.

-- alsa sound fades out when headphones are plugged in until you inaudible
https://bugs.launchpad....

Revision history for this message
jdbausch (jdbausch) wrote :
Download full text (8.3 KiB)

Codec: SigmaTel STAC9227
Address: 0
Function Id: 0x1
Vendor Id: 0x83847618
Subsystem Id: 0x102801ed
Revision Id: 0x100201
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=3, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Analog Loopback: 0x00
Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x5c 0x5c]
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x06 [Vendor Defined Widget] wcaps 0xfd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0xff 0xff]
  Power: setting=D3, actual=D3
  Delay: 13 samples
Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1b
  Processing caps: benign=0, ncoeff=0
Node 0x08 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x09 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D0, actual=D0
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Connection: 2
     0x02 0x03*
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19120: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Connection: 2
     0x02 0x03*
Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x40000100: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
    Misc ...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote :

@jdbausch Are you saying that model=dell-3stack does *not* work
properly? Are you using the latest bios for your board?

Revision history for this message
jdbausch (jdbausch) wrote :

Sorry if I was unclear.

I was just providing the detail that for my dell dimension E521 installing Karmic produced this issue.

and adding
"options snd-hda-intel model=3stack"
to /etc/modprobe.d/alsa-base.conf

fixed it

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Mon, Nov 2, 2009 at 10:53 PM, jdbausch <email address hidden> wrote:
> and adding
> "options snd-hda-intel model=3stack"
> to /etc/modprobe.d/alsa-base.conf
>
> fixed it

Right, but does model=dell-3stack *also* work?

Revision history for this message
jdbausch (jdbausch) wrote :

it was a few days back, and in a flurry of installs / reboots, but I'm almost certain that "model=dell-3stack" did not work for me.

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Mon, Nov 2, 2009 at 11:17 PM, jdbausch <email address hidden> wrote:
> it was a few days back, and in a flurry of installs / reboots, but I'm
> almost certain that   "model=dell-3stack"   did not work for me.

Would you mind verifying that it doesn't? I can't send a patch
upstream without some verification...

Revision history for this message
jdbausch (jdbausch) wrote :

Confirmed:
on my dimension e521

"options snd-hda-intel model=dell-3stack" produced the fading out when front headphone jack is inserted

"options snd-hda-intel model=3stack" works correctly

Revision history for this message
Daniel T Chen (crimsun) wrote :

Thanks, working on a patch now.

Revision history for this message
Gari Araolaza (garaolaza) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gariko 1949 F.... pulseaudio
 /dev/snd/pcmC0D0p: gariko 1949 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdfddc000 irq 16'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 32
   Simple ctrls : 22
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=43ddde55-96f1-4e3c-8e9a-dc6bd653b745
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Dell Inc. Dell DM061
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=c59a267a-f5bf-4350-9b88-134415f60c72 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=eu_ES.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.24
RfKill:

Uname: Linux 2.6.31-14-generic i686
UserGroups:

WifiSyslog:

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
Gari Araolaza (garaolaza) wrote : AlsaDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ArecordDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : BootDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Amixer.values.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : CurrentDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Lspci.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Lsusb.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : PciMultimedia.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ProcCpuinfo.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ProcInterrupts.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ProcModules.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : UdevDb.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : UdevLog.txt
tags: added: apport-collected
Revision history for this message
Gari Araolaza (garaolaza) wrote :

The solution with model=3stack used to work on 8.10 and 9.04 for me (it's a long time bug for me)

On 9.10, one of my machines works fine (not sure if it is a e520 or e521, upgraded from 9.04), but it doesn't work on a fresh 9.10 install on a Dimension E520.

It's even worse. Before 9.10, the problem showed up when I plugged in headphones. If I rebooted with headphones plugged in, sound worked well. Now, it happens when the headphones are plugged in.

Revision history for this message
Gari Araolaza (garaolaza) wrote :

Please forgive me for spamming this way. It's the first time that I used apport-collected, and now I don't know how to delete the comments.

I confirm that the model=3stack workaround works in both machines. I didn't work this morning, now it works well.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Re: alsa sound fades out when headphones are plugged in until you inaudible

@Gari Please attach the output from the following commands in a Terminal:

lspci -nv|grep -A1 0403
head -6 /proc/asound/card0/codec#0

On Nov 4, 2009 8:46 AM, "Gari Araolaza" <email address hidden> wrote:

Please forgive me for spamming this way. It's the first time that I used
apport-collected, and now I don't know how to delete the comments.

I confirm that the model=3stack workaround works in both machines. I
didn't work this morning, now it works well.

-- alsa sound fades out when headphones are plugged in until you inaudible
https://bugs.launchpad....

Revision history for this message
Gari Araolaza (garaolaza) wrote :

~$ lspci -nv|grep -A1 0403

00:1b.0 0403: 8086:284b (rev 02)
 Subsystem: 1028:01dd

No codec#0, but codec#2

~$ sudo head -6 /proc/asound/card0/codec#2
Codec: SigmaTel STAC9227
Address: 2
Function Id: 0x1
Vendor Id: 0x83847618
Subsystem Id: 0x102801dd
Revision Id: 0x100201

As said, it works well now with "model=3stack"

Revision history for this message
Daniel T Chen (crimsun) wrote :

@jdbausch Please confirm from "lspci -nv|grep -A1 0403" that your SSID
is 0x102801ed. (It will be the bottom line.)

Revision history for this message
jdbausch (jdbausch) wrote :

Daniel:

Desktop:~$ lspci -nv|grep -A1 0403
00:10.1 0403: 10de:026c (rev a2)
 Subsystem: 1028:01ed

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Did some testing with dtchen over IRC. I have a Dell Inspiron 1420:

ogasawara@emiko:~$ lspci -nv|grep -A1 0403
00:1b.0 0403: 8086:284b (rev 02)
 Subsystem: 1028:01f3

Am adding my /proc/asound/card0/codec* information.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

Upstream has asked everyone experiencing these symptoms to try the latest daily snapshot. Because we don't have the latest daily stable snap in Ubuntu 9.10 or 10.04, please do the following if you're experiencing either Derek's symptom (i.e., you need model=3stack to avoid the volume diminishing to inaudible) or Leann's symptom (i.e., you need model=3stack to have jack sense properly working):

* Remove the manually added model=3stack quirk in /etc/modprobe.d/alsa-base.conf (or wherever you added it)
* Install linux-backports-modules-alsa-karmic-generic
* Reboot
* Verify that the symptom remains reproducible
* Use apport-collect -p alsa-base 279478 (note that you should do this step regardless whether it's reproducible)
* If reproducible, purge linux-backports-modules-alsa-2.6.31-14-generic, then download and compile http://www.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-20091105.tar.bz2, and repeat the previous three steps (reboot, verify, and use apport-collect)

Revision history for this message
Gari Araolaza (garaolaza) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gariko 1920 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdfddc000 irq 29'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 31
   Simple ctrls : 21
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=eu_ES.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:1935): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1935): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1977): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1969): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
Gari Araolaza (garaolaza) wrote : AlsaDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ArecordDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : BootDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Amixer.values.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : CurrentDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Dependencies.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : PciMultimedia.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote :

I reproduce the problem installing linux-backports-modules-alsa-karmic-generic.

The sound works fine downloading and copiling the alsa driver. Apport information follows

Revision history for this message
Gari Araolaza (garaolaza) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gariko 1781 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdfddc000 irq 29'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 31
   Simple ctrls : 21
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=eu_ES.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:1795): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1795): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1838): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1830): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
Gari Araolaza (garaolaza) wrote : AlsaDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : ArecordDevices.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : BootDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Amixer.values.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : CurrentDmesg.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : Dependencies.txt
Revision history for this message
Gari Araolaza (garaolaza) wrote : PciMultimedia.txt
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Daniel,

Sorry for the delay with my feedback. I've done the following and verified that jack sense is working. I'll attach my /proc/asound/card*/codec* info. I'll also attach my /proc/asound/card*/codec* info when passing in probe_only=1.

1) Made sure any model quirks have been removed from alsa-base.conf:

ogasawara@emiko:~$ grep -n "snd-hda-intel" /etc/modprobe.d/alsa-base.conf
42:options snd-hda-intel power_save=10 power_save_controller=N

2) Installed linux-backports-modules-alsa-karmic-generic (note I'm running a bleeding edge pre karmic-proposed kernel hence the ~pre1 in the version)

ogasawara@emiko:~$ apt-cache policy linux-backports-modules-alsa-karmic-generic
linux-backports-modules-alsa-karmic-generic:
  Installed: 2.6.31.16.29~pre1
  Candidate: 2.6.31.16.29~pre1
  Version table:
 *** 2.6.31.16.29~pre1 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     2.6.31.14.27 0
        500 http://us.archive.ubuntu.com karmic/universe Packages

3) Rebooted (again note I'm running a bleeding edge pre karmic-proposed kernel)

ogasawara@emiko:~$ uname -a
Linux emiko 2.6.31-16-generic #50~pre1-Ubuntu SMP Thu Nov 5 17:34:39 UTC 2009 i686 GNU/Linux

ogasawara@emiko:~$ cat /proc/version_signature
Ubuntu 2.6.31-16.50~pre1-generic

4) Verify sound is working and jack sense is properly working.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Adding proc/asound/card*/codec* info when passing in probe_only=1

ogasawara@emiko:~$ grep -n "snd-hda-intel" /etc/modprobe.d/alsa-base.conf
42:options snd-hda-intel power_save=10 power_save_controller=N probe_only=1

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
helpdeskdan (helpdeskdan-gmail) wrote :

Upgraded to Alsa 1.0.21 & added options snd-hda-intel model=ref & removed all other snd-hda-intel lines. This worked. 3stack apparently does NOT work on all e520's STAC92xx.

Getting very tired of having to fix Alsa every time I upgrade Ubuntu.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Re: alsa sound fades out when headphones are plugged in until you inaudible

@helpdeskdan
We've already resolved this in alsa-driver git.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Resolved in Lucid.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Joe Schmit (joseph-schmit) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: joe 1508 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdffdc000 irq 16'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,102801dd,00100201'
   Controls : 32
   Simple ctrls : 22
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic-pae
Uname: Linux 2.6.31-17-generic-pae i686
UserGroups:

Revision history for this message
Joe Schmit (joseph-schmit) wrote : AlsaDevices.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : ArecordDevices.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : BootDmesg.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : Card0.Amixer.values.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : CurrentDmesg.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : Dependencies.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : PciMultimedia.txt
Revision history for this message
Joe Schmit (joseph-schmit) wrote : XsessionErrors.txt
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Card0.Codecs.codec.2.txt

Already fixed in linux-backports-modules-2.6.31 (wait for the new one
based on 1.0.22.1)

Revision history for this message
bvlad (bernard-banks) wrote :

I have a Dell e520 with Ubuntu 9.10. I had the sound fading issue through headphones, but I did the following that was mentioned in the original post and it seems to have fixed it:

Workaround :
alt-f2
gksudo gedit /etc/modprobe.d/alsa-base.conf
add "options snd-hda-intel model=3stack" to end of file (without quotes), save
reboot

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 279478] Re: alsa sound fades out when headphones are plugged in until you inaudible

That model quirk workaround is incorrect. We've fixed it in Lucid (and
in the daily linux-alsa-driver-modules builds in
ppa:ubuntu-audio-dev).

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.