Old Backport module

Manualy

This is an example for eeepc-wmi, but it also applies to asus-laptop or eeepclaptop.

You'll need kernel headers and gcc for that.

First, get the source code from http://git.iksaif.net/?p=acpi4asus.git;a=summary

Download the file and save it, making sure that you name it eeepc-wmi.c.

Create a Makefile

echo "obj-m := eeepc-wmi.o" > Makefile

Then just run

make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules

then, as root,

modprobe -r eeepc-wmi
modprobe pciehp
insmod eeepc-wmi.ko

To install the module "permanently" for the current kernel:

mkdir /lib/modules/`uname -r`/updates
cp eeepc-wmi.ko /lib/modules/`uname -r`/updates
depmod -ae

(Note: the updates directory is known good on Debian-based systems.)

Using acpi4asus.py

Download acpi4asus.py from this page, and run it:

# Usage: acpi4asus.py module branch
# module can be eeepc-wmi, eeepc-laptop or asus-laptop
# branch can be any git branch, including acpi4asus, eeepc-wmi, asus-laptop, ...
python acpi4asus.py eeepc-wmi acpi4asus

Then you can use make to build the module, and even make install to install it !