Built in speakers do not work on iMac 14,2

Bug #1355984 reported by Paul
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Xubuntu 14.04 on iMac 14,2 no sound from internal speakers. Loud and clear using OSX 10.9.4. Also tried installing Lubuntu (no sound at all) Linux Mint 16 & 17 and Ubuntu 13.04, 13.10 (same problem as Xubuntu).
Have all PulseAudio utils installed, all devices are listed but only analogue volume meter shows outputs when playing but as above nothing from speakers.
AlsaMixer shows S/PDIF (highlighted), SPDIF 1 & S/PDIF 2 not MM, set at 00 but cannot be adjusted.

To get the headphones to work I upgraded to the daily ALSA snapshot found here: https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages

The output of alsa-info.sh is here: http://www.alsa-project.org/db/?f=08cf13552b70232c96fea9293fdd54066243d79a I have downloaded the HDA Analyzer tool but I can't seem to get the internal speakers to work correctly in any consistent way, although they do occasionally work correctly for a few seconds. I can consistently make sound come from the speakers if I chose VREF = 50 or 80 in Node[0x0d]pin but it sounds like I am using a much smaller lower quality speaker when I do that. Here is the text dump for that node configuration:
Node 0x0d [Pin Complex] wcaps 0x41048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Pincap 0x00001764: IN Detect Balance
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Unsolicited: tag=0x00, enabled=0
  Power: setting=D0, actual=D0
  Delay: 1 samples

WORKAROUND for the headphones only: # echo "options snd-hda-intel model=imac27_122" >> /etc/modprobe.d/imac_local.conf followed by a reboot.

---
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ladmin 1910 F.... pulseaudio
 /dev/snd/controlC0: ladmin 1910 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-08-11 (1 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Apple Inc. iMac14,2
NonfreeKernelModules: wl
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-33-generic.efi.signed root=UUID=2f77d057-5c9c-42d8-b2c0-18507f43420e ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-33.58-generic 3.13.11.4
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-33-generic N/A
 linux-backports-modules-3.13.0-33-generic N/A
 linux-firmware 1.127.5
Tags: trusty trusty
Uname: Linux 3.13.0-33-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/14/2014
dmi.bios.vendor: Apple Inc.
dmi.bios.version: IM142.88Z.0118.B02.1403141302
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-27ADBB7B4CEE8E61
dmi.board.vendor: Apple Inc.
dmi.board.version: iMac14,2
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-27ADBB7B4CEE8E61
dmi.modalias: dmi:bvnAppleInc.:bvrIM142.88Z.0118.B02.1403141302:bd03/14/2014:svnAppleInc.:pniMac14,2:pvr1.0:rvnAppleInc.:rnMac-27ADBB7B4CEE8E61:rvriMac14,2:cvnAppleInc.:ct13:cvrMac-27ADBB7B4CEE8E61:
dmi.product.name: iMac14,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Paul (pauldast-i)
summary: - Built in speakers do now work on iMac 14,2 and iMac 14,4
+ Built in speakers do not work on iMac 14,2 and iMac 14,4
Revision history for this message
Paul (pauldast-i) wrote : Re: Built in speakers do not work on iMac 14,2 and iMac 14,4

Don't know if this is helpful or not, but I found this in my syslog:

Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.496428] snd_hda_codec: module has bad taint, not creating trace events
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.516999] snd_hda_controller: module has bad taint, not creating trace events
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.521445] snd_hda_intel 0000:00:1b.0: Probing card using HDA DKMS, version 0.201408110316~ubuntu14.04.1
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.521588] snd_hda_intel 0000:00:1b.0: irq 51 for MSI/MSI-X
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570365] sound hdaudioC0D0: autoconfig: line_outs=1 (0xb/0x0/0x0/0x0/0x0) type:speaker
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570368] sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570369] sound hdaudioC0D0: hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570370] sound hdaudioC0D0: mono: mono_out=0x0
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570370] sound hdaudioC0D0: dig-out=0x10/0x0
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570371] sound hdaudioC0D0: inputs:
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.570372] sound hdaudioC0D0: Mic=0xe
Aug 12 15:37:59 iMac14-1GWSpare kernel: [ 11.574003] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10

Paul (pauldast-i)
tags: added: kernel-sound
Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1355984

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

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

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Raymond (superquad-vortex2) wrote : Re: Built in speakers do not work on iMac 14,2 and iMac 14,4

Node 0x0b [Pin Complex] wcaps 0x410101: Stereo
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000050: OUT Balanced
  Pin Default 0x90100112: [Fixed] Speaker at Int N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x2
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Delay: 1 samples
  Connection: 1

how many speaker since the node support balanced mode ?

speaker is muted by the driver when headphone is plugged

