Sponsored Link
Preparing your system
Open the terminal and run the following comamnds
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
Now you need to download acerhk files using the following command from your terminal
wget http://www.cakey.de/acerhk/archives/acerhk-0.5.35.tgz
Extract and Patch
tar xfvz acerhk-0.5.35.tgz
cd acerhk-0.5.35
wget http://www.edbl.no/tmp/acerhk.Makefile.patch
patch -p0 < acerhk.Makefile.patch
Install using the following commands
make
sudo make install
Create a file containing instructions which the system will carry out when the acerhk module is loaded -- see comments in the file:
gksudo gedit /etc/modprobe.d/amilo_special_keys.modprobe
and paste the following into the file, save and exit
# set up kernel module acerhk to enable Fujitsu Siemens Amilo Li1718 special keys
# and enable wireless when the module is inserted.
# NOTE: to have the wireless hardware disabled until you press the wireless key on the laptop,
# simply replace "echo 1" with "echo 0" in the command below.install acerhk /sbin/modprobe --ignore-install acerhk force_series=6805 autowlan=1; echo 1 > /proc/driver/acerhk/wirelessled
Remove the original acerhk module
sudo rm /lib/modules/$(uname -r)/kernel/ubuntu/misc/acerhk.ko
Rebuild the module dependencies database
sudo depmod -a
Tell the system to load the acerhk module at boot time -- it won't otherwise, as it's not actually an Acer laptop!
gksudo gedit /etc/modules
add on a new line at the end of this file, then save and exit:
acerhk
restart your machine and you should have a working wifi card.
Credit goes here
Hi, the make process fails. Is there a solution?
~/acerhk-0.5.35 $ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/wilder/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-20-generic’
CC [M] /home/wilder/acerhk-0.5.35/acerhk.o
/home/wilder/acerhk-0.5.35/acerhk.c: In function ‘acerhk_proc_init’:
/home/wilder/acerhk-0.5.35/acerhk.c:2671: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/wilder/acerhk-0.5.35/acerhk.c:2680: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/wilder/acerhk-0.5.35/acerhk.c:2690: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/wilder/acerhk-0.5.35/acerhk.c:2702: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/wilder/acerhk-0.5.35/acerhk.c:2715: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/wilder/acerhk-0.5.35/acerhk.c:2728: error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[2]: *** [/home/wilder/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/home/wilder/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-20-generic’
make: *** [acerhk.ko] Error 2
I am getting the same problem as above. Everything is fine till i try to Make.
Getting a similair problem when trying to make. Using a fresh 10.4 install.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/andreas/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic’
CC [M] /home/andreas/acerhk-0.5.35/acerhk.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/andreas/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/home/andreas/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic’
make: *** [acerhk.ko] Error 2
i don’t understand the 1st bit “open the terminal” – where do i run these commands?
what terminal really need help with this