Ubuntu

Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

Reported by Branko Strihic on 2009-11-07
190
This bug affects 35 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
High
Luke Yelavich
Lucid
High
Luke Yelavich

Bug Description

When I connect hedphones to my laptop I get sound simultaneously on headphones and on laptop speakers.
Laptop is Lenovo IdeaPad u350.
Tried so far:
1. booting with headphones connected
2. Tried pavucontrol
3. Edited /etc/modprobe.d/alsa-base.conf . Added "options snd-hda-intel model=lenovo" option. Added "options snd-hda-intel model=laptop" option.
4. Tried alsamixer.
No luck so far.
I am attaching lspci -v output.
I am Using Ubuntu 9.10 with 2.6.31-14-generic kernel.
Ubuntu is fresh install, not upgrade.
Please tell me if you need more info.
I would gladly provide it.

ProblemType: Bug
Architecture: i386
Date: Sat Nov 7 09:17:58 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/yelp
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: wl
Package: yelp 2.28.0-0ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: yelp
Uname: Linux 2.6.31-14-generic i686

Branko Strihic (branko-strihic) wrote :
Branko Strihic (branko-strihic) wrote :

I found link that looks promissing:
http://ubuntuforums.org/showthread.php?t=806620
So, I just need to add in /etc/modprobe.d/alsa-base.conf following line:
options snd-hda-intel model=
But I have no idea what to put in after " model".

Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in linux.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
tags: added: karmic
Changed in linux (Ubuntu):
status: New → Incomplete
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect 477226

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report. Thanks in advance!

Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: branko 1383 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf4600000 irq 22'
   Mixer name : 'Intel G45 DEVCTG'
   Components : 'HDA:14f15066,17aa4001,00100300 HDA:80862802,80860101,00100000'
   Controls : 10
   Simple ctrls : 5
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=735ac23e-89a1-4fba-a33a-aa2293e2fbbc
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: LENOVO IdeaPad U350
NonfreeKernelModules: wl
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-16-generic root=UUID=a8f93734-8747-418f-a814-0d270c8156fa ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-16-generic N/A
 linux-firmware 1.25
RfKill:
 0: hso-0: Wireless WAN
  Soft blocked: no
  Hard blocked: no
Uname: Linux 2.6.31-16-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/06/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 1CCN16WW
dmi.board.name: LL1
dmi.board.vendor: Lenovo
dmi.board.version: Rev 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Lenovo
dmi.chassis.version: Rev 1.0
dmi.modalias: dmi:bvnLENOVO:bvr1CCN16WW:bd06/06/2009:svnLENOVO:pnIdeaPadU350:pvrRev1.0:rvnLenovo:rnLL1:rvrRev1.0:cvnLenovo:ct10:cvrRev1.0:
dmi.product.name: IdeaPad U350
dmi.product.version: Rev 1.0
dmi.sys.vendor: LENOVO

Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected

Brian, thank you for finding time to work on this bug.
If you need any additional information, please let me know.
I would gladly provide it.

nomnex (nomnex) wrote :

This is a nice piece of small laptop. I am also affected by this bug.

David Kelso (david-kelso) wrote :

I am having this same problem. Is there any extra info that I can provide to help?
Can anyone point me in an approximate direction of how I would start to fix this? I've only ever done the most rudimentary of linux driver hacking, but I'm willing to give it a go. I just have no idea where to start :)

gontomo (hajime) wrote :

I also have same problem.

I found that there exists a function which called 'Multi-Stream mode' with Windows driver.
Windows driver has 2 mode -'Classic mode' and 'Multi-Stream mode' - and this 'Multi-Stream mode' works same as current situation in Ubuntu / Linux.

I hope this might help.

Luke Yelavich (themuso) on 2010-02-05
Changed in linux (Ubuntu):
assignee: nobody → Ubuntu Audio Team (ubuntu-audio)
Luke Yelavich (themuso) wrote :

Could all who are subscribed to this bug, and who are experiencing the same problem as the bug reporter, please try the following:

1. Open up /etc/modprobe.d/alsa-base.conf in an editor. Note you will need to open with sudo, so you can write to the file.
2. Add the following line to the end of this file:

options snd-hda-intel model=lenovo-x200

3. Save the file, and reboot your system.
4. Test everything, including playback through the speakers, through headphones, and microphone input. Also test to see whether the speakers get muted when you connect the headphones.

