Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick due to existing mb5 quirk

Bug #647293 reported by Roberto Cássio Jr.
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Clean install of Maverick beta. Tryed playing with alsamixer , mutting/unmutting various things, and it didn't work. I only get audio from the Macbook's internal speakers.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: alsa-base 1.0.23+dfsg-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rcsdnj 1491 F.... pulseaudio
                      rcsdnj 3287 F.... alsamixer
 /dev/snd/pcmC0D0c: rcsdnj 1491 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xd3480000 irq 22'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,106b4a00,00100103'
   Controls : 36
   Simple ctrls : 20
CheckboxCommand: gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink'
CheckboxData: as mentioned before, sound through headphones doesn't work on Macbook 5,2
CheckboxDescription:
 Please connect a pair of headphones to your audio device.

 Click the Test button to play a sound on the automatically detected playback device.

 Do you hear a sound through the headphones and did the sound play without any distortion, clicks or other strange noises from your headphones?
CheckboxTest: playback_headphones
Date: Sat Sep 25 01:49:34 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.utf8
SourcePackage: alsa-driver
dmi.bios.date: 04/16/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB52.88Z.0088.B05.0904162222
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F22788AA
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F22788AA
dmi.modalias: dmi:bvnAppleInc.:bvrMB52.88Z.0088.B05.0904162222:bd04/16/09:svnAppleInc.:pnMacBook5,2:pvr1.0:rvnAppleInc.:rnMac-F22788AA:rvr:cvnAppleInc.:ct10:cvrMac-F22788AA:
dmi.product.name: MacBook5,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Roberto Cássio Jr. (rcsdnj) wrote :
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Confirm. I also use Maverick RC amd64 and no sound in headphones. Also doesn't work microphone input.
Lenovo G555

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 647293] Re: Audio doesn't route to headphones on Macbook 5, 2 for Ubuntu Maverick

Igor, please file a separate bug, with the command "ubuntu-bug alsa-base", as your hardware is different to the original reporter.

Revision history for this message
Roberto Cássio Jr. (rcsdnj) wrote : Re: Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick

This problems persists exactly in the same way in Natty Narwhal.

Revision history for this message
Roberto Cássio Jr. (rcsdnj) wrote :

On Natty, I'm able to get sound working fine by adding "options snd-hda-intel model=mb31" to /etc/modprobe.d/alsa-base.conf file.

So, to fix this bug, wouldn't be enough to update the auto-detection list in order to Macbook 5,2 use the model mb31?

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 647293] Re: Audio doesn't route to headphones on Macbook 5, 2 for Ubuntu Maverick

What about recording?

Revision history for this message
Roberto Cássio Jr. (rcsdnj) wrote :

Recording is also working fine with the same workaround. I think I just
had to unmute it, not sure.

On Fri, 2011-05-13 at 14:32 +0000, Daniel T Chen wrote:

> What about recording?
>

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick

There is an existing quirk that uses the Macbook 5,2 model (model=mb5), so "fixing" the autodetection (codec SSID, not PCI SSID) would likely regress other models.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
summary: - Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick
+ Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick due
+ to existing mb5 quirk
Revision history for this message
Roberto Cássio Jr. (rcsdnj) wrote : Re: [Bug 647293] Re: Audio doesn't route to headphones on Macbook 5, 2 for Ubuntu Maverick

I'm not sure I understood the problem. I thought that just loading mb3
mode for Macbook 5,2 would fix the problem, without affecting other
machines - since this detection would be applied only for this specific
model.

Anyway, is there anything else useful I can do to help with fixing this
bug?

On Sat, 2011-05-14 at 15:24 +0000, Daniel T Chen wrote:

> There is an existing quirk that uses the Macbook 5,2 model (model=mb5),
> so "fixing" the autodetection (codec SSID, not PCI SSID) would likely
> regress other models.
>
> ** Changed in: alsa-driver (Ubuntu)
> Status: New => Confirmed
>
> ** Summary changed:
>
> - Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick
> + Audio doesn't route to headphones on Macbook 5,2 for Ubuntu Maverick due to existing mb5 quirk
>

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

On Sat, May 21, 2011 at 03:35:30AM EST, Roberto Cássio Jr. wrote:
> I'm not sure I understood the problem. I thought that just loading mb3
> mode for Macbook 5,2 would fix the problem, without affecting other
> machines - since this detection would be applied only for this specific
> model.
>
> Anyway, is there anything else useful I can do to help with fixing this
> bug?

If you can clarrify a couple of things for me, I can come up with a new quirk especially for MacBook 5,2 machines. I'll break it down into a series of questions about using the mb31 quirk, and using the current default for your machine, the mb5 quirk.

With the mb31 quirk:
Does headphone jack sense, i.e connect headphones, turn off internal speakers, disconnect headphones, turn on internal speakers work?
Does line in, and the internal microphone work?
Does digital/optical in work? (Don't worry if you can't test this.)

With the default/mb5 quirk:
Does headphone jack sense, i.e connect headphones, turn off internal speakers, disconnect headphones, turn on internal speakers work?
Does line in, and the internal microphone work?
Does digital/optical in work? (Don't worry if you can't test this.)

If you are able to answer as many fo the above as possible, I will be able to take a look at the code responsible for setting up the chip in your machine, and as I said above, possibly come up with a new quirk for that model of machine. Once done, I can make a test package for you to try.

Thanks

Luke

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: Confirmed → Incomplete
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.