MacBookPro11,1 (Late 2013 Haswell) has no sound
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
I installed Ubuntu 13.10 on a new MacBook Pro (Late 2013, 13-inch Haswell retina). The speakers did not work after installation, and after I fixed it, it would not work after suspend. It turns out some of the flags were not set correctly. I can fix these problems but it would be nice to have them fixed at installation.
The problem can be seen in the GPIO section in /proc/asound/
GPIO: io=6, o=2, i=0, unsolicited=1, wake=1
IO[0]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0
If data were set to 1, sound would work! I fixed this by installing alsa-tools and adding to /etc/rc.local a line:
hda-verb /dev/snd/hwC1D0 0x1 set_gpio_data 1
After resuming from suspend, the GPIO flags for IO[0] became
GPIO: io=6, o=2, i=0, unsolicited=1, wake=1
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Here, three flags were set to 0. I fixed this by adding to /etc/pm/
#!/bin/sh
case "$1" in
resume|thaw)
hda-verb /dev/snd/hwC1D0 0x1 set_gpio_mask 1
sleep 1
hda-verb /dev/snd/hwC1D0 0x1 set_gpio_direction 1
sleep 1
hda-verb /dev/snd/hwC1D0 0x1 set_gpio_data 1
;;
esac
---
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-11-06 (21 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Apple Inc. MacBookPro11,1
MarkForUpload: True
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.116
Tags: saucy saucy
Uname: Linux 3.11.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 09/22/2013
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP111.
dmi.board.
dmi.board.name: Mac-189A3D4F975
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro11,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro11,1
dmi.product.
dmi.sys.vendor: Apple Inc.
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1255370/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]