On Tue, Jan 31, 2006 at 07:49:56PM +0100, Dawid Wróbel wrote: > Hi, > > Is there a way to force powersaved to use radeontool instead > of xset, so e.g. when the lid is closed it turns off lcd's backlight
sure. You can either hack it into the scripts or, even better just write a custom event script (look in the docu directory for some trivial examples; The beep_* and log_ac_change scripts in /usr/lib/powersave/scripts are good as simple examples, too) and add that to the "LID_CLOSE" event in /etc/powersave/events. The whole idea behind the whole event stuff is, that you can put your custom scripts into /usr/lib/powersave/scripts/ and use the name of the script as an event name. Beware: you have to adhere to some conventions, especially the notification of the daemon on exit is important. > instead of only turning it into black and leaving backlight on. I am > not sure wheter it's normal (to only black out the screen) or not for > radeon-based laptops, but at least that's what I get here (Dell > Precision M20, similar to Dell Latitude d610). Shouldn't powersaved At least the Dell D600 and D610 i had here turned off the display with xset. > check if there's radeontool installed and if so, use it to turn the > display off? What happens if you use radeontool on a nvidia card? ;-) It gets ugly very fast once you want to consider every single hardware combination, so the better option would be to fix the X server to turn the display off on "dpms off". If radeontool can do it, the X server should be able to do it, too. -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be paid for what I write." SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen _______________________________________________ powersave-devel mailing list powersave-devel@forge.novell.com http://forge.novell.com/mailman/listinfo/powersave-devel