Hi,

The newer version of ATI's fglrx driver comes with a utlity atieventsd
which can generate hotplug (connect and disconnect) events for DFP
(Digital Flat Panel displays connected via DVI connector). These
events are passed to acpid which just passes them to powersaved. I am
wondering how can I capture these events to execute my scripts when
these events occur?


aticonfig --set-powerstate=1

Now, this works only if 1 monitor is connected. If both LCD display
(lvds) and external DFP display (tmds1) are connected, the powerstate
commands do not work. Hence, I would like this to happen automatically
as much as possible.

Specifically, I want to be able to automatically enable display to
such connected DISPLAYs by doing

aticonfig --enable-mointor=lvds,tmds1

whenever DFP is connected. And, I can do

aticonfig --enable-monitor=lvds

whenever DFP is disconnected.

So, I would like to know if there are any "default" scripts that
handles all the events that are not handled by some scripts?

Thank you very much for your help in advance :).
Osho

PS:

This is not directly related with saving power but it is related
indirectly for 2 reasons:

Not driving the DFP output when it has nothing connected to it saves power.

I have configured powersave scripts to do the following whenever AC is connected

aticonfig --set-powerstate=2

And, to do the following whenever AC is disconnected

aticonfig --set-powerstate=1

Now, this works only if 1 monitor is connected. If both LCD display
(lvds) and external DFP display (tmds1) are connected, the powerstate
change commands do not work. Hence, I would like this to happen
automatically as much as possible.
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to