Results 1 to 10 of 227

Thread: Sound on a Macbook Pro 5,5?

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Beans
    34
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Sound on a Macbook Pro 5,5?

    Update/EDIT #2:
    According to various reports in this thread sound now seems to work with newest alsa snapshots. Haven't tried it myself yet, but thanks to digging work done by bobbytables & barryreid we now have Ubuntu-specific step-by-step instructions on how to install the sound driver here.



    Update/EDIT:
    Still no sound on the Macbook Pro 5,5. Since I guess I'm just the first one with this problem and other 13" Macbook Pro/5,5 users might follow later I thought I'd update this post with everything I tried unsuccessfuly so far.


    • Installed alsa 1.0.20 from shell script (http://ubuntuforums.org/showthread.p...10#post6589810)
    • Installed alsa 1.0.19 manually with patch for Macbook Pro 5,1 according to wiki description
    • Installed alsa 1.0.20 manually with instructions to enable Intel HDA driver
    • Added options snd_hda_intel model=mbp3 to /etc/modprobe.d/options
    • Added options snd_hda_intel model=macbook-pro to /etc/modprobe.d/options
    • Added options snd_hda_intel model=mbp3 to /etc/modprobe.d/options.conf
    • Added options snd_hda_intel model=macbook-pro to /etc/modprobe.d/options.conf
    • Added options snd_hda_intel model=mb5 to /etc/modprobe.d/options (with patched alsa 1.0.19)
    • Created custom .asoundrc in home according to dman77's suggestion


    Actually I've tried a lot more things than that and all of the above in various combinations and an additional reinstall in the meantime, but to no success so far.

    I've attached lspci, lsmod and proc/codec output to this post, maybe it helps someone else to find a solution to this problem.



    Old Post:
    ---------------------------
    Hello,

    got me one of the new 13" Macbook Pros that were released last week and finally got around installing Ubuntu on it, which I used as only OS for two years already on my other PC.

    I have some strange error messages related to ACPI on start up and no hibernate/suspend/restart, camera doesn't seem to work either, but that doesn't bother me much. What I really find quite annoying is that I can't get any sound out of it.

    The sudo dmidecode -s system-product-name output says MacBookPro5,5, so apparently there's no support in the Mactel Wiki Support Matrix yet. I managed to get some things to work with instructions from 5,1 Macbook Pro (mainly Keyboard LEDs, right click on touchpad), but I'm a bit reluctant to try the sound patch that's described there, since I don't know if I'm on the same sound hardware.

    I tried the alternate solution the article links to, which seems to install Alsa 1.20, but this doesn't work. Right after the script is executed I seem to have alsa running, aplay -l produces output regarding a built-in nvidia HD soundcard (which I can quote if necessary, but I'm sitting on my other PC right now), but I still don't get any sound.

    Anything I can do? Could anyone help? Would be highly appreciated.

    P.S.
    Also having no Page Up/Page Down/Home/End/Insert/Delete keys is a bit annoying... is it possible to tie them to the FN key somehow?
    Attached Files Attached Files
    Last edited by NorQue; July 30th, 2009 at 02:09 PM.

  2. #2
    Join Date
    Jan 2009
    Beans
    309
    Distro
    Ubuntu Development Release

    Re: Sound on a Macbook Pro 5,5?

    Quote Originally Posted by NorQue View Post
    The sudo dmidecode -s system-product-name output says MacBookPro5,5, so apparently there's no support in the Mactel Wiki Support Matrix yet.
    Looks like you're the first! You should create a new 5,5 page with any info for others to use in the future

    Quote Originally Posted by NorQue View Post
    I managed to get some things to work with instructions from 5,1 Macbook Pro (mainly Keyboard LEDs, right click on touchpad), but I'm a bit reluctant to try the sound patch that's described there, since I don't know if I'm on the same sound hardware.
    It can't hurt - try and see

    Quote Originally Posted by NorQue View Post
    I tried the alternate solution the article links to, which seems to install Alsa 1.20, but this doesn't work. Right after the script is executed I seem to have alsa running, alsa -l produces output regarding a built-in nvidia HD soundcard (which I can quote if necessary, but I'm sitting on my other PC right now), but I still don't get any sound and alsa -l doesn't produce output after a restart.
    Well 1.0.20 doesn't contain any of the needed driver mods for the MBP5,1 so I am not surprised it doesn't work

    Quote Originally Posted by NorQue View Post
    Also having no Page Up/Page Down/Home/End/Insert/Delete keys is a bit annoying... is it possible to tie them to the FN key somehow?
    they already are tied to fn on the MBP5,1 as:
    Code:
    PageUp ->  Fn+Up
    PageDown -> Fn+Down
    Home -> Fn+Left
    End -> Fn+Right
    Insert -> Fn+Enter
    Delete -> Fn+Backspace

  3. #3
    Join Date
    Oct 2006
    Beans
    34
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Sound on a Macbook Pro 5,5?

    Quote Originally Posted by alexmurray View Post
    Looks like you're the first! You should create a new 5,5 page with any info for others to use in the future
    Don't really know what to write there besides copying the 5,1 article, since I haven't exactly accomplished very much and I'm not really the biggest Linux expert (despite my two year of usage... it's nice that usually everything just works out of the box without a lot of problems and when there are any they are solved easily most of the time ).
    Quote Originally Posted by alexmurray View Post
    It can't hurt - try and see
    Quote Originally Posted by cyberdork33 View Post
    I second trying the patch for the other 5,x models.
    Tried the 5,1 patch now, but it doesn't work. There anything I can do besides writing my own driver? Any info that's needed? Any output I can post that may help someone who might be interested in helping out? Or to find out if it's even just a layer 8 problem?
    Quote Originally Posted by alexmurray View Post
    they already are tied to fn on the MBP5,1 as:
    Code:
    PageUp ->  Fn+Up
    PageDown -> Fn+Down
    Home -> Fn+Left
    End -> Fn+Right
    Insert -> Fn+Enter
    Delete -> Fn+Backspace
    Thanks a bunch, that helped a lot.
    Last edited by NorQue; June 16th, 2009 at 09:40 PM.

  4. #4
    Join Date
    Jan 2009
    Beans
    309
    Distro
    Ubuntu Development Release

    Re: Sound on a Macbook Pro 5,5?

    As far as audio goes if you could post the output of
    Code:
    cat /proc/asound/card0/codec#0
    then I can try have a look for you, although I still don't completely understand all the hda audio stuff - the best person to contact would be Kacper who wrote the patch for the MB[P]5,1 - his email address is on the wiki page which has the patch - and if you email him the contents of /proc/asound/card0/codec#0 and tell him you are trying to get your MBP5,5 working he may be able to write a patch for you if you're lucky

  5. #5
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Sound on a Macbook Pro 5,5?

    yea it is purely about adding the capability to alsa I am afraid.

  6. #6
    Join Date
    Oct 2006
    Beans
    34
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Sound on a Macbook Pro 5,5?

    Code:
    cat /proc/asound/card0/codec#0
    says:
    Code:
    Codec: Generic 1013 ID 4206
    Address: 0
    Vendor Id: 0x10134206
    Subsystem Id: 0x106b4d00
    Revision Id: 0x100301
    No Modem Function Group found
    Default PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    GPIO: io=4, o=0, i=0, unsolicited=0, wake=0
      IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
      IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
      IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
      IO[3]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0
    Node 0x02 [Audio Output] wcaps 0xd041d: Stereo Amp-Out
      Amp-Out caps: ofs=0x73, nsteps=0x7f, stepsize=0x01, mute=1
      Amp-Out vals:  [0xf3 0xf3]
      Converter: stream=0, channel=0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
      Power: setting=D0, actual=D0
      Delay: 13 samples
    Node 0x03 [Audio Output] wcaps 0xd041d: Stereo Amp-Out
      Amp-Out caps: ofs=0x73, nsteps=0x7f, stepsize=0x01, mute=1
      Amp-Out vals:  [0x5c 0x5c]
      Converter: stream=0, channel=0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
      Power: setting=D0, actual=D0
      Delay: 13 samples
    Node 0x04 [Audio Output] wcaps 0xd041d: Stereo Amp-Out
      Amp-Out caps: ofs=0x73, nsteps=0x7f, stepsize=0x01, mute=1
      Amp-Out vals:  [0xf3 0xf3]
      Converter: stream=0, channel=0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
      Power: setting=D0, actual=D0
      Delay: 13 samples
    Node 0x05 [Audio Input] wcaps 0x18051b: Stereo Amp-In
      Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
      Amp-In vals:  [0x0c 0x0c] [0x0c 0x0c]
      Converter: stream=0, channel=0
      SDI-Select: 0
      PCM:
        rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
      Power: setting=D0, actual=D0
      Delay: 8 samples
      Connection: 2
         0x0c* 0x12
    Node 0x06 [Audio Input] wcaps 0x18051b: Stereo Amp-In
      Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
      Amp-In vals:  [0x38 0x38] [0x38 0x38]
      Converter: stream=0, channel=0
      SDI-Select: 0
      PCM:
        rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
        bits [0x1e]: 16 20 24 32
        formats [0x3]: PCM FLOAT
      Power: setting=D0, actual=D0
      Delay: 8 samples
      Connection: 2
         0x0d* 0x0e
    Node 0x07 [Audio Input] wcaps 0x180791: Stereo Digital
      Converter: stream=0, channel=0
      SDI-Select: 0
      Digital: Preemphasis Copyright
      Digital category: 0x0
      PCM:
        rates [0x570]: 32000 44100 48000 96000 192000
        bits [0x1e]: 16 20 24 32
        formats [0x7]: PCM FLOAT AC3
      Unsolicited: tag=00, enabled=0
      Power: setting=D0, actual=D0
      Delay: 8 samples
      Connection: 1
         0x0f
    Node 0x08 [Audio Output] wcaps 0x40611: Stereo Digital
      Converter: stream=0, channel=0
      Digital:
      Digital category: 0x0
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0x1e]: 16 20 24 32
        formats [0x7]: PCM FLOAT AC3
      Power: setting=D0, actual=D0
      Delay: 4 samples
    Node 0x09 [Pin Complex] wcaps 0x410581: Stereo
      Pincap 0x0000001c: OUT HP Detect
      Pin Default 0x012b4030: [Jack] HP Out at Ext Rear
        Conn = Comb, Color = Green
        DefAssociation = 0x3, Sequence = 0x0
      Pin-ctls: 0x00:
      Unsolicited: tag=00, enabled=0
      Power: setting=D0, actual=D0
      Delay: 1 samples
      Connection: 1
         0x02
    Node 0x0a [Pin Complex] wcaps 0x410581: Stereo
      Pincap 0x00000054: OUT Detect Balanced
      Pin Default 0x90100121: [Fixed] Speaker at Int N/A
        Conn = Unknown, Color = Unknown
        DefAssociation = 0x2, Sequence = 0x1
        Misc = NO_PRESENCE
      Pin-ctls: 0x40: OUT
      Unsolicited: tag=00, enabled=0
      Power: setting=D0, actual=D0
      Delay: 1 samples
      Connection: 1
         0x03
    Node 0x0b [Pin Complex] wcaps 0x410101: Stereo
      Pincap 0x00000050: OUT Balanced
      Pin Default 0x90100120: [Fixed] Speaker at Int N/A
        Conn = Unknown, Color = Unknown
        DefAssociation = 0x2, Sequence = 0x0
        Misc = NO_PRESENCE
      Pin-ctls: 0x00:
      Delay: 1 samples
      Connection: 1
         0x04
    Node 0x0c [Pin Complex] wcaps 0x41048b: Stereo Amp-In
      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
      Amp-In vals:  [0x00 0x00]
      Pincap 0x00000024: IN Detect
      Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
        Conn = Unknown, Color = Unknown
    Well, I guess asking Kacper for help certainly can't hurt, I'll send him a mail later.

    Purely out of curiosity, is there /proc/asound/card0/codec#0 output for a Macbook 5,1 to compare somewhere?

  7. #7
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Sound on a Macbook Pro 5,5?

    Quote Originally Posted by NorQue View Post
    sudo dmidecode -s system-product-name output says MacBookPro5,5
    Interesting... that means there is a 5,3 and 5,4 out there too, and I am guessing they are the 15" and 17" new releases...

    Here is the bug on the ACPI thing:
    https://bugs.edge.launchpad.net/mact...rt/+bug/341230

    I second trying the patch for the other 5,x models.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •