Acerhdf is it not running correctly after suspend/resume

Discussion in 'Linux' started by jango, Mar 5, 2009.

  1. jango

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    Hi

    Finally i have sucess adding acerhdf to sickboy kernel, the only issue I have had with acerhdf is it not running correctly upon resuming from a suspend. Should be pretty easy to fix that but i dont now how???

    Thanks
     
    jango, Mar 5, 2009
    #1
  2. jango

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    bump...
     
    jango, Mar 5, 2009
    #2
  3. jango

    hillsoft

    Joined:
    Nov 30, 2008
    Messages:
    89
    Likes Received:
    0
    Will post a fix for this later when I have some free time.
     
    hillsoft, Mar 5, 2009
    #3
  4. jango

    hillsoft

    Joined:
    Nov 30, 2008
    Messages:
    89
    Likes Received:
    0
    aeiah over on the crunchbang forums posted a script to fix this. I can confirm it works.

    Here is a link to his post, and here is his fix.

    http://crunchbanglinux.org/forums/post/13173/#p13173
     
    hillsoft, Mar 5, 2009
    #4
  5. jango

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    Its works very well...

    Thanks
     
    jango, Mar 5, 2009
    #5
  6. jango

    csmo

    Joined:
    Oct 9, 2008
    Messages:
    214
    Likes Received:
    0
    Do you mind sharing how you did it? I have had only problems trying to install the acerhdf module to the Kuki (sickboy) kernel. Thank you.
     
    csmo, Mar 24, 2009
    #6
  7. jango

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    jango wrote:The compiled module for the sickb0y kernel can be found here: http://rapidshare.com/files/205373380/acerhdf.ko

    Well download the file dp linked to above.

    Go to terminal and change to the directory the file you just downloaded is at.

    Try this.

    sudo mkdir /lib/modules/2.6.28sickboy-kuki/kernel/drivers/misc
    sudo cp acerhdf.ko /lib/modules/2.6.28sickboy-kuki/kernel/drivers/misc
    sudo depmod -a
    sudo modprobe acerhdf



    I recommend having any other fan control off.

    The above is just a quick hack. If your sickboy kernel version is different the first two lines need to be changed.

    this seems to solve the acerhdf issue with resuming from suspension. as you can see all the script does is remove the module and reload it. it's based on the script detailed here that's used to resume the wireless card on wake.

    create the file:

    sudo gedit /etc/pm/sleep.d/00acerhdf



    paste this in:

    #
    # Restart acerhdf after suspension
    #

    case "$1" in
    resume|thaw)
    rmmod acerhdf
    modprobe acerhdf
    ;;
    *)
    ;;
    esac

    exit $?



    chmod for execution:

    sudo chmod u+x /etc/pm/sleep.d/00acerhdf



    Thanks to hillsoft
     
    jango, Mar 24, 2009
    #7
  8. jango

    csmo

    Joined:
    Oct 9, 2008
    Messages:
    214
    Likes Received:
    0
    Thanks a bunch, jango.
     
    csmo, Mar 24, 2009
    #8
  9. jango

    sertse

    Joined:
    Oct 20, 2008
    Messages:
    18
    Likes Received:
    0
    Latest acerhdf (0.4.0) has fixed this issue.
     
    sertse, Mar 26, 2009
    #9
  10. jango

    hillsoft

    Joined:
    Nov 30, 2008
    Messages:
    89
    Likes Received:
    0
    I can also confirm the new 0.4.0 can be built and installed and you don't need to worry anymore about the restart script on resume.

    Just install the new kernel module and you are good to go.

    If you install this new version you can delete /etc/pm/sleep.d/00acerhdf as it is no longer needed
     
    hillsoft, Mar 27, 2009
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.