View Single Post
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#25
Originally Posted by qwerty12 View Post
Well, it wakes up if the FMTx daemon reports a change to it (like the original), but it does pretty much the same more or less when woken up as the original applet. If I read IDA's output for the original applet correctly, this one also frees the memory properly.

@YoDude


Download it again.

Yes, it does run fmboost more times than is necessary but that should be fixed now due to its checking of the current power level. FM Boost is a script that just runs echo. It does nothing else. Our widgets will run the script and then display the banner, independently.

Actually, I believe that message is saying that it just won't load the overclocked settings; the kernel remains in-place.

Anyway, Banners and Banner-like dialog boxes are implemented in the Hildon library (HildonBanner and HildonNote respectively). My widget will call HildonBanner directly.

--

kernel-power-settings is a package consisting of scripts.

FreeDesktop has a specification on notifications: http://www.galago-project.org/specs/notification/

What's special about this is that D-Bus methods are invoked to display those notifications, and most D-Bus methods can be called using the dbus-send tool. Hildon Desktop implements this specification and will pass messages sent to it to a HildonBanner/HildonNote instance.

In short, dpkg -L kernel-power-settings and find out which of those scripts is running dbus-send.
Man you pointed to the fishing hole and told us what bait you used... You have even offered us your surplus fish!


You truly are the best dude...

Warmest regards,
YoDude


"I see.", said the blind man...
__________________

SLN member # 009

Last edited by YoDude; 2010-06-12 at 15:15.