Blog Forum Wiki Links Contact Us NetbookUser

You are not logged in.

#1 2008-03-08 3:19:35 pm

billl
Member
Registered: 2008-02-20
Posts: 17

Eee Applet 0.1

Hi,

I've just released the first version of Eee Applet. It is a systray applet that can be used to control and display the information obtained from the asus_acpi and eeepc-linux modules if they are loaded:
- activate/deactivate the camera,
- activate/deactivate the card reader,
- activate/deactivate the wlan,
- change the fan speed,
- change the CPU clock (overclock),
- display the temperature,
- display the brightness,
- display the fan speed.

This applet can also be used to catch the hotkeys and emit X keyboard events instead. For instance, pressing the volume hotkeys generates the XF86AudioMute, XF86AudioLowerVolume and XF86AudioRaiseVolume keycodes. GNOME and KDE can then display the state of the volume themselves without using asus_osd. This functionality is however disabled by default. To enable it, you must define the /apps/eee-applet/hotkeys key in GConf and set it to TRUE and define the keys with xmodmap.

The applet is available on sourceforge: http://sourceforge.net/projects/eee-applet

Last edited by billl (2008-03-08 3:33:05 pm)

Offline

 

#2 2008-03-08 3:25:06 pm

mkrishnan
Moderator
From: Grand Rapids, MI, USA
Registered: 2007-11-06
Posts: 3444

Re: Eee Applet 0.1

Nice! smile

