If you have problems compiling acerhk on the latest ubuntu distribution modify
/usr/src/`uname -r`/Makefile and comment :

ifdef CONFIG_FUNCTION_TRACER
#KBUILD_CFLAGS<->+= -pg
endif

Remove the comment after the successful compile so you leave the sources as they were.

1 Comment

  • Oh, I was waiting for this since Ubuntu 10.04 was released!
    It worked perfectly on my Acer TravelMate 2700 and now I can use:
    echo 0 > /proc/driver/acerhk/wirelessled
    echo 1 > /proc/driver/acerhk/wirelessled
    … to turn off or on the wireless led button light.
    THANK YOU, THANK YOU, THANK YOU!!!