Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

Bug #477226 reported by Branko Strihic
194
This bug affects 36 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
High
Luke Yelavich
Lucid
Won't Fix
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

Revision history for this message
Branko Strihic (branko-strihic) wrote :
Revision history for this message
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".

Revision history for this message
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
Revision history for this message
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!

Revision history for this message
Branko Strihic (branko-strihic) wrote : apport-collect data

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

Revision history for this message
Branko Strihic (branko-strihic) wrote : AlsaDevices.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : AplayDevices.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : BootDmesg.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : Card0.Amixer.values.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : Card0.Codecs.codec.1.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : CurrentDmesg.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : IwConfig.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : Lspci.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : Lsusb.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : PciMultimedia.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : ProcCpuinfo.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : ProcInterrupts.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : ProcModules.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : UdevDb.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : UdevLog.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : WifiSyslog.txt
Revision history for this message
Branko Strihic (branko-strihic) wrote : XsessionErrors.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Branko Strihic (branko-strihic) wrote :

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.

Revision history for this message
nomnex (nomnex) wrote :

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

Revision history for this message
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 :)

Revision history for this message
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)
Changed in linux (Ubuntu):
assignee: nobody → Ubuntu Audio Team (ubuntu-audio)
Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 477226] Re: Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

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.

Revision history for this message
Ivanka Majic (ivanka) wrote :

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

Revision history for this message
Adam (alabadorf) wrote :

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

Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks Ivanka, back to the drawing board then.

Revision history for this message
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.

Revision history for this message
Branko Strihic (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.

Revision history for this message
Conor Curran (cjcurran) wrote : Re: [Bug 477226] Re: Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

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

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 477226] Re: Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

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.

Revision history for this message
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.

Revision history for this message
Adam (alabadorf) wrote :

I followed the instructions and unfortunately the patch seems to have killed sound output on my laptop entirely:

 - added your PPA and installed the linux-alsa-driver-modules-2.6.31-19-generic
 - verified that there was no model= parameter in my alsa-base.conf
 - rebooted

There was no sound at all, from the PC speakers or from an external source when present. I also tested the mic input with and without jack input, and the internal mic was active according to the Sound control panel in both scenarios. When I removed the package behavior returned to what it was before, and I did not have a preexisting package to remove before I installed this one. I'm running the most recent karmic kernel, uname -a:

Linux labtop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

Sorry for the negative results, maybe someone else will have better luck? Thanks again for working on this.

Revision history for this message
Luke Yelavich (themuso) wrote :

No, I'd say I've missed somethign with my patch. Ok I'll get back to you all with a new patch to test as soon as I work out what I missed.

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok, since I don't have access to the hardware, I have to take another approach. Please test again with the packages that will end up in my PPA shortly. They are the sae package names, however they will give a full debug log in dmesg. This means that your dmesg log will be quite full.

So since we know the patch makes things worse, I'd ask you to boot with this package installed, and immediately after logging in, dump the contents of your dmesg, like so, in a terminal: dmesg > dmesg.txt and attach the resulting dmesg.txt to this bug.

After that, feel free to uninstall the package.

Thanks again/

Revision history for this message
Eskil Jakobsson (eskil-df) wrote :

Hello Luke,

Thanks for your efforts. Have tried installing your patch as well as kernel .19. Also removed the lines regarding snd-hda-intel (model and powersave). Now, there is no sound, neither from speakers or headphones. Also internal mic and external mic does not show any sign of activity in the volume manager.

Am attaching the dmesg.txt.

Thanks again,

Eskil Jakobsson

Revision history for this message
Adam (alabadorf) wrote :

And attached is mine, in case it helps.

Revision history for this message
Luke Yelavich (themuso) wrote :

Sorry to be a bother, but I'll need to get people to install the latest version of these packages from my PPA again. It seemed I didn't enable enough debugging to get the output in dmesg that I wanted. SO please install the package relevant to your kernel, reboot, dump the dmesg as explained previously, and attach it to the bug.

Thanks again.

Luke