control.17 {
  iface CARD
  name 'Headphone Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

do you mean Jack detection of headphone in incorrect ?

Revision history for this message
Paul (pauldast-i) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Paul (pauldast-i) wrote : BootDmesg.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : CRDA.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : IwConfig.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : Lspci.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : Lsusb.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : ProcEnviron.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : ProcModules.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : PulseList.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : RfKill.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : UdevDb.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : UdevLog.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : WifiSyslog.txt

apport information

Revision history for this message
Paul (pauldast-i) wrote : Re: [Bug 1355984] Re: Built in speakers do not work on iMac 14, 2 and iMac 14, 4
Download full text (8.7 KiB)

There are 2 internal speakers according to the system report in OSX.
Headphones work fine if I put a file with "options snd-hda-intel
model=imac27_122" in /etc/modprobe.d It is the built in speakers that
don't work. Headphone detection works. If I open alsamixer and plug in
the headphones it mutes the speakers, when I unplug them it un-mutes the
speakers. I just noticed something else interesting: I logged on to the
machine went to settings-->sound--test sound. The test sounds "Front
Right" and "Front Left" worked once then did not work again on subsequent
attempts there is no audio from applications and no volume adjust noise.
If I plug in the headphones I get all of the audio I am supposed to through
the headphones.

On Wed, Aug 13, 2014 at 1:03 AM, Raymond <email address hidden> wrote:

> Node 0x0b [Pin Complex] wcaps 0x410101: Stereo
> Control: name="Speaker Phantom Jack", index=0, device=0
> Pincap 0x00000050: OUT Balanced
> Pin Default 0x90100112: [Fixed] Speaker at Int N/A
> Conn = Unknown, Color = Unknown
> DefAssociation = 0x1, Sequence = 0x2
> Misc = NO_PRESENCE
> Pin-ctls: 0x00:
> Delay: 1 samples
> Connection: 1
>
> how many speaker since the node support balanced mode ?
>
> speaker is muted by the driver when headphone is plugged
>
>
> control.17 {
> iface CARD
> name 'Headphone Jack'
> value true
> comment {
> access read
> type BOOLEAN
> count 1
> }
> }
>
> do you mean Jack detection of headphone in incorrect ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1355984
>
> Title:
> Built in speakers do not work on iMac 14,2 and iMac 14,4
>
> Status in “alsa-driver” package in Ubuntu:
> New
> Status in “linux” package in Ubuntu:
> Incomplete
>
> Bug description:
> No sound from internal speakers but OK from plugged in headphones.
> Running Xubuntu 14.04 on partitioned iMac 14,4 which has Intel HD Audio
> (S/PDIF DigitalAudio output). Headphones appear to be using analogue
> output. Both loud and clear using OSX 10.9.4.
> Have tried all fixes found on many Linux distro websites but no success.
> Also tried installing Lubuntu (no sound at all) Linux Mint 16 & 17 and
> Ubuntu 13.04, 13.10 (same problem as Xubuntu).
> Have all PulseAudio utils installed, all devices are listed but only
> analogue volume meter shows outputs when playing but as above nothing from
> speakers.
> AlsaMixer shows S/PDIF (highlighted), SPDIF 1 & S/PDIF 2 not MM, set at
> 00 but cannot be adjusted.
> What is the problem? I sense there is a simple solution here, if only to
> ger the analogue output via the internal speakers.
> This is reminiscent of problemsI I had with Unbuntu 12.04 on an earlier
> iMac which were solved simply using AlsaMixer.
> That I have installed Ubuntu on my new iMac shows how much I prefer
> Linux to OSX, this small problem is spoiling my enjoyment of your great OS.
> Thank you in anticipation.
> Ed Hughes
>
>
> I have the same issue on ...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Built in speakers do not work on iMac 14,2 and iMac 14,4

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Paul (pauldast-i) wrote :

I just installed the kernel that you linked and the issue still exists in that kernel. I also installed the latest v3.17 kernel [0]. The issue exists in that kernel as well. However, something appears to have changed in these latest kernel builds. If I go to system preferences-->sound-->test sound, the "front right" and "front left" test sounds consistently work and other sounds work while those sounds are playing and sometimes for a few seconds after the test sounds play. The line "options snd-hda-intel model=imac27_122" is still required in /etc/modprobe.d/imac_local.conf for headphones to function and for this limited/intermittent speaker functionality.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc1-utopic/

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Paul (pauldast-i)
tags: added: kernel-bug-exists-upstream
Revision history for this message
penalvch (penalvch) wrote :

Paul, regarding only the iMac 14,2 could you please test the latest mainline kernel via http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc2-utopic/ and advise to the results?

description: updated
summary: - Built in speakers do not work on iMac 14,2 and iMac 14,4
+ Built in speakers do not work on iMac 14,2
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul (pauldast-i) wrote :

I have been a bit busy but I finally got a chance to test this with some newer kernels. I tested v3.17-rc3-utopic and v3.17-rc4-utopic kernels. Internal speakers still do not work and the headphone fix stopped working in both of these kernels.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Paul (pauldast-i) wrote :

Actually, headphone fix still works in v3.17-rc4-utopic. My bad.

Revision history for this message
Paul (pauldast-i) wrote :

Wait, internal speakers appear to be working as well. Not sure why I wasn't getting anything before but the last reboot with kernel v3.17-rc4-utopic appears to have fixed it.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Paul (pauldast-i) wrote :

I changed the status to Fix Commited. That seems like a good description of the current state of this.

Revision history for this message
Paul (pauldast-i) wrote :

Just rebooted again with kernel v3.17-rc4-utopic. Now headphones are working but internal speakers do not work when they are unplugged. My results are so inconsistent, changed status back to confirmed.

Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-3.17-rc4
removed: kernel-bug-exists-upstream
penalvch (penalvch)
tags: added: raring saucy
Revision history for this message
penalvch (penalvch) wrote :

Paul, did this issue not occur in a release prior to Raring without any WORKAROUNDs (ex. Precise 12.04.0 with kernel 3.2.x)?

As well, could you please test the latest mainline kernel 3.18-rc4 and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
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.