Outils personnels
Vous êtes ici : Accueil GNU / Linux Ubuntu Gutsy Gibbon Asus Oled sur Ubuntu 7.10 Gutsy Gibbon
Actions sur le document
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Asus Oled for Ubuntu 7.10 Gutsy Gibbon

Par Pierre-Yves Landuré - Dernière modification 02/01/2008 14:05

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

Now, click here to install asusoled.

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.

asusold

Posté par Adolfotregosa le 07/03/2008 18:12
Hi.

Could you make a rpm package of your asusoled package ??

Thank you very much

errr

Posté par lwolf le 08/03/2008 06:31
No.... i'm a anti RPM extremist, i'm even more anti RPM than anti Microsoft... Do the work by yourself, all the files are there.

help

Posté par Adolfotregosa le 11/03/2008 01:09
if I knew HOW , beleave me, i would not have asked for help !

The fact is..

Posté par lwolf le 11/03/2008 06:16
that i do not know how to do this either. Making RPM package is a lot more painful that making Debian ones :D

I can only encourage you to use tar -xfz on the debian package i provide to get to its contents.

help

Posté par adolfotregosa le 11/03/2008 12:44
allready did that but it doesn't compile nor run.

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

Posté par luceant le 01/05/2008 18:18
http://lapsus.berlios.de/asus_oled.html

Changes to asusoled-clock

Posté par Cláudio Esperança le 08/03/2008 06:09
Hello Pierre. Thanks for the files. I have tested them on Gentoo, and they work fine.

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

Posté par lwolf le 08/03/2008 06:32
I'll take a look as soon as possible and will update this page.

Asus Oled on amd64

Posté par Daan le 12/04/2008 20:57
Hi,

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

Posté par lwolf le 13/04/2008 05:24
i do not build packages for amd64. You could try building the package from sources :

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

Posté par Mic Nguyen le 20/09/2008 17:14
well.. i tried your commands but it does not work. I'm using Hardy 64 bit right now.
Do you have a deb file to download?

Thanks

asus oled

Posté par AloNe le 14/11/2008 10:43
i had tried it, but it doesń work, my laptop is an asus g2sg and i'm runing ubuntu 7.10 hardy amd64, it gave me an error while i make build-dep asusled
"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

Posté par Roshan le 01/11/2008 04:48
thank you so much for your help with the oled. It worked perfectly on gutsy, however I just upgraded to intrepid ibex and this does not seem to be working for me. Do you know what I could do to solve this problem? Thank you very much for your help.

Re:

Posté par Roshan le 01/11/2008 22:39
nevermind i got it to work once it restarted the laptop, however is there a way to change the date fromat from dd/mm/yy to mm/dd/yy?

surrely

Posté par lwolf le 01/11/2008 23:17
Digging into my memory, you should take a look at /etc/default/asusoled, or /usr/bin/asusoled. Good luck

How can I change the clock to a 12 Hr time format?

Posté par Rukasuzu le 04/01/2009 18:12
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 !

That topic I posted refers to asusoled!

Posté par Rukasuzu le 04/01/2009 18:14
That top topic I posted refers to asusoled!

It worked.

Posté par David le 07/01/2009 11:49
Works perfectly with crunchbang. Better functionality than the stock windows version. Much thanks!

http://Indexoffiles.com

Posté par Facepalm le 18/02/2009 18:48
Very useful files search engine. http://Indexoffiles.com is a search engine designed to search files in various file sharing and uploading sites.

BlogBang
Navigation
 

Réalisé avec Plone

Ce site respecte les normes suivantes :

Wikio