If this procedure sees you with working sound, and muted speakers with headphones connected, then you can leave things as is for now. If either the speakers don't mute when headphones are connected, or you have non-working speaker/headphone playback, or microphone input, then please edit the above mentioned file, and remove the options line, again mentioned above, and reboot again.

Please report back with your findings, regardless of success or failure. If success, I will send a patch upstream to fix this problem perminantly.

Thanks for your cooperation.

Adam (alabadorf) wrote :

I followed the steps above and observed no change in system behavior - speakers still play normally, headphone jack works, speakers are not muted when the headphone jack is being used, and microphone input seems to work as usual.

The last lines of my alsa-base.conf before the edit were the following:

# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=N

I wasn't sure if I should have added the line as is to the end of the file or add the model=... to the end of this line, but I tried both ways and got the same result.

Thanks for working on this bug. It will be nice to be able to listen to music in public places when it's fixed.

Thanks for testing. One thing I forgot, is to ask you to run "sudo depmod -a" after editing the file. So, as to my above guide, once you edit the file, before rebooting, run "sudo depmod -a"

Then report back.

Sorry about that, and thanks.

Ivanka Majic (ivanka) wrote :

I just tried this, including the depmod bit. No joy I'm afraid.

Adam (alabadorf) wrote :

I ran the depmod command and it's still the same story.

Luke Yelavich (themuso) wrote :

Thanks Ivanka, back to the drawing board then.

Luke Yelavich (themuso) wrote :

Ok, I don't yet have a patch ready, but I have another question to ask.

Could those of you who have an external microphone of some sort do a test for me to see if the internal microphone cuts off when you connect your external microphone? If it doesn't, then I can fix that to work properly at the same time as I am fixing the headphone mute bug.

Thanks for anyone who can give me an answer.

Luke, thank you for finding time to work on this bug.
I also tried adding options snd-hda-intel model=lenovo-x200 to my alsa-base.conf
After that I run sudo depmod -a and rebooted.
Like Adam, nothing happened. When I plugged headphones, everything was as it was before.
I dont have external microphone but I suppose plugging headphones into microphone jack should have the same effect as plugging external microphone.
Nothing happened after that. My internal microphone was still recording sound.
Hope that helps.

Hi Luke,

I will test this in the office with one of the machines there tomorrow
or Wednesday. Will bring in one of those Sony MD mics. Sorry didn't get
to meet up Friday evening. Must have missed each other.

Conor

Branko Strihic wrote:
> Luke, thank you for finding time to work on this bug.
> I also tried adding options snd-hda-intel model=lenovo-x200 to my alsa-base.conf
> After that I run sudo depmod -a and rebooted.
> Like Adam, nothing happened. When I plugged headphones, everything was as it was before.
> I dont have external microphone but I suppose plugging headphones into microphone jack should have the same effect as plugging external microphone.
> Nothing happened after that. My internal microphone was still recording sound.
> Hope that helps.
>
>

--
Conor Curran
Desktop Architect Sound Engineer
Desktop Experience team
Canonical Ltd
Email: <email address hidden>
web: http://www.canonical.com

gontomo (hajime) wrote :

