Install ThinkpadAPS hard disk protection in Ubuntu9.10

Source: Internet
Author: User
My current version is T60. Since Linux was used, the built-in hard disk protection function has never been used, in the morning, I saw someone successfully installed the APS driver on Ubuntu8.10 on the Ubuntu Forum, so I knew that Linux also had the APS driver. I couldn't wait to try it. It took me half a day to get it done, the methods on the Internet are for Ubuntu8.10, and the package version is not the latest version. Now we record the process for the latest version of the system and software: first, install hda

My current version is T60. Since Linux was used, the built-in hard disk protection function has never been used, in the morning, I saw someone successfully installed the APS driver on Ubuntu 8.10 On the Ubuntu Forum. I knew there was also an APS driver in Linux. I couldn't wait to try it. It took me half a day to get it done, the methods on the Internet are for Ubuntu 8.10, and the package version is not the latest version. Now we record the process for the latest version of the system and software:

First, install the hdaps Driver (see: http://www.thinkwiki.org/wiki/HDAPS ),
Official address here: http://hdaps.sourceforge.net/
Latest Version: hdapsd-20090401.tar.gz,
But tp-smapi (reference: http://www.thinkwiki.org/wiki/Tp_smapi ),
I don't know why. The address is here: http://tpctl.sourceforge.net/
Latest Version: tp_smapi-0.40.tgz
Extract the tp_smapi and load it first:
# Sudo make load HDAPS = 1 FORCE_IO = 1
If "drivers successfully loaded" is displayed, perform the following steps:
# Sudo make install HDAPS = 1 FORCE_IO = 1
After the installation is successful, check whether there is a hdaps mod:
# Lsmod | grep hdaps
Configure the automatic loading module:
# Sudo gedit/etc/modules
Add the following lines:
Thinkpad_ec
Tp_smapi
Hdaps
Then:
# Sudo gedit/etc/modprobe. d/local. conf
Added:
# Enable thinkpad_ec
Options thinkpad_ec force_io = 1
# Option to correctly set tilting through hdaps sensor
Options hdaps invert = 1

Next install hdapsd in: http://sourceforge.net/projects/hdaps/files/hdapsd/hdapsd-20090401/hdapsd-20090401.tar.gz/download
After decompression, make:
# Sudo make
# Sudo make install
After the service is installed, start HDAPS:
# Sudo service hdapsd start
Configure Automatic Start:
Wget http://www.unet.univie.ac.at /~ A0604095/hdapsd
Sudo chmod 733 hdapsd
Sudo cp hdapsd/etc/init. d/
Sudo/etc/init. d/hdapsd start

Next, install the small icon that shows the hard disk status: http://www.linuxidc.com/system/systemfiles/2010/2/gnome-hdaps-applet-20081204.tar.gz
# Tar zxvf gnome-hdaps-applet-20081204.tar.gz
# Gcc $ (pkg-config -- cflags -- libs libpanelapplet-2.0)-o gnome-hdaps-applet gnome-hdaps-applet.c
# Sudo cp gnome-hdaps-applet/usr/bin/
# Sudo mkdir/usr/share/pixmaps/gnome-hdaps-applet/
# Sudo cp *. png/usr/share/pixmaps/gnome-hdaps-applet/
# Sudo cp GNOME_HDAPS_StatusApplet.server/usr/lib/bonobo/servers/
After the program is executed (you may need to restart GNOME), add the project to the Panel, and select the HDAPS Status Applet.
Here it is basically OK. Now shake the notebook and the icon will change ^_^

After I tested it for a while, I personally felt that the APS System in Linux is not as sensitive as Win, and I don't know why.

After a full morning of hard work, after lunch, I recorded so many steps in the morning based on my memory. During the installation process, I still had the problem of package dependency, but I couldn't remember which packages I was using, in short, if you cannot find the package: apt-get install packagename, you can do it without accident.

There may be some small steps not recorded, but it cannot be remembered. please correct me if you find anything wrong.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.