Revision history for this message
Adam (alabadorf) wrote :

No worries. Attached.

Revision history for this message
Luke Yelavich (themuso) wrote :

Adam, do you have version linux-alsa-driver-modules ppa3 version installed? I uploaded ppa3 earlier today, and it may not have published by the time you read this. So please check the version, and if its not ppa3, then please update to ppa3.

I ask this because the dmesg still doesn't have what I am looking for.

Thanks again

Luke

Revision history for this message
Adam (alabadorf) wrote :

You were right, I had ppa2 install for some reason last time. I reinstalled and checked out the dmesg output and there's a ton of ALSA stuff in it now, so I think I've got the right thing going on. Third time's a charm, hopefully.

Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks Adam, this is just what I was after. One quick question, did you have a mic connected to the microphone jack when you booted the machine?

Thanks.

Revision history for this message
Adam (alabadorf) wrote :

I did not, neither in the mic nor the output jack. Thanks.

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok all, I have another patch for you to test, hopefully with better results. Please update to to the ppa4 version of the packages. Lucid users, please note that this version is now in a new package for you, built against the new -13 kernel in lucid. So the package name is linux-alsa-driver-modules-2.6.32-13-generic, karmic users, things are still the same package name wise.

Please test, and report back. If unsuccessful, please report back attaching your dmesg output once again.

Thanks for your patience.

Luke

Revision history for this message
Adam (alabadorf) wrote :

I installed the new patch and confirmed it was ppa4 but the behavior still hasn't changed. The speakers don't work after the patch is applied, the line out does not work, and the internal mic is active whether or not the input jack is active. Attached is the new dmsg output. There were no inputs present in either jack when I booted up or logged in.

Revision history for this message
Luke Yelavich (themuso) wrote :

In that case, I'll probably need to get access to the real hardware to fix this properly. GOing back and forth like this is tedious and still doesn't ensure success with very attempt. I'll see if I can get one sent to me for hardware enablement purposes.

Thanks all for your patience.

Revision history for this message
gontomo (hajime) wrote :

Just in case, here is mine.
like others, without any luck of sound.

Revision history for this message
Conor Curran (cjcurran) wrote :

Hi Luke,

Hope you re well.

Sorry I was not in touch this week, very hectic with the initial release
of the new sound menu. Do you still need me to do any testing on one of
the lenova's in the office ? I found this tool
http://helllabs.org/codecgraph/. Might help this bug if I run this on
one of those machines ?

Conor

Luke Yelavich wrote:
> In that case, I'll probably need to get access to the real hardware to
> fix this properly. GOing back and forth like this is tedious and still
> doesn't ensure success with very attempt. I'll see if I can get one sent
> to me for hardware enablement purposes.
>
> Thanks all for your patience.
>
>

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

Revision history for this message
Mikkel Munch Mortensen (3xm) wrote :

I'm a u350 owner too, and I can confirm this bug on Karmic (speakers and line out playing at the same time) and Lucid (line in/out not working).

Post #3 in this forum thread http://ubuntuforums.org/showthread.php?p=8824770 is about this and claims to have a solution. I don't know whether it works and I don't have the time to try this out myself at the moment, but maybe somebody else have?

Revision history for this message
Branko Strihic (branko-strihic) wrote :

Mikkel I tried the method you mentioned in the link above.
I added dell-vostro option, and rebooted but nothing happened.
But I didn't update Alsa. Because I don't like using scripts for updating so complex systems like Alsa.
If something in this script fails I may have to be forced to reinstall the whole system.
Maybe someone knows some easier way for updating Alsa?

Revision history for this message
Adam (alabadorf) wrote :

I did the same thing Branko did - added the line without updating ALSA, depmod -a, and rebooted - because I've tried the update script thing before and actually almost did have to reinstall the whole system. I also had no success. I second the request for info on updating ALSA in a more standard way. :)

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok guys, please uninstall all the packages I got you to install from my PPA. Then enable the ubuntu-audio-dev PPA ppa:ubuntu-audio-dev/ppa and install linux-alsa-driver-modules-2.6.31-19-generic for karmic, and linux-alsa-driver-modules-2.6.32-13-generic for lucid.

