Muting and unmuting Master channel when headphones are plugged in causes internal speaker to unmute on MacBook Pro

Bug #212051 reported by Alexander Jones
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Steps to reproduce:
Play music
(Sound comes out of speakers)
Plug headphones in
(Speakers switch off, sound now comes out of headphones)
Reduce volume to 0, or just mute
Increase volume, or unmute

Expected results:
Speakers remain off, sound comes out of headphones.

Actual results:
Speakers come back on, but sound also plays out of headphones. The master control controls both the headphone and the speaker volume.

snd-hda-intel in linux 2.6.28-11-generic in Ubuntu 9.04.

Bug stands since 8.04. Prior to that (with 7.10), the result was different but also buggy in a different way (I don't remember the details).

=============================
Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=4ef22768-e599-468f-9b8f-130df6a985a0
MachineType: Apple Inc. MacBookPro3,1
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
PackageArchitecture: amd64
ProcCmdLine: root=UUID=7d1e2f50-4756-49ea-94f5-22e91fe0d377 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm libvirtd lpadmin plugdev pulse-rt sambashare video
=================================

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
        Subsystem: Apple Computer Inc. Device 00a0
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at 9b500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000 Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Revision history for this message
Isaac Dupree (idupree) wrote :

doesn't happen to me on June 2007 MacBook, with Hardy x86 edition. (although, after upgrading to Hardy, I had to use the workaround in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/201957 for any sound at all to come out of my headphones). Now, maybe it's different on your different configuration or when the Ubuntu is 64-bit. For me, even if no sound comes out of the headphones, if there are any plugged into the headphones jack then no sound comes out of the built-in speakers.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Revision history for this message
Alexander Jones (alex-weej) wrote :

yes

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Sorry but a simple 'yes' will not help us to help you. Also can you please refrain from Confirming your own bugs please.
Can you ellaborate. Is this still an issue for you and have you tried with latest Ubuntu release (Intrepid)?

Thank you.

Revision history for this message
Alexander Jones (alex-weej) wrote :

Yes, in answer to both of your questions.

description: updated
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hi Alexander,

Thank you for clarifying the above.
Can you please follow the instructions at both https://wiki.ubuntu.com/DebuggingGNOMEApplets and https://wiki.ubuntu.com/DebuggingSoundProblems and attach any output files as described as necessary to get this problem through the initial stages please.

Thank you.

Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Alexander Jones (alex-weej) wrote :

alsamixer -c0

Selecting the master channel and pressing "m" to mute it and then unmute it has the same effect. It's an ALSA driver bug in snd-hda-intel.

Changed in linux:
status: Incomplete → Confirmed
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Requested info not given - marking Incomplete.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Again, I ask you to refrain from changing the bug status. This cannot be set as Confirmed as per the Bug Squad policies which you can find at the relevant page at http://wiki.ubuntu.com - in regards to the problems you are having, can you please follow the instructions at both https://wiki.ubuntu.com/DebuggingGNOMEApplets and https://wiki.ubuntu.com/DebuggingSoundProblems and attach any output files as necessary, or this bug will stay as Incomplete. Failing that, we will have to mark it as Invalid, as the requested information is not being provided.
Also I remind you to please follow the code of conduct - http://www.ubuntu.com/community/conduct/ Thank you.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Alexander Jones (alex-weej) wrote :

This is a bug in snd-hda-intel. Please drop the attitude.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
tags: removed: apport-bug
description: updated
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thank you for updating the description, and there is no attitude, there are just set procedures in place for triaging bugs, one of the main rules is only triagers change statuses :) I'll get the Importance changed for you. Thanks again!

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Also, sorry 1 last thing, as per the Kernel Team policies, can you run the following to pull in all the required info to the bug report:

apport-collect -p linux-image-`uname -r` 212051

Thanks!

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Alexander Jones (alex-weej) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=4ef22768-e599-468f-9b8f-130df6a985a0
MachineType: Apple Inc. MacBookPro3,1
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
PackageArchitecture: amd64
ProcCmdLine: root=UUID=7d1e2f50-4756-49ea-94f5-22e91fe0d377 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm libvirtd lpadmin plugdev pulse-rt sambashare video

Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thanks for the info. Marking as Confirmed and giving this to the developers, as there should now be enough info to get this debugging.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
tags: added: audio macbook
Gary M (garym)
tags: added: macbookpro
removed: macbook
Changed in linux (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
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: Triaged → Won't Fix
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.