[Thinkpad X60s] sound only from built-in speakers, not headpones

Bug #548661 reported by Jane Silber
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Sounds only comes from built-in speakers, whether or not headphones are plugged in. This started happening on Karmic after I ran a Mumble session, and has continued into a Lucid upgrade. Other tidbits:

- the same behaviour happens if I plug headphones directly into laptop, or into the jacks on the docking station, or if I use the little USB-jack thing that came with the headphones

- the headphones work fine on other computers

- The mic in the headphones still seems to work, even when sound will only come from the built-in speakers

- I've checked sound preferences, can't find anything that is muted

ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jane 1338 F.... pulseaudio
 /dev/snd/pcmC0D0c: jane 1338 F...m pulseaudio
 /dev/snd/pcmC0D0p: jane 1338 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xee240000 irq 17'
   Mixer name : 'Analog Devices AD1981'
   Components : 'HDA:11d41981,17aa2025,00100200'
   Controls : 20
   Simple ctrls : 11
Date: Fri Mar 26 09:28:52 2010
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: alsa-driver
Uname: Linux 2.6.32-17-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/jane/.asoundrc.asoundconf>

Ubuntu lucid (development branch) on ThinkPad X60s

-------- uname -a --------

Linux randolph 2.6.32-17-generic #26-Ubuntu SMP Fri Mar 19 23:58:53 UTC 2010 i686 GNU/Linux

-------- Sound Card Codecs --------

Codec: Analog Devices AD1981

-------- PCI ID --------

00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

Revision history for this message
Jane Silber (silbs) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Jane,
     Thank you for reporting this bug. We are looking over the logging you sent. I have one question currently. Do your headphones have separate microphone/headphone plugs? I wonder if there could be something broken with your headphone connection in your laptop, but that is idle speculation until we finish looking through the logging.

Thanks!

~JFo

Changed in alsa-driver (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jane Silber (silbs) wrote :

Yes, there are separate microphone/headphone plugs. I also originally thought that it could just be a problem with the headphone connection, but don't think that's the case because the same thing happens no matter where I plug it in (e.g,. if I plug it into the laptop directly, or into the jacks that are on the docking station, or through the USB key thing). And I don't think it's the physical plug itself, because the headphones work fine on another computer.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Jane,
     My apologies, after reading back the description, you had indeed mentioned the dock. Would you mind attaching the output of an lspci command to this bug? I may have an idea on some way to test this based on the output.

Thanks!

~JFo

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Apologies, I intended to add the full command line I was looking for in my earlier message, but I sent it before I did. :-)

Please run
'sudo lspci -vv'

and attach the output here. Sorry for the confusion.

Thanks!

~JFo

Revision history for this message
Jane Silber (silbs) wrote :

lspci.txt attached.

Revision history for this message
komputes (komputes) wrote :

> This started happening on Karmic after I ran a Mumble session, and has continued into a Lucid upgrade.

I would ask that you test a new user and a Lucid LiveCD to test to see if the issue is reproducible.

http://cdimage.ubuntu.com/daily-live/current/

description: updated
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

David,
     from the initial bug report:

"DistroRelease: Ubuntu 10.04"

She is already running Lucid. and, per her comments, the issue is consistently reproducible.

~JFo

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

Jane,

For easier debugging, we would like you to reproduce this symptom using the latest alsa-driver snapshot. Please add the ubuntu-audio-dev ppa[0], ensure that you are running 2.6.32-18-generic (from uname -r) installed, install linux-alsa-driver-modules-$(uname -r), then reboot.

Not directly related, but reading your machine's codec dump (Card0.Codecs.codec.0.txt) has revealed another bug (should be reported separately using ubuntu-bug alsa-base) that your PCM level is overdriven; the offset to 0 dB (which should correspond to 100%) is 0x3d, but the number of steps is 0x3f, which means anything set at 100% will sound distorted.

[0] sudo add-apt-repository ppa:ubuntu-audio-dev/ppa

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

Jane,

Also, what Connector options are available in the dropdown menu in GNOME's sound preferences > Output tab?

Revision history for this message
Jane Silber (silbs) wrote :

I'll do what's suggested in comment #9 as soon as I get a chance. In the meantime, wrt comment #10, I don't have any connector options. Screenshot attached.

Revision history for this message
Jane Silber (silbs) wrote :

Okay, I did the stuff in comment 9 (added the PPA and installed linux-alsa-driver-modules). I wasn't running 2.6.32-18-generic when I originally reported the bug, but am now and can confirm that it still happens. Thanks for your help, and please let me know if there is other info I can provide!

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

Jane,