Then open /etc/modprobe.d/alsa-base.conf and add the following line:

options snd-hda-intel model=ideapad

Then reboot

Seems someone sent a patch upstrea for the u150 which very likely uses the same chip as the 350, so if that works, then problem solved, and I only need to add a quirk for the 350 for your machines.

Please report back with the result.

Revision history for this message
Luke Yelavich (themuso) wrote :

Actually, don't worry about the model addition to modprobe.conf. Seems the quirk line for the 150 is the same as the 350, so just install those packages, and you should be good to go.

Revision history for this message
gontomo (hajime) wrote :

Great!
Everyone, It worked!

I didn't do anything to alsa-base.conf.

Luke, Thanks for your help.

Revision history for this message
Branko Strihic (branko-strihic) wrote :

Thank you Luke!
I added ubuntu-audio-dev ppa, installed those packages and rebooted.
It works now!
When I plug in my headset, speakers get muted and I can hear sound on my speakerphones.
But unfortunately my internal microphone doesn't work any more. External microphone works when I plug it in.
For me this is not a problem because I use headsets with external microphone.
So for me the problem is solved.
I can finally listen music in public places!

Revision history for this message
Mikkel Munch Mortensen (3xm) wrote :

I'm on Lucid, trying to follow the instructions by Luke #60/#61. But i don't see any linux-alsa-driver-modules-2.6.32-13-generic - only linux-alsa-driver-modules-2.6.32-11-generic and linux-alsa-driver-modules-2.6.32-12-generic (i.e. 11 and 12 - not 13).

I added the ppa using sudo add-apt-repository ppa:ubuntu-audio-dev/ppa - am I doing something wrong?

Revision history for this message
Luke Yelavich (themuso) wrote :

Seems that the drivers for the 2.6.32-13 kernel were not built. They should be available if not now, then very soon.

Revision history for this message
iltony (iltony) wrote :

I don't know how to help about jack detection. It doesn't work on my laptop (lenovo 3000 N200 hda-intel) as well (and it never did). But I can tell you how I successfully made my headphones work again with connector selection option in gnome-volume-preferences applet.
Open a terminal and type "cd /usr/share/pulseaudio/alsa-mixer/paths/"
then give a "sudo gedit analog-output-headphones.conf".
Locate "[Element Front]" in gedit and replace
"[Element Front]
switch = off
volume = off"
with:
"[Element Front]
switch = off
volume = merge".
The save, close and reboot. This time connector selection option should work.
---
If it doesn't, please open a terminal and type: "alsamixer", then try setting all volumes to high, including front, and all the trigger on (you can toggle a trigger by pressing "m"), all but the front trigger which should be set to off.

Revision history for this message
Branko Strihic (branko-strihic) wrote :

Thank you iltony for your solution.
Maybe it will help someone.
However, Luke's solution works great for me (and I believe others with this laptop) and I no longer have problem with this bug.
Only problem is that internal mic doesn't work any more.
But I use external microphone so this is only a minor problem for me.

Revision history for this message
Emm88 (emm88) wrote :

Same bug on lenovo U350 on mandriva cooker kernel 2.6.33-desktop586-1mnb is solved by
stopping kmix then as normal user
pulseaudio -k
then as root
modprobe -rv snd-hda-intel ; modprobe -v snd-hda-intel model=dell-vostro

not tried the mic yet
Surely one can edit /etc/modprobe... for mandriva
Thanks for the thread

lspci
snd_hda_intel : Intel Corporation|82801I (ICH9 Family) HD Audio Controller (vendor:8086 device:293e subv:17aa subd:3a0d) (rev: 03)

lshw
multimedia
             description: Audio device
             product: 82801I (ICH9 Family) HD Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 03
             width: 64 bits

lspci -v
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Lenovo Device 3a0d
        Flags: bus master, fast devsel, latency 0, IRQ 33
        Memory at f4600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=HDA Intel latency=0
             resources: irq:33 memory:f4600000-f4603fff

