acer_acpi - Fix setting backlight on AMW0 V1
[acer_acpi.git] / INSTALL
blob6d74a5270bc9633604b5c111c5fda49fc3aafccb
1 Installation
2 ************
4 1. You need the kernel sources (or kernel headers for your kernel)
5 installed to compile the driver.
7 2. Your kernel needs loadable module support with version information for
8 modules enabled. Usage of procfs is highly recommended.
10 2.4 series kernels are not supported - you must use a 2.6 series kernel.
12 In most cases you can skip the next step, the Makefile tries to determine
13 the correct directory on its own. Change KERNELSRC _only_ if the 
14 autodetection does not work for you. Otherwise proceed directly with step 4.
16 3. Before you compile the driver, change KERNELSRC in the makefile to your
17 path to the kernel build environment. If you are using a self compiled kernel,
18 point it to the root of your sources. If you are using a packaged kernel of
19 your distribution, install the package with kernel headers
20 (Debian:kernel-headers) and point KERNELSRC to where the headers and config
21 files are located. If you are using Debian, this
22 would be "/lib/modules/<kernelversion>/build".
24 4. Do:
25         make
27 5. Do:
28         make install
29 to install the kernel module. (You can use DESTDIR for repackaging).
31 If that step fails, try:
33 Copy the created files "wmi-acer.ko" and "acer_acpi.ko" to your kernel modules
34 path. For most distributions, this is usually:
35 "/lib/modules/<kernelversion>/kernel/drivers/char/".
37 Update module dependencies: depmod -a
39 6. Try loading the module with:
40         insmod/modprobe wmi-acer (only do this step of loading acer_acpi doesn't
41                                   load this module automatically).
42         insmod/modprobe acer_acpi
44 On most Acer systems with 2.6.23 or newer kernels, acer_acpi should be
45 automatically loaded.
47 If you don't see any error messages, check the README for usage information.