Results 1 to 8 of 8

Thread: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

  1. #1
    Join Date
    Jan 2009
    Beans
    320
    Distro
    Ubuntu Development Release

    [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    Whilst sound works for MBP5,1 / 5,2 under Karmic, it could definitely be better - mainly the master volume does not affect the headphone output, and the speakers don't automute when headphones are plugged in.

    However, I've finally got around to writing a patch for alsa which fixes this - the patch is against the latest version of alsa-drivers (1.0.22.1).

    If you want to test it (since so far I've only tested it on my MBP5,1 - any feedback from MacBook 5,1 / MB(P) 5,2 owners would be great too) follow these instructions:

    First make sure you don't have any versions of linux-backports-modules-alsa installed:
    Code:
    apt-cache --names-only search linux-backports-modules-alsa | cut -f 1 -d ' ' | xargs sudo apt-get remove --purge
    Now download alsa driver source and the patch, and compile and install a patched version of the driver:
    Code:
    cd ~
    wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.22.1.tar.bz2
    wget http://dl.dropbox.com/u/174251/alsa-driver-1.0.22.1-mb5.patch
    tar xjf alsa-driver-1.0.22.1.tar.bz2
    patch -p0 < alsa-driver-1.0.22.1-mb5.patch
    cd alsa-driver-1.0.22.1
    ./configure
    make
    sudo make install
    Now you need to reboot your machine and can enjoy the awesomely improved sound goodness!

  2. #2
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    can you send this patched Alsa to the Alsa team, hopefully it will end up there.
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  3. #3
    Join Date
    Jan 2009
    Beans
    320
    Distro
    Ubuntu Development Release

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    Just sent it upstream now to alsa-devel.
    Last edited by alexmurray; January 13th, 2010 at 01:49 PM. Reason: Updated with link to upstream mail posting of patch

  4. #4
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    Great work Alex!
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  5. #5
    Join Date
    Jan 2009
    Beans
    320
    Distro
    Ubuntu Development Release

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    This just got accepted upstream so should be available in the 2.6.33 kernel (unfortunately lucid won't ship this, but hopefully by then linux-backports-modules-alsa will contain this patch).

  6. #6
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    Nice to hear that your patch was accepted.
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  7. #7
    Join Date
    Jan 2006
    Beans
    121

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    I also have an MBP5.1, but I still want to say this works great and offer my humble thanks

  8. #8
    Join Date
    Feb 2010
    Beans
    1

    Re: [HOWTO] Improved sound experience for MacBook (Pro) 5,1 / 5,2

    I have a MBP5.1 as well and this worked wonders. Thanks a lot, I tried a ton of different thinks with no success.

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
  •