Revision history for this message
sputnick (steve-keptprivate) wrote :

Many Many Thanks for this fix!

I have the Lenovo U150 and had just been told by Lenovo that it wasn't possible because the hardware didn't disable
the speakers when headphones were connected.

It works wonderfully! Now I can listen to music on flights without sharing with the whole cabin!

On the U150 the internal microphone still works too!

Steve

Revision history for this message
Gruentee (constantin-kraft) wrote :

Thanks a lot for your work!
The speaker/headphone thing works for me now, but the builtin mic doesn't work.
Any fix for that?

I'm using an u350, too.

Revision history for this message
Gruentee (constantin-kraft) wrote :

Is there a package for the current RT-Kernel, too?

Revision history for this message
obadz (obadz) wrote :

I second Graffecke.de comment regarding the microphone: when using linux-alsa-driver-modules-2.6.31-20-generic from ppa:ubuntu-audio-dev/ppa, the internal mic (and possibly external also) does not work.

Many thanks to all and especially to Luke who seems to have spent a lot of time working on this issue.

By the way, a very inelegant and temporary fix for all these problems is to buy a USB sound card on ebay for like $3 and plug the headphones on that. Pulseaudio volume control will definitely let you switch away from the speakers with that setup..

Revision history for this message
androith (androith) wrote :

Any news on when this patch is coming for 2.6.32-16-generic? It's the current (March 22, 3:48AM EST) kernel for Lucid.

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

This makes desktop voice chat apps useless. If the risk and effort to fix this is feasible, please do so.

Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Branko Strihic (branko-strihic) wrote :

I am using patch for 2.6.31-20 generic kernel and I can confirm that external microphone works fine.
I just plug it in and it works. No need for aditional setup.
Internal microphone sadly does not work.

Revision history for this message
ahmed Shaban (r-questionsasker-gmail-com) wrote :

I also have a lenovo U350 with Lucid followed the instructions on #60,61 and now the headphone jack /speakers working as they should but the internal mic is not working anymore. any solution ?

Revision history for this message
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?

Revision history for this message
androith (androith) wrote :

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

Revision history for this message
Branko Strihic (branko-strihic) wrote :

@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.

Revision history for this message
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.

Revision history for this message
ahmed Shaban (r-questionsasker-gmail-com) wrote :

I used the above given script

and it uploaded my information to :

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

Revision history for this message
Gruentee (constantin-kraft) wrote :
Revision history for this message
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.

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

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
Revision history for this message
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

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
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.

Revision history for this message
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 :-).

Revision history for this message
Branko Strihic (branko-strihic) wrote : Re: [Bug 477226] Re: Sound simultaneously on headphones and speakers - Lenovo IdeaPad u350

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
>

Revision history for this message
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)

Revision history for this message
_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

Revision history for this message
Branko Strihic (branko-strihic) wrote :

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.

Revision history for this message
Rajoy (siberia-accanto) wrote :

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

Revision history for this message
Rajoy (siberia-accanto) wrote :

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

Revision history for this message
Fabio Correa (facorread) wrote :

Linux kernel 2.6.35 does not have the issue.

Revision history for this message
Kiefer Jackson (thunderxfox) wrote : apport-collect data

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

Revision history for this message
Kiefer Jackson (thunderxfox) wrote : AlsaDevices.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : BootDmesg.gz
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : Card0.Amixer.values.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : CurrentDmesg.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : IwConfig.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : Lspci.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : Lsusb.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : PciMultimedia.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : ProcCpuinfo.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : ProcInterrupts.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : ProcModules.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : UdevDb.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : UdevLog.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : WifiSyslog.txt
Revision history for this message
Kiefer Jackson (thunderxfox) wrote : XsessionErrors.txt
Gary M (garym)
tags: added: hda-jack-sense
Revision history for this message
LumpyCustard (orangelumpycustard) wrote :

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)

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

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
To post a comment you must log in.