[iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all with kernel 3.5.0

Bug #1033233 reported by Eric B
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Linux
New
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

This bug is a regression when upgrading from precise to quantal.

The sound sounds works okay on my Mac with kernel 3.2.0-27, but there is no sound at all if I choose a 3.5.0-7 kernel, all other packages and all settings being exactly the same. This seems to prove that the problem lies within the kernel.

In case it helps, in /etc/modprobe.d/alsa-base.conf, I have "options snd-hda-intel model=imac91".

$ lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10

$ apt-cache policy linux-image-3.5.0-7-generic
linux-image-3.5.0-7-generic:
  Installé : 3.5.0-7.7
  Candidat : 3.5.0-7.7
 Table de version :
 *** 3.5.0-7.7 0
        500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

expected : the sound works
happened : no sound at all

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: alsa-base 1.0.25+dfsg-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0
Uname: Linux 3.5.0-7-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 2011 F.... pulseaudio
Date: Sun Aug 5 17:53:32 2012
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia failed
Symptom_Card: Audio intégré - HDA NVidia
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 2011 F.... pulseaudio
Symptom_Jack: Speaker, Internal
Symptom_Type: No sound at all
Title: [iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/27/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: IM91.88Z.008D.B08.0904271717
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F2218EA9
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2218EA9
dmi.modalias: dmi:bvnAppleInc.:bvrIM91.88Z.008D.B08.0904271717:bd04/27/09:svnAppleInc.:pniMac9,1:pvr1.0:rvnAppleInc.:rnMac-F2218EA9:rvr:cvnAppleInc.:ct13:cvrMac-F2218EA9:
dmi.product.name: iMac9,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-08-05T16:25:01.731390

Revision history for this message
Eric B (ebischoff) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Confirmed: I walked EricB through debug on #ubuntu+1
Medium: Non-essential hardware component

tags: added: regression-release
Changed in alsa-driver (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
till (till-straumann) wrote :

I have the same problem on my MacbookPro 5,2. However, I found that the following works for me: If I bring up alsamixer then I find a setting (all the way to the right):

   Enabled
<Auto-Mute>

Hitting the up- or down- arrow switches this to 'Disabled' and after that my speakers work, Yeay!

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Just tested here and also Disable <Auto-Mute> and still don't works. Using 12.04 it works after diable <Auto-Mute>.

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

So, is it the commit that causes the problem? Or are you just point to the author?

Revision history for this message
Eric B (ebischoff) wrote :

The "automute" trick does not help here.

@Raymond: did you send an email to the patch author? Or are you encouraging us to do so?

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

I just in contact with the author of patch. Will try a patch that he sent me after some "alsa-info.sh" turns.

Looks like iMac 9.1 sound have Subsystem "0x106 b4300" but kernel is now expecting it as " 0x106b, 0x4900".

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Well, looks like it just works. Kudos to Takashi Iwai. Also, now we don't need to use the "model=imac91" it is just automatic detected.

Before submit the patch I will check if we can get a preset that is independent of "automute" trick. Also, will make a .deb in my PPA so you guys can also fix it easily.

This is the patch:

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 89737ae..515b8d0 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5412,6 +5412,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
        SND_PCI_QUIRK(0x106b, 0x4000, "MacbookPro 5,1", ALC889_FIXUP_IMAC91_VREF),
        SND_PCI_QUIRK(0x106b, 0x4100, "Macmini 3,1", ALC889_FIXUP_IMAC91_VREF),
        SND_PCI_QUIRK(0x106b, 0x4200, "Mac Pro 5,1", ALC885_FIXUP_MACPRO_GPIO),
+ SND_PCI_QUIRK(0x106b, 0x4300, "iMac 9,1", ALC889_FIXUP_IMAC91_VREF),
        SND_PCI_QUIRK(0x106b, 0x4600, "MacbookPro 5,2", ALC889_FIXUP_IMAC91_VREF),
        SND_PCI_QUIRK(0x106b, 0x4900, "iMac 9,1 Aluminum", ALC889_FIXUP_IMAC91_VREF),
        SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_IMAC91_VREF),

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Nice, just check now with a clean installation and "automute" trick is not needed anymore. So, with the patch the iMac 9,1 sound works without any trick or tweak... just perfect!

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "linux-imac91-sound.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Tresnio (tresnio-m) wrote :

Everaldo wrote:
"Before submit the patch I will check if we can get a preset that is independent of "automute" trick. Also, will make a .deb in my PPA so you guys can also fix it easily"

It's a good news, glad to hear it. Looking forward to hearing your PPA. Thanks.

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Linux 3.5.0-18.30 on my dev PPA:

 https://launchpad.net/~ecanuto/+archive/dev

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Looks like it fail to build. I will need time to fix it since I don't know how to make kernel available on PPA's.

Someone know how to propose this patch to quantal-proposed?

Also, any tutorial about upload kernel changes to ppa?

Revision history for this message
Everaldo Canuto (ecanuto) wrote :
Revision history for this message
Everaldo Canuto (ecanuto) wrote :
Revision history for this message
Everaldo Canuto (ecanuto) wrote :

Just ping herton at #ubuntu-kernel channel and he will take a look at it.

Revision history for this message
Tresnio (tresnio-m) wrote :

After updating the Kernel to version 3.6.8 through website upubuntu( http://www.upubuntu.com/2012/11/install-linux-kernel-368-in-ubuntu.html ), it SOLVED!

Finally, sound on my iMac9,1 ALC889A come back again. No need to use "model=imac91", etc., it's just work.

Everaldo, thank a lot !!
Cheer.

Revision history for this message
Everaldo Canuto (ecanuto) wrote : Re: [Bug 1033233] Re: [iMac9, 1, Realtek ALC889A, Speaker, Internal] No sound at all with kernel 3.5.0
Download full text (3.8 KiB)

Hehe, nice that it is working. I think it will available in Ubuntu updates
on next days so no need to use upubuntu.

Cheers,

2012/11/28 Tresnio <email address hidden>

> After updating the Kernel to version 3.6.8 through website upubuntu(
> http://www.upubuntu.com/2012/11/install-linux-kernel-368-in-ubuntu.html
> ), it SOLVED!
>
> Finally, sound on my iMac9,1 ALC889A come back again. No need to use
> "model=imac91", etc., it's just work.
>
> Everaldo, thank a lot !!
> Cheer.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1033233
>
> Title:
> [iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all with
> kernel 3.5.0
>
> Status in The Linux Kernel:
> New
> Status in “alsa-driver” package in Ubuntu:
> Confirmed
>
> Bug description:
> This bug is a regression when upgrading from precise to quantal.
>
> The sound sounds works okay on my Mac with kernel 3.2.0-27, but there
> is no sound at all if I choose a 3.5.0-7 kernel, all other packages
> and all settings being exactly the same. This seems to prove that the
> problem lies within the kernel.
>
> In case it helps, in /etc/modprobe.d/alsa-base.conf, I have "options
> snd-hda-intel model=imac91".
>
> $ lsb_release -rd
> Description: Ubuntu quantal (development branch)
> Release: 12.10
>
> $ apt-cache policy linux-image-3.5.0-7-generic
> linux-image-3.5.0-7-generic:
> Installé : 3.5.0-7.7
> Candidat : 3.5.0-7.7
> Table de version :
> *** 3.5.0-7.7 0
> 500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> expected : the sound works
> happened : no sound at all
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.10
> Package: alsa-base 1.0.25+dfsg-0ubuntu2
> ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0
> Uname: Linux 3.5.0-7-generic x86_64
> NonfreeKernelModules: nvidia wl
> ApportVersion: 2.4-0ubuntu6
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: eric 2011 F.... pulseaudio
> Date: Sun Aug 5 17:53:32 2012
> InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100427)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=
> TERM=xterm
> PATH=(custom, no user)
> LANG=fr_FR.UTF-8
> SHELL=/bin/bash
> SourcePackage: alsa-driver
> Symptom: audio
> Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia failed
> Symptom_Card: Audio intégré - HDA NVidia
> Symptom_DevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: eric 2011 F.... pulseaudio
> Symptom_Jack: Speaker, Internal
> Symptom_Type: No sound at all
> Title: [iMac9,1, Realtek ALC889A, Speaker, Internal] No sound at all
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 04/27/09
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: IM91.88Z.008D.B08.0904271717
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: Mac-F2218EA9
> dmi.board.vendor: Apple Inc.
> dmi.chassis.asset.tag: Asset Tag#
> dmi.chassis.ty...

Read more...

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Eric B (ebischoff) wrote :

Ah, damn, I won't be able to test it, because my Mac is now being used as a testing machine for raring rimtail.

... unless you are planning to port the patch to kernel 3.7 as well?

Revision history for this message
Eric B (ebischoff) wrote :

Hey, works again with kernel 3.7.0-7 from today ! Thanks so much.

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

I assume it is fixed in 3.8 based kernels, which are now in 13.04. Thanks for fixing it!

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
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.