Jack sensing for mini-TOSLINK optical connector isn't automated on MacBook Pro 4,1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: pulseaudio
I have a MacBookPro4,1 (hereby referred to as laptop or the laptop) which I'm planning on running Ubuntu 10.04 on. Everything went well until I wanted to use my sound system.
This laptop has a combined 3.5mm analog/mini-toslink optical output and when I connect my mini-toslink optical cable to the laptop I expect it to change output to optical audio through the correct port like it does when I connect a pair of analog headphones. This isn't the case.
lspci reports the audio card as follows:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pulseaudio 1:0.9.22~
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: rekoil 1511 F...m pulseaudio
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0x9b500000 irq 20'
Mixer name : 'Realtek ALC889A'
Components : 'HDA:10ec0885,
Controls : 33
Simple ctrls : 19
Date: Sun Jun 6 19:27:25 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: pulseaudio
dmi.bios.date: 02/27/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP41.88Z.
dmi.board.
dmi.board.name: Mac-F42C89C8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro4,1
dmi.product.
dmi.sys.vendor: Apple Inc.
description: | updated |
summary: |
- Audio output on MacBook Pro not working as expected + Jack sensing doesn't work as expected on MacBookPro4,1 |
summary: |
- Jack sensing doesn't work as expected on MacBookPro4,1 + Jack sensing doesn't work as expected on MacBook Pro 4,1 |
Unfortunately there is no jack sensing in Linux the way the optical port is enabled in OS X or similar. What you have to do is go into a terminal, and run alsamixer. In alsamixer, you will find a control labeled IEC958, and it will be muted. To move through the controls, use the left and right arrow keys. Once you find IEC958, press the m key to unmute it. The good thing is that this can be left enabled all the time with no ill effects, you will still be able to use the internal notebook speakers, and headphones.
Longer term, we need to try and sense when an optical cable is plugged in, and activate optical output. I happen to have the same machine as you, and have to go through the same headache.