Backport module

Version 9 (Corentin Chary, 02/26/2011 10:05 am)

1 1 Corentin Chary
h1. Backport module
2 1 Corentin Chary
3 9 Corentin Chary
_For the old method, check [[Old_Backport_module]]_
4 9 Corentin Chary
5 9 Corentin Chary
h2. Download and build
6 9 Corentin Chary
7 9 Corentin Chary
First you need to download source code:
8 9 Corentin Chary
9 9 Corentin Chary
You can use git:
10 9 Corentin Chary
<pre>
11 9 Corentin Chary
git clone git://git.iksaif.net/acpi4asus-dkms.git
12 9 Corentin Chary
</pre> 
13 9 Corentin Chary
Or download directly an archive: http://git.iksaif.net/?p=acpi4asus-dkms.git;a=snapshot;h=master;sf=tgz
14 9 Corentin Chary
15 9 Corentin Chary
Then build the modules with <code>make</code>
16 9 Corentin Chary
17 9 Corentin Chary
h2. Test
18 9 Corentin Chary
19 9 Corentin Chary
Remote all the old modules
20 9 Corentin Chary
<pre>
21 9 Corentin Chary
modprobe -r asus-laptop
22 9 Corentin Chary
modprobe -r asus-nb-wmi
23 9 Corentin Chary
modprobe -r asus-wmi
24 9 Corentin Chary
modprobe -r eeepc-wmi
25 9 Corentin Chary
modprobe -r eeepc-laptop
26 9 Corentin Chary
</pre>
27 9 Corentin Chary
28 9 Corentin Chary
Load your modules (load asus-wmi.ko first for eeepc-wmi and asus-nb-wmi !):
29 9 Corentin Chary
30 9 Corentin Chary
<pre>
31 9 Corentin Chary
insmod asus-wmi.ko
32 9 Corentin Chary
insmod eeepc-wmi.ko
33 9 Corentin Chary
</pre>
34 9 Corentin Chary
35 9 Corentin Chary
or
36 9 Corentin Chary
37 9 Corentin Chary
<pre>
38 9 Corentin Chary
insmod asus-laptop.ko
39 9 Corentin Chary
</pre>
40 9 Corentin Chary
41 9 Corentin Chary
h2. Install
42 9 Corentin Chary
43 9 Corentin Chary
<pre>
44 9 Corentin Chary
make install
45 9 Corentin Chary
reboot
46 9 Corentin Chary
</pre>