Luke, I have tested with my headset.
Even if I plugged in the headset's mic plug, internal mic is still alive and the headset's mic is not work. :-(

The headset is working with Windows properly, so it's not broken.

Luke Yelavich (themuso) wrote :

Luke, I have tested with my headset.
Even if I plugged in the headset's mic plug, internal mic is still alive and the headset's mic is not work. :-(

The headset is working with Windows properly, so it's not broken.

--
Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350
https://bugs.launchpad.net/bugs/477226
You received this bug notification because you are a member of Ubuntu
Audio Team, which is a bug assignee.

Changed in linux (Ubuntu):
assignee: Ubuntu Audio Team (ubuntu-audio) → Luke Yelavich (themuso)
status: New → In Progress

Ok, I have packages with patched alsa drivers ready for testing. You can fetch them from my PPA, ppa:themuso/ppa for both karmic and lucid.

For karmic you want to install linux-alsa-driver-modules-2.6.31-19-generic, and for lucid you want to install linux-alsa-driver-modules-2.6.32-12-generic. Please remove any existing version of these packages you have installed, before you install the packages from my PPA.

Please test that connecting headphones mutes the internal speakers, and if you can, please test that connecting an external microphone to the microphone jack stops the internal microphone from working, and allows your external microphone to work. When testing, please make sure there are no lines related to snd-hda-intel and a model= parameter in your /etc/modprobe.d/alsa-base.conf file, or any other files in /etc/modprobe.d. I.e lucid users, there should be no snd-hda-intel lines in /etc/modprobe.d/alsa-base.conf, and karmic users, please make sure you don't have a model= parameter on the line mentioning snd-hda-intel in /etc/modprobe.d/alsa-base.conf.

Please report back with your test results, once you have installed the above packages, checked /etc/modprobe.d/alsa-base.conf, and rebooted. If people come back with positive tests for both microphone and headphones, then I will send the patch upstream.

Thanks in advance.

Luke Yelavich (themuso) wrote :

One more thing. Please make sure you are running either kernel 2.6.32-12-generic for lucid, or 2.6.31-19-generic for karmic.

Changed in linux (Ubuntu):
importance: Undecided → High
36 comments hidden view all 116 comments
androith (androith) wrote :

Luke thanks for the fixes -- they are now propagated to newer kernel versions everybody! As others have said, the internal microphone isn't working. However, there is an additional problem:

- When I turn the volume up to the max (or close to it), after a few moments sometimes the speakers go silent. I can use the headphones, and after a restart the speakers work again. Has anybody else had this problem? Should I report this as a separate bug?

androith (androith) wrote :

Also, worth mentioning, this was happening even before I applied Luke's fix.

@androith
I don't have that problem.
My speakers work fine. Since speakers on my U350 are not so loud, I often have them on max volume.
And I never had the problem that you describe in previous post.

Daniel T Chen (crimsun) wrote :

For those of you using linux-alsa-driver-modules-$(uname -r), please use http://www.alsa-project.org/alsa-info.sh so that we can inspect the codec dump.

I used the above given script

and it uploaded my information to :

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

androith (androith) wrote :

My output: http://www.alsa-project.org/db/?f=1fd5252a17e8a0d80c00406df8bbb37ca50cc688

Also, what I mentioned in #77 still holds with 2.6.32-20-generic, but I think I have a better description: when the volume is amplified to above 100% in the sound preferences, and a new sound is played, it is not uncommon for the speakers to stop working (speakers only, the headphones are fine), until a restart.

The mic is still not detected in the sound preferences.

Set to won't fix in Lucid because this is no longer a release blocking bug, because the remaining issue is that the internal mic won't work. This is still an unfortunate and serious bug, but is not release critical. The bug against linux remains open and high.

Changed in linux (Ubuntu Lucid):
status: In Progress → Won't Fix
ahmdsamir (ahmdsamir80) wrote :

FINALLY PROBLEM SOLVED

Every thing is working now on my Lenovo U350 with SU2700 I have the latest ALSA drivers installed from the PPA but that only makes jack sense works but the microphone not , which makes skype useless.

But after editing /etc/modprobe.de/alsa-base.conf and adding the following line to the end

options snd-hda-intel model="olpc-xo-1_5"

 and restarting, jack sense and internal built-in mic are working, tried removing and adding the headphone jack while sound is playing, everything worked fine.
BTW that is in Lucid 64 bits

Best regards

Luke Yelavich (themuso) wrote :

Thanks for that tidbit. That helps a lot in writing the code needed to fix the microphone jack issue properly, as it gives me a good pointer as to where to look. I should hopefully have something for you all to test in a day or so.

stereo (stereo777) wrote :

Hi all, have U350 with celeron 723 (?))) and xubuntu 32 bit.
perfect!!! after upgrade to 10.04 and after editing /etc/modprobe.de/alsa-base.conf and adding the following line to the end
options snd-hda-intel model="olpc-xo-1_5"

headphones work perfect!!! when connect - sound from headphones, when disconnect - from internal speakers
don't test mic yet ..
after half a year have silent from internal speakers ))))! thank you

Gruentee (constantin-kraft) wrote :

Thanks guys for all the programming and testing work!

With my machine it works great now on both generic and rt-kernel.

Erlend S. Westgaard (erlendsw) wrote :

Yes!
Finally works with adding options snd-hda-intel model="olpc-xo-1_5" at the end of /etc/modprobe.d/alsa-base.conf. No PPA required :-).

Works also on PCLinuxOS.

