I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
Screensaver-like backlight blanking
trying to get the backlight to auto-off and auto-on

New MessageScreensaver-like backlight blanking (modified 0 times) RatBastard
Profile
Hi folks.

I'm trying to get the backlight program to run after a few minutes of inactivity.

I know that both JWZ's xscreensaver and the other package xautolock support running arbitrary programs after inactivity (though I think xscreensaver expects it to actually draw on the root window...) so I'm hoping to hook up the 'backlight' script to one or the other.

Before I roll up my sleeves and get started, does anyone here have any particular expertise with either of these packages?

One of the gotchas is that the light programs are just flip-switch things. There isn't any "turn on" or "turn off" commands, so it would be easy to get the thing out of sync.

My plan is something like this:
1. See if I can simply get one of the daemons to launch the program on inactivity and subsequently on activity, and hope that it doesn't get out of sync

2. change the power-off button on the IA1 to force the screen saver program to "save" rather than directly manipulating the bit (this should help keep it from getting out of sync)

3. as a last resort, mix the c source of xautolock and the backlight.c program. I had c in college, but that was 10 years ago, so it's probably beyond me.

If anyone has advice or opinion for me, let me know.

03-24-2002 10:38:57

New MessageRE:Screensaver-like backlight blanking (modified 0 times) LasersInTheJungle
Profile
As far as the backlight.c getting out of sync.. you should use neptunes ia1leds.c . I think you can find a copy on ia1hacking.com in the linux files section. This will allow you to send an explicit on/off. I've been meaning to add the toggle to it so that you can have the best of both worlds.. on/off/flip

Happy Hacking,
Julio

03-24-2002 12:16:02

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3