Thanks for verifying. We have two further debugging steps. Firstly, please append the following line to /etc/modprobe.d/alsa-base.conf:

options snd-hda-intel enable_msi=1

then reboot and try to reproduce the symptom. If you are able to reproduce the symptom, secondly, I have a patch queued that Brad can roll into a test snapshot of alsa-driver for you to test that adds jack change notification to your model.

Revision history for this message
Jane Silber (silbs) wrote :

I added the line as suggested, rebooted, and can still reproduce the issue.

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

Thanks, Jane. At this point it is unnecessary to retain the line added to /etc/modprobe.d/alsa-base.conf, so it's safe to remove it. I'm at work without access to my dev machine, but if you could reproduce your symptom using the most current live cd in the meantime, it would be much appreciated. I'll get the patch to Brad and/or Jeremy this afternoon.

Revision history for this message
Jonathan Davies (jpds) wrote :

We tried to reproduce this issue on a Lucid Beta 2 CD image and no sounds was outputted by the laptop (through speakers or headphones).

On an up-to-date Lucid, the issue remains.

Revision history for this message
Jane Silber (silbs) wrote :

Tried a live CD with Lucid (as of Beta 2, 8 April) and got no sound at all. No sound from speakers, regardless of whether headphones were plugged in or not.

With an up-to-date Lucid in a regular install, I still have the original problem (i.e, sound from speakers only).

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

Could you elaborate on "no sound at all"? Is the GNOME volume control showing a dummy/null output (or none at all)? If so, that's likely bug 557421.

Revision history for this message
Brad Figg (brad-figg) wrote :

@Jane,

Could you download and install the appropriate kernel from http://kernel.ubuntu.com/~bradf/bug_548661/. This has a patch from Daniel T Chen applied to it. You just need to download linux-image-$(uname -r)_2.6.32-20.30_i386.deb and then use "sudo dpkt -i linux-image-$(uname -r)_2.6.32-20.30_i386.deb" to install it. You will need to reboot after installing this new kernel.

Revision history for this message
Jane Silber (silbs) wrote :

I had not updated for several days, but when I did so today the problem disappeared. I'm not sure what fix landed when, but I'm currently on 2.6.32-21-generic and everything behaves as expected. :)

Revision history for this message
Jane Silber (silbs) wrote :

Forgot to add: thanks for your attention on this, and for whatever the fix is. I'm happy to help debug further if you want, but also comfortable if you want to consider this closed.

Revision history for this message
mdyn (tamerlaha-gmail) wrote :

i has a same bug. 9.04 work fine after reinstall (not update) to 10.04 sound work just over speakers

Revision history for this message
ais523 (ais523) wrote :

Same bug happens to me too on a fully-updated Lucid system. It was working fine on Karmic a few months ago, on the same system (the relevant sound was flagged as "[Conexant CX20582 (Pebble)]" by the bug-reporting tool, the system itself is a Toshiba Satellite T110-107). Plugging in the headphones makes no apparent difference to the sound, which continues to come out via the speakers but not the headphones.

This bug possibly happened on Karmic too, relatively recently; I didn't report it at the time because I wasn't sure whether it had happened or not, and because I'm not sure exactly what happened then. (This bug isn't an obvious one to check for unless you're specifically paying attention...)

Revision history for this message
mdyn (tamerlaha-gmail) wrote :

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

the same problem
Realtek acl655 based sound card.

Revision history for this message
Manoj Iyer (manjo) wrote :

mdyn,

Can you please try this out ?

on my Dell mini 10V I do lspci and I get the following information:

$ lspci -nn | grep Audio
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)

you need the 2 numbers in the [XXXX:YYYY] .. before (rev 02)

You need to run this command, replace XXXX and YYYY for the values on your machine.
$ pushd "/sys/bus/pci/drivers/HDA Intel/" && sudo bash -c "echo 'XXXX YYYY' > new_id" && popd

manually remove the snd-hda-intel module and install it with modprobe.

$ sudo modprobe snd-hda-intel

Let me know if your sound works after this, if it does please post the output of lspci -nnvv and other relevent information.

summary: - sound only from built-in speakers, not headpones
+ [Thinkpad X60s] sound only from built-in speakers, not headpones
Revision history for this message
David Henningsson (diwic) wrote :

Since this bug was fixed for the original reporter, I'm marking it as "fix released". In order to minimize confusion: if you're still having a problem, it's a different root cause, and so I'd kindly ask you to file a new bug, e g by opening a terminal and entering the 'ubuntu-bug audio' command which will guide you through the bug reporting process. Thanks!

Changed in alsa-driver (Ubuntu):
status: Triaged → Fix Released
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.