Asus Oled for Ubuntu 7.10 Gutsy Gibbon
asusoled is a tool allowing to control the OLED screen available on some ASUS laptops. This article explain you howto to install it by using a Debian package i've created.
Fast and obfuscated
The following command lines allow you to install Asus Oled in two quick steps. First, initialize you sudo environment :
sudo echo
And run :
echo "# Lone Wolf AsusOled packages for Ubuntu 7.10 Gutsy Gibbon
deb http://falcon.landure.fr gutsy asusoled
deb-src http://falcon.landure.fr gutsy asusoled" \
| sudo tee /etc/apt/sources.list.d/gutsy-landure-asusoled.list
wget http://falcon.landure.fr/9FA7DC39.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install asusoled
Your OLED screen should now display the date and time. If you want to disable it, you only have to edit /etc/default/asusoled, and run :
sudo /etc/init.d/asusoled restart
Installation
The first step is to add the needed repository to the apt configuration.
echo "# Lone Wolf AsusOled packages for Ubuntu 7.10 Gutsy Gibbon
deb http://falcon.landure.fr gutsy asusoled
deb-src http://falcon.landure.fr gutsy asusoled" \
| sudo tee /etc/apt/sources.list.d/gutsy-landure-asusoled.list
We download the GPG key signing this repository :
wget http://falcon.landure.fr/9FA7DC39.gpg -O- | sudo apt-key add -
We update the available packages list :
sudo apt-get update
Building from sources
If you do not want to use my package, here is how to install asusoled from sources :
First, you need to install Bazaar, a tool mandatory to download source code. We also install tools needed to build asusoled :
/usr/bin/sudo /usr/bin/apt-get install bzr build-essential cmake libsdl1.2-dev libusb-dev libsdl-image1.2-dev
We download the source code :
/usr/bin/bzr branch http://bazaar.launchpad.net/~agoliveira/asusoled/trunk/ /tmp/asusoled
We change directory to the one containing the sources :
cd /tmp/asusoled
We correct the sources so that the building use the correct source directory : (a ugly but working patch) :
/bin/grep --recursive --files-with-matches "home/adilson" /tmp/asusoled/ \
| /usr/bin/xargs -iFILE /bin/sed -i -e 's/home\/adilson/tmp/g' FILE
/bin/grep --recursive --files-with-matches "home/chuck/fubar" /tmp/asusoled/ \
| /usr/bin/xargs -iFILE /bin/sed -i -e 's/home\/chuck\/fubar/tmp/g' FILE
And we build the sources :
/usr/bin/make
One this done, and if all went well, we test the asusoled binary :
./testsuite.sh
If it works, we install it :
/usr/bin/sudo /usr/bin/install /tmp/asusoled/asusoled /usr/bin/
And we disable the OLED display :
/usr/bin/sudo /usr/bin/asusoled -d
Note : It seems that the OLED screen can be burned if the ASUS logo is displayed for a long period. It is probably wiser to disable the OLED screen if you do not use it.
If you want to use a init.d script, I suggest you extract if from the Debian package asusoled_0.02bzr20071230-1_i386.deb.
Thanks
- Thanks to Asus Oled developers.
- Thanks to Arzh witch greatly helped me to create the asusoled init.d script.
- Thanks to Prométée that made me discover Asus Oled.
errr
help
The fact is..
I can only encourage you to use tar -xfz on the debian package i provide to get to its contents.
help
it's a shame because it's the only thing not working since i stoped using ubuntu.
try this... dunno if it will work 4u
Changes to asusoled-clock
I've made some changes in the asusoled-clock script in order to simulate an analogue clock. The files are avaiable on this link, if you want to check it out http://rapidshare.com/files/97899262/asusoled-clock.tar.bz2
If you can't download the files on the link above, please send me an email to cesperanc_at_gmail.com so I can send you the files.
Thanks again.
Thank you for your work
Asus Oled on amd64
I curruntly run Gutsy amd64 on an Asus G1s. It seems like I have a problem installing Asus Oled because of it. This is what I get out of the Software Sources app:
http://falcon.landure.fr/dists/gutsy/Release: Unable to find expected entry asusoled/binary-amd64/Packages in Meta-index file (malformed Release file?)
Is there a way to fix this?
yes
this can probably be done with commands like this :
sudo apt-get install dpkg-dev fakeroot
sudo apt-get build-dep asusoled
apt-get source asusoled
cd asusoled-*
dpkg-buildpackage -rfakeroot asusoled
cd ..
sudo dpkg -i asusoled*.deb
If these command does not work, google and manpages can help you.
Good luck
did not work
Do you have a deb file to download?
Thanks
asus oled
"E: Could not open file /var/lib/apt/lists/falcon.landure.fr_dists_gutsy_asusoled_source_Sources - open (2 No such file or directory)"
Intrepid Ibex
Re:
surrely
How can I change the clock to a 12 Hr time format?
I have used the deb version!
I have tried berlios and I can't seem to configure it.
I get an error on compile, It won't just compile !
asusold
Could you make a rpm package of your asusoled package ??
Thank you very much