2010/4/30 Erlend S. Westgaard <email address hidden>

> Yes!
> Finally works with adding options snd-hda-intel model="olpc-xo-1_5" at the
> end of /etc/modprobe.d/alsa-base.conf. No PPA required :-).
>
> --
> Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350
> https://bugs.launchpad.net/bugs/477226
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: In Progress
> Status in “linux” source package in Lucid: Won't Fix
>
> Bug description:
> When I connect hedphones to my laptop I get sound simultaneously on
> headphones and on laptop speakers.
> Laptop is Lenovo IdeaPad u350.
> Tried so far:
> 1. booting with headphones connected
> 2. Tried pavucontrol
> 3. Edited /etc/modprobe.d/alsa-base.conf . Added "options snd-hda-intel
> model=lenovo" option. Added "options snd-hda-intel model=laptop" option.
> 4. Tried alsamixer.
> No luck so far.
> I am attaching lspci -v output.
> I am Using Ubuntu 9.10 with 2.6.31-14-generic kernel.
> Ubuntu is fresh install, not upgrade.
> Please tell me if you need more info.
> I would gladly provide it.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sat Nov 7 09:17:58 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/bin/yelp
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> NonfreeKernelModules: wl
> Package: yelp 2.28.0-0ubuntu2
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
> SourcePackage: yelp
> Uname: Linux 2.6.31-14-generic i686
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/477226/+subscribe
>

wagner (wagnerc4) wrote :

Here is a more easy fix!!!

1) sudo apt-get install alsa-utils
2) amixer set 'Speaker',1 100% unmute

you can save this for every new session with:

1) sudo gedit /etc/rc.local
2) amixer set 'Speaker',1 100% unmute (write before: exit 0)

_dan_ (dan-void) wrote :

i am a bit confused, what do i have to do to get the headphones working on mei u350.
sry but all the different solutions confuse me a bit

Post number 60 has the best solution.
You have to ad ppa:ubuntu-audio-dev/ppa to your source list, and update.
After that, install linux-alsa-driver-modules for your kernel version.
If you don't know vhat kernel version you have type uname -a in Terminal.
The second solution that also works fine is adding options snd-hda-intel model="olpc-xo-1_5" at the end of /etc/modprobe.d/alsa-base.conf. But, when I record sound with that option I get some background noise that I can't get rid of. Maybe that is just my configuration because on PC Linux OS adding that line in alsa-base.conf works just fine.
I tried those two solution and I can confirm that they both work. I recomend first solution.

Rajoy (siberia-accanto) wrote :

I have Vostro 1100, Ubuntu 10.04. The solution from post #60 worked for me.

Rajoy (siberia-accanto) wrote :

Now this solution doesn't work even when the additional packages have been updated.

Fabio Correa (facorread) wrote :

Linux kernel 2.6.35 does not have the issue.

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kifura 22296 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x94700000 irq 22'
   Mixer name : 'Conexant ID 5067'
   Components : 'HDA:14f15067,103c360b,00100302'
   Controls : 7
   Simple ctrls : 5
DistroRelease: LinuxMint 8
HibernationDevice: RESUME=UUID=dbbdbe3c-319b-48a5-a422-79d818d37a57
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Hewlett-Packard Compaq Presario CQ60 Notebook PC
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=bec01464-038c-4436-9b60-f07703d3dbb7 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.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:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/25/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.62
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3612
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 09.66
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.62:bd12/25/2009:svnHewlett-Packard:pnCompaqPresarioCQ60NotebookPC:pvr0487130002200D10000620000:rvnHewlett-Packard:rn3612:rvr09.66:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: Compaq Presario CQ60 Notebook PC
dmi.product.version: 0487130002200D10000620000
dmi.sys.vendor: Hewlett-Packard

Gary M (garym) on 2010-10-29
tags: added: hda-jack-sense
16 comments hidden view all 116 comments

Assuming I have exactly the same problem (I have a Lenovo 3000 N200), upgrading to Maverick has improved things for me.

When I plug my headset in now, the front speakers are silenced. There are only two situations where this doesn't work:

a) If the headphones are already inserted when the machine boots
b) If the sound is muted when the headphones are inserted (i.e. plug it in, turn up the volume and it'll play through both)

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: In Progress → Won't Fix
Displaying first 40 and last 40 comments. View all 116 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers