Switching problem between headphone speaker and microphone to laptop built in speakers and front mic

Bug #995684 reported by Kazi Shahnoor Ashraf
78
This bug affects 18 people
Affects Status Importance Assigned to Milestone
ALSA driver
New
Undecided
Unassigned
alsa-driver (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

If I connect my head phone to my laptop it doesn't stop my laptop built in speaker. Headphone works properly but at the same time laptop speakers also plays. Headphone microphone behaves as same way.

It supposed to stop as soon as I connect my headphone to my laptop which is not happening. And when I will remove my headphone from my laptop the sound should immediately go to my laptop front speaker as well as headphone mic/ external mic to front microphone.

I'm to restart my laptop every time to switch between headphone speaker and mic to laptop built in speakers and front mic or vice versa .

I'm using Ubuntu 12.04
My Laptop Model is -- Acer Aspire 4930G

[HDA-Intel - HDA Intel, playback] Playback problem -----This also can be which I removed from the summary to make it more practical.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.25+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kaziweb 1791 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdb300000 irq 48'
   Mixer name : 'Nvidia MCP77/78 HDMI'
   Components : 'HDA:10ec0888,1025013e,00100202 HDA:11c11040,1025013e,00100200 HDA:10de0003,10de0101,00100000'
   Controls : 39
   Simple ctrls : 21
CheckboxSubmission: 8fd48644d181f3510df7282ec1ddf6f8
CheckboxSystem: ed86e29ffba809c116a39e33fa9fc45c
Date: Mon May 7 01:59:18 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel failed
Symptom_Card: Built-in Audio - HDA Intel
Symptom_Type: None of the above
Title: [HDA-Intel - HDA Intel, playback] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/29/2008
dmi.bios.vendor: Acer
dmi.bios.version: V1.10
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 4930
dmi.board.vendor: Acer
dmi.board.version: V1.10
dmi.chassis.type: 1
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.10
dmi.modalias: dmi:bvnAcer:bvrV1.10:bd07/29/2008:svnAcer:pnAspire4930:pvrV1.10:rvnAcer:rnAspire4930:rvrV1.10:cvnAcer:ct1:cvrV1.10:
dmi.product.name: Aspire 4930
dmi.product.version: V1.10
dmi.sys.vendor: Acer

Revision history for this message
Kazi Shahnoor Ashraf (kaziweb) wrote :
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
status: Incomplete → New
security vulnerability: no → yes
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
Revision history for this message
Kazi Shahnoor Ashraf (kaziweb) wrote : Re: [Bug 995684] Re: Switching problem between headphone speaker and microphone to laptop built in speakers and front mic
Download full text (4.4 KiB)

Hi Mr. Dave,

I'm suffering a lot for a long time because of this problem. I always use
skype for communication officially and personally. some time I must need
headphone and sometime I must need front speaker for loud voice. For me
this is security issue. when I use headphone means, I don't want any other
to listen. So this is security issue for me in a sense. Anyways, this is a
big problem for me and not only me as I'm facing problem lot of people must
facing problem. I would request you help me with some solution. I'm really
in problem. I use skype for business purpose. this is hampering my day to
day smooth business communication activities.
Please help me.

Thank You

Kazi Shahnoor Ashraf
www.kaziweb.com
Mobile: +880 173 371 8466 (Bangladesh)
Mobile: +974 5563 8032 (Qatar)
Skype ID: kaziweb

On Sun, May 13, 2012 at 3:29 AM, Dave Lentz <email address hidden>wrote:

> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. We appreciate the difficulties you are facing, but this appears
> to be a "regular" (non-security) bug. I have unmarked it as a security
> issue since this bug does not show evidence of allowing attackers to
> cross privilege boundaries nor directly cause loss of data/privacy.
> Please feel free to report any other bugs you may find.
>
> ** This bug is no longer flagged as a security vulnerability
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/995684
>
> Title:
> Switching problem between headphone speaker and microphone to laptop
> built in speakers and front mic
>
> Status in ALSA driver:
> New
> Status in “alsa-driver” package in Ubuntu:
> New
>
> Bug description:
> If I connect my head phone to my laptop it doesn't stop my laptop
> built in speaker. Headphone works properly but at the same time laptop
> speakers also plays. Headphone microphone behaves as same way.
>
> It supposed to stop as soon as I connect my headphone to my laptop
> which is not happening. And when I will remove my headphone from my
> laptop the sound should immediately go to my laptop front speaker as
> well as headphone mic/ external mic to front microphone.
>
> I'm to restart my laptop every time to switch between headphone
> speaker and mic to laptop built in speakers and front mic or vice
> versa .
>
> I'm using Ubuntu 12.04
> My Laptop Model is -- Acer Aspire 4930G
>
> [HDA-Intel - HDA Intel, playback] Playback problem -----This also can
> be which I removed from the summary to make it more practical.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu1
> ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
> Uname: Linux 3.2.0-24-generic-pae i686
> NonfreeKernelModules: nvidia
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: i386
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: kaziweb 1791 F.... pulseaudio
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xdb300000 irq 48'
> Mixer name : 'Nvidia MCP77/78 HDMI'
> Components : 'HDA:10e...

Read more...

Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

Revision history for this message
amay82 (andimayer82-deactivatedaccount) wrote :

Have the same problem too. Worked until Ubuntu 11.10, the problem appread with 12.04. My laptop: AMILO Pi 3540

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
lazkopat67 (trabzonlu1967) wrote :

I have the same issues with my Acer 5920G Notebook and Ubuntu 12.04 Precise running.
For me with Ubuntu 11.10 I have had no problems, but with an Update on Precise this bug has emerged.
Please help!

Revision history for this message
rinaldomerlo (rinaldomerlo) wrote :

I have this issue too, on 12.04. It is impossible to switch between Headphones and Built-in laptop speakers, they both work together. I did not have this issue on 10.04.

Panasonic Toughbook CF-y7.
Running Gnome fallback/classic, though it is the same problem on Unity.

In the sound settings I've tried switching between Analogue Stereo Duplex and the other options but that doesn't help.

Revision history for this message
Daniel S. de Oliveira (daniel-datarouting) wrote :

If I connect the headphones so the sound comes through the headphones as the speakers built in, only to run the headphones have to start ubuntu with headphones connected, but in this case it disconnects the sound no longer goes out through speakers built into the headphones only.

I use Ubuntu 12.04 64bit in previous versions did not have this problem 9.10 and 10:04.

Output lspci:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
 Subsystem: Acer Incorporated [ALI] Aspire 5920G
 Flags: bus master, fast devsel, latency 0, IRQ 45
 Memory at f0500000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

Revision history for this message
Rune Hoeper (snail-gary+launchpad) wrote :

Same problem here. Did not, however tested what's happening when powering on with headphones attached.
Ubuntu 12.04 64bit. No Problem in 10.04 10.10.

lspci -v:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
 Subsystem: Acer Incorporated [ALI] Device 015e
 Flags: bus master, fast devsel, latency 0, IRQ 46
 Memory at f0400000 (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: snd_hda_intel
 Kernel modules: snd-hda-intel
Please fix, this is a no-go.

Revision history for this message
Michal (michal-hantl) wrote :

Same problem here, didn't test powering with headphones either.

Laptop is Acer Aspire 3820TG, used to work in older ubuntus.

kernel: 3.0.0-12-generic-pae

lspci -v:

02:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]
 Subsystem: Acer Incorporated [ALI] Device 0364
 Flags: bus master, fast devsel, latency 0, IRQ 43
 Memory at cfedc000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

Revision history for this message
Costas Cotsaces (cotsaces) wrote :

Exactly the same problem here. Behavior is determined in boot time:
-if headphones plugged in at boot, sound only in headphones until next reboot.
-if headphones not plugged in at boot, sound in both speakers and headphones until next boot.

In 11.10 the behavior was correct, speakers would turn off as soon as headphones were plugged in.

My computer is an Acer Aspire 5920 laptop

lspci -v:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
 Subsystem: Acer Incorporated [ALI] Aspire 5920G
 Flags: bus master, fast devsel, latency 0, IRQ 45
 Memory at f3500000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

Revision history for this message
Rakitha S Beminiwattha (rakithab) wrote :

Same problem affects me. I have ASUS U46E running Ubuntu 12.04 LTS with following sound driver

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
 Subsystem: ASUSTeK Computer Inc. Device 1bc3
 Flags: bus master, fast devsel, latency 0, IRQ 22
 Memory at dfc00000 (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: snd_hda_intel
 Kernel modules: snd-hda-intel

Revision history for this message
amay82 (andimayer82-deactivatedaccount) wrote :

Problem fixed: Switched to Fedora 17.

Revision history for this message
xsoul (ivyleexyg) wrote :

Exactly same problem here, on Acer 4930g Ubuntu 12.04

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

do you mean regression ?

it seem there was an internal lfe speaker playback volume control before this patch

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=c3e837bbcc03e39991da5dd1f791c06cde9f7a45;hp=07b18f69a766375736a5313c29d808e59b1e13e9

Revision history for this message
John McDonald (johnmcd) wrote :

I have the same problem with an alienware m14x running ubuntu 12.04. This is a pretty significant issue in my opinion given that it stops me using skype with a headset, etc.

description: updated
Revision history for this message
alin ciolompea (alinciolompea) wrote :

 I found myself a solution: run
alsamixer
in the terminal
there you can mute (press m ) the headphone.
This is not a solution for a long time, but I think you cand handle the problem for a while.
Bye! and Good luck!

Revision history for this message
madbiologist (me-again) wrote :

@ Kazi Shahnoor Ashraf (kaziweb) and xsoul (ivyleexyg) - The following commit in the upstream kernel 3.4 might help you:

author Takashi Iwai
Wed, 11 Apr 2012 15:18:12 +0000 (17:18 +0200)
committer Takashi Iwai
Thu, 12 Apr 2012 05:58:19 +0000 (07:58 +0200)
commit 038d4fef376bc494d4f11072d2ab248414b7d568
tree 016c2c4d6c11c136ca90285816da5f4732c8f8cd
parent 912093bc7c08f59e97faed2c0269e1e5429dcd58

ALSA: hda/realtek - Fix GPIO1 setup for Acer Aspire 4930 & co

Add GPIO1 setup explicitly for Acer Aspire 493x & co.
This could be set by alc_auto_init_amp(), but it's safer to set it
more explicitly in the fixup table.

Signed-off-by: Takashi Iwai

The upcoming Ubuntu 12.10 "Quantal Quetzal" is based on the upstream 3.5 kernel and should contain this patch. Please advise whether or not this problem still occurs on Ubuntu 12.10 beta 2, which is currently available from www.ubuntu.com/testing

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
girts (girtsz) wrote :

Hello,

I solved problem by doing:

sudo add-apt-repository ppa:upubuntu-com/kernel-i386
sudo apt-get update

sudo apt-get dist-upgrade
or
sudo apt-get install linux

I upgraded Linux Kernel.

Revision history for this message
girts (girtsz) wrote :

Is this bug due Linux Kernel? Maybe I am wrong, but I think Yes!

Revision history for this message
drey (inhuman-irk) wrote :

Same problem here, didn't test powering with headphones either.

Laptop is Acer Aspire 7720G, used to work in linux mint 13 before last update.

$ uname -a
Linux claw 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 i686 i386 GNU/Linux

lspci -v:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
 Subsystem: Acer Incorporated [ALI] Device 011e
 Flags: bus master, fast devsel, latency 0, IRQ 46
 Memory at 98400000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

Revision history for this message
Arie Skliarouk (skliarie) wrote :

Same problem on ubuntu 12.10 amd64. Both in (ubuntu 12.04-provided) kernel 3.2.0 and kernel 3.5.0.

So it looks it is not the kernel after all...

Revision history for this message
Arie Skliarouk (skliarie) wrote :

After searching more on internet, I found fix on this page that helped me:
http://askubuntu.com/questions/135804/want-sound-only-to-headphones-when-it-plugged-in-and-in-speakers-else

...
Add a line to /etc/modprobe.d/alsa-base.conf :

options snd-hda-intel model=auto probe_mask=1

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

Hi!

This is not one bug; it is many different bugs. The bugs usually need to be fixed once for every type of machine.

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

Revision history for this message
Milan Sulc (rkfelix) wrote :

Hi,

I have had same issue on my Dell XPS L521X on Linux Mint 18 x64.

This solve my problem.

---------------------------------------------

Add a line to /etc/modprobe.d/alsa-base.conf :

options snd-hda-intel model=auto probe_mask=1

---------------------------------------------

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.