So this should work on most distributions as long as asus_acpi.ko is loaded, right? What's the eeepc-applet kernel module? I don't think I've ever seen that one. Do you mean kiwidrew's eee.ko? (this one: http://forum.eeeuser.com/viewtopic.php?id=9797 )

Last edited by mkrishnan (2008-03-08 3:25:40 pm)


Mohan

Offline

 

#3 2008-03-08 3:28:55 pm

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

mkrishnan wrote:

So this should work on most distributions as long as asus_acpi.ko is loaded, right?

Yes

mkrishnan wrote:

What's the eeepc-applet kernel module? I don't think I've ever seen that one. Do you mean kiwidrew's eee.ko? (this one: http://forum.eeeuser.com/viewtopic.php?id=9797 )

And yes

Offline

 

#4 2008-03-12 12:09:11 am

shengchieh
ExtrEmE User
Registered: 2007-11-17
Posts: 1422
Website

Re: Eee Applet 0.1

I tried installing the eee-applet-0.1 and got stucked with
the configure command.  The output is

Code:

[shengchieh@dragonsoft eee-applet-0.1]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I opened up synaptic, did a search for gtk, and noted I have
gtk+2.0.  There is no gtk+-2.0.  Are gtk+2.0 and gtk+-2.0 the
same thing?  If so, how do I compile?  If not, then what?
Also, will installing anything else (like g++) helps?  [Fyi,
I'm running MiniMe 2008, which is PCLinuxOS trimmed to a
bare minimum - so I have nothing except a few applicaions.]

Thank in advanced for any help.

Sheng-Chieh

Offline

 

#5 2008-03-12 12:38:43 am

theSuperman
Senior Member
From: Allentown, PA
Registered: 2007-12-07
Posts: 304

Re: Eee Applet 0.1

I got this error in Xandros:

Code:

checking for GTK... configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Offline

 

#6 2008-03-12 6:21:24 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

@shengchieh: You should install the libgtk2.0-dev, libgconf2-dev and libgksu2-dev packages.

@theSuperman: You should install the pkg-config package.

Offline

 

#7 2008-03-12 7:22:33 am

MrMage
Member
Registered: 2008-01-31
Posts: 92

Re: Eee Applet 0.1

When trying to overclock, I only get a flickering screen. I suppose the applet writes somethin wrong to /proc/eee/fsb.

There is a typo: it should be "card reader". I would appreciate an option to remove the "enable card reader" option, too, since I have my eeeXubuntu running of the SDHC and I don't want to accidentally remove my root partition while running.

Last edited by MrMage (2008-03-12 7:24:24 am)

Offline

 

#8 2008-03-12 9:17:21 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

MrMage wrote:

When trying to overclock, I only get a flickering screen. I suppose the applet writes somethin wrong to /proc/eee/fsb.

I'll have a look at this.

MrMage wrote:

There is a typo: it should be "card reader". I would appreciate an option to remove the "enable card reader" option, too, since I have my eeeXubuntu running of the SDHC and I don't want to accidentally remove my root partition while running.

Next version will have a preferences dialog in which I'll add this option (amongst other).

Offline

 

#9 2008-03-12 10:33:41 am

theSuperman
Senior Member
From: Allentown, PA
Registered: 2007-12-07
Posts: 304

Re: Eee Applet 0.1

billl wrote:

@shengchieh: You should install the libgtk2.0-dev, libgconf2-dev and libgksu2-dev packages.

@theSuperman: You should install the pkg-config package.

I installed the pkg-config package, however now I get the same error as shenchieh got.  So I went and installed the libgtk2.0-dev package, however I get this error:

Code:

Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  openoffice.org-l10n-zh-cn: Conflicts: openoffice.org-core (>= 2.0.4.dfsg.2.1)                                but 1:2.3.1-2~bpo40+1+eeepc1 is to be installed
  openoffice.org-l10n-zh-tw: Conflicts: openoffice.org-core (>= 2.0.4.dfsg.2.1)                                but 1:2.3.1-2~bpo40+1+eeepc1 is to be installed
E: Broken packages

I have seen this error before trying to install another lib package in the past...

Offline

 

#10 2008-03-12 11:00:31 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

I don't know, but I suspect a problem in the repository.

Offline

 

#11 2008-03-14 8:59:39 am

ben
Member
Registered: 2007-12-22
Posts: 30

Re: Eee Applet 0.1

This seems like it could be a great little application. I managed to install on eeeXubuntu and it was working yesterday smile However, now the overclock function does nothing - checking /proc/eee/fsb shows no change. There is no problem with the other bits apart from those mentioned previously.

Offline

 

#12 2008-03-14 9:39:16 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

I've already found the problem; I think I'll release 0.2 sunday.

Offline

 

#13 2008-03-14 2:06:27 pm

ben
Member
Registered: 2007-12-22
Posts: 30

Re: Eee Applet 0.1

great smile looking forward to it! I wonder how easy it is for you to put some sort of fan throttling option as your program is reading fan speed and temperature. So the user would set a desired temp and the program would switch off/on the fan when certain range (setpoint +/- some range). However I guess this might be a bit dangerous (eg if the applet crashes) so there would need to be some sort of backup like handing over the fan control to the bios on exit. keep up the good work its appreciated!

Offline

 

#14 2008-03-15 2:53:48 am

irish
Senior Member
From: Chicago Illinois
Registered: 2008-03-15
Posts: 134

Re: Eee Applet 0.1

very very nice!!

Offline

 

#15 2008-04-19 8:43:51 am

zakhooi
Senior Member
From: The Netherlands
Registered: 2008-04-13
Posts: 109
Website

Re: Eee Applet 0.1

Hi,

I'm running eeexubuntu.
The configure step went fine, but the make step fails:

Code:

make  all-recursive
make[1]: Entering directory `/home/mauce/Desktop/eee-applet-0.2'
Making all in data
make[2]: Entering directory `/home/mauce/Desktop/eee-applet-0.2/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2/data'
Making all in po
make[2]: Entering directory `/home/mauce/Desktop/eee-applet-0.2/po'
file=`echo fr | sed 's,.*/,,'`.gmo \
          && rm -f $file &&  -o $file fr.po
/bin/sh: -o: not found
make[2]: *** [fr.gmo] Error 127
make[2]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2'
make: *** [all] Error 2

any ideas?


Best iphone portal: http://i.mauce.mobi

Offline

 

#16 2008-04-19 11:55:25 pm

grios
New member
Registered: 2008-03-27
Posts: 2

Re: Eee Applet 0.1

Just Install gettext and re ./configure && make

at least i did it on my eeeXubuntu and works fine wink

Offline

 

#17 2008-04-27 11:58:15 am

Jaomi
Member
Registered: 2008-02-26
Posts: 29
Website

Re: Eee Applet 0.1

This is what i get... =/


Code:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
erik@erik-eeepc:~/eee-applet-0.2$ make
make: *** No targets specified and no makefile found.  Stop.

I´m not a linux expert, so help is appriciated! smile


Laptop : Asus EEE PC 701 4G Black - 2GB RAM - 1Ghz
Desktop : C2D 4300@3.2Ghz - 4096MB RAM - 0.7TB HDD - ATI HD3870 512MB

Offline

 

#18 2008-04-27 10:04:36 pm

Shlomo_Glickstein
Member
Registered: 2008-01-22
Posts: 64

Re: Eee Applet 0.1

tried to install and go the following...what is missing?


sudo ./configure
[sudo] password for legendtofski:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
legendtofski@linuxbitch:~/eee-applet-0.2$

Offline

 

#19 2008-05-02 3:23:30 am

zakhooi
Senior Member
From: The Netherlands
Registered: 2008-04-13
Posts: 109
Website

Re: Eee Applet 0.1

I've recompiled it under eeexubuntu 8.04 and all went fine.
However, once installed I notice that allthough the options to change the fanspeed and cpuspeed are available, the effect of changing the settings is nothing. Nothing happens.

Any ideas?


Best iphone portal: http://i.mauce.mobi

Offline

 

#20 2008-05-02 3:53:27 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

You can configure eee-applet with --enable-maintainer-mode and copy paste here the output (either in the terminal or in ~/.xsession-error).

Offline

 

#21 2008-05-02 4:05:05 am

zakhooi
Senior Member
From: The Netherlands
Registered: 2008-04-13
Posts: 109
Website

Re: Eee Applet 0.1

billl wrote:

You can configure eee-applet with --enable-maintainer-mode and copy paste here the output (either in the terminal or in ~/.xsession-error).

Ok,

.xsession-error stays empty, but when I start it from the commandline I see the following error:

** (eee-applet:19688): WARNING **: couldn't communicate with gnome keyring daemon via dbus: Message did not receive a reply (timeout by message bus)

That explains why it keeps me asking for the administrative password.
I checked dbus and is was running, I even restarted it but still with no results.

Please advice how to proceed from here.


Best iphone portal: http://i.mauce.mobi

Offline

 

#22 2008-05-02 4:07:47 am

billl
Member
Registered: 2008-02-20
Posts: 17

Re: Eee Applet 0.1

You should install gnome-keyring.

Offline

 

#23 2008-05-02 4:10:41 am

zakhooi
Senior Member
From: The Netherlands
Registered: 2008-04-13
Posts: 109
Website

Re: Eee Applet 0.1

billl wrote:

You should install gnome-keyring.

That's already installed.


Best iphone portal: http://i.mauce.mobi

Offline

 

#24 2008-05-04 8:00:38 pm

Shlomo_Glickstein
Member
Registered: 2008-01-22
Posts: 64

Re: Eee Applet 0.1

Shlomo_Glickstein wrote:

tried to install and go the following...what is missing?


sudo ./configure
[sudo] password for legendtofski:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
legendtofski@linuxbitch:~/eee-applet-0.2$

Could someone please help me with this problem listed in the output above, sorry I am not good with Linux..what exactly am I missing for it not to work?

Offline

 

#25 2008-05-16 8:13:06 pm

cybeee
Senior Member
Registered: 2008-05-02
Posts: 777

Re: Eee Applet 0.1

Unfortunately that is quite a general error message, and can be caused by a number of things - check the config.log as it says to see if it sheds more light on the matter.

Though the lines:

checking for gawk... no
checking whether to enable maintainer-specific portions of Makefiles... no

may have something to with it.

Though mawk could be used as a fallback for gawk, and maintainer etc may not be required, so they are not definitive.

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson