HOW TO: Installing the acer_acpi module - activates wireless on Acer laptops

ATTENTION: This HOW TO covers ONLY the installation of the acer_acpi module and NOT of the wireless adapter drivers.

Before you can go ahead and install the acer_acpi module you need to make sure you have some other tools installed.
Code:
sudo aptitude update
sudo aptitude install build-essential
UPDATED:
You'll also need the linux headers:
Code:
sudo aptitude install linux-headers-$(uname -r)
END OF UPDATE

Once this is done you can go ahead and install the acer_acpi.
First you should create a folder to keep all your downloads in one place.
Code:
mkdir /home/USER_NAME/download
Where USER_NAME is your actual user name.

Now go to the new folder
Code:
cd /home/USER_NAME/download
and download and install the package:
Code:
wget http://www.archernar.co.uk/acer_acpi/acer_acpi-0.3.tar.gz
tar zxvf acer_acpi-0.3.tar.gz
cd acer_acpi-0.3
make
sudo make install
cd ../..
Load the acer_acpi into memory and activate the wireless:
Code:
su
modprobe acer_acpi
chmod 777 /proc/acpi/acer/wireless
echo "enabled: 1">/proc/acpi/acer/wireless
exit
And check if it worked:
Code:
dmesg | grep acer_acpi
You should get some output like this:
Code:
[17179594.992000] acer_acpi: Acer Laptop ACPI Extras version 0.3
[17179595.000000] acer_acpi: Wireless value 1
Right, this might have worked for now but you need to load and activate acer_acpi every time your computer starts.
For this you can write a little start up script so you don't have to do it manually each and every time.

ATTENTION!
For Gnome type:

Code:
sudo gedit /etc/init.d/acer_acpi_wireless_enable
Or if you're running KDE type:
Code:
sudo kate /etc/init.d/acer_acpi_wireless_enable
Paste the following code and save:
Code:
#!/bin/sh

case "$1" in

start|"")

modprobe acer_acpi

chmod 777 /proc/acpi/acer/wireless

echo "enabled: 1" >/proc/acpi/acer/wireless

;;

stop)

echo "enabled: 0" >/proc/acpi/acer/wireless

modprobe -r acer_acpi

;;

esac
Make the file executable and add it to the appropiate linux run levels.
ATTENTION! Don't miss ANY of the characters in the following lines, especialy the dots in the third line!
Code:
su
chmod 755 /etc/init.d/acer_acpi_wireless_enable
update-rc.d acer_acpi_wireless_enable start 39 S . start 34 0 6 .
exit
Now check if it worked:

Code:
ls /etc/rcS.d/S39acer-acpi-wireless-enable
ls /etc/rc0.d/S34acer-acpi-wireless-enable
ls /etc/rc6.d/S34acer-acpi-wireless-enable
If you get any No such file or directory messages then something must have gone wrong during the last couple of steps but your acer_acpi is still installed and can be started manually if needed.

If you didn't get any error messages everything should be up and running. You can now restart the computer and, if you have already installed the wireless drivers, your wireless adapter should work fine and be ready to configure. 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值