Results 1 to 2 of 2

Thread: sleep kills wireless on MacBook 2,1 (ath9k)

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

    sleep kills wireless on MacBook 2,1 (ath9k)

    I don't know exactly since when, but putting my MacBook 2,1 with Karmic Koala installed on it into sleep, kills the wireless connection. After suspend I need to remove and reload the ath9k module. Does anyone know here what to do about this? Is there a way to fix this?
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

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

    Re: sleep kills wireless on MacBook 2,1 (ath9k)

    I sort of fixed it by making some hooks in /etc/pm/sleep.d and /etc/pm/power.d as root. In /etc/pm/sleep.d I created 20_ath9k with the following into it:
    Code:
    #!/bin/sh  
    rmmod -f ath9k
    I chmod +x this file to make it executable

    I did a similar thing in /etc/pm/power.d/10_ath9k:
    Code:
    #!/bin/sh  
    modprobe ath9k
    If anyone has a more elegant way to do this, please let me know.
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

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
  •