Comment 35 for bug 662365

Revision history for this message
Ilja Sekler (ilja-sekler-) wrote :

> O the up-to-date ubuntu I've repeated #29 and after that
> insmod: error inserting '/tmp/eeepc-wmi/eeepc-wmi.ko': -1 Unknown symbol
> in module
>
> uname -r : 2.6.35-27-generic

Please try the following steps to build and install the eeepc-wmi.ko revision mentioned in #30 (which is basicly the same as in #29 except of a few comments):

1) boot without acpi_osi and acpi_video kernel options;

2) download and build the module:

mkdir eeepc-wmi
cd eeepc-wmi
wget "http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=blob;f=drivers/platform/x86/eeepc-wmi.c;hb=89151bf97369548a9eaf2e5e0efb2e9d42556d1b" -O eeepc-wmi.c
echo "obj-m := eeepc-wmi.o" > Makefile
make -C /lib/modules/$(uname -r)/build SUBDIRS=$(pwd) modules

there shouldn't be any errors.

3) install and load the module:

sudo modprobe -r eeepc-wmi
sudo mkdir /lib/modules/$(uname -r)/updates
sudo cp eeepc-wmi.ko /lib/modules/$(uname -r)/updates/
sudo depmod
sudo modprobe eeepc-wmi

This is tested working on Maverick with 2.6.35-27-generic, which is not quite up-to-date as 2.6.35-28-generic is in maverick-proposed.

The eeepc-wmi build directory is created in user's home directory because everything in /tmp is deleted on reboot.