Notification on output hotplug

Eric Anholt eric at anholt.net
Wed May 7 15:27:39 PDT 2008


On Wed, 2008-05-07 at 21:30 +0100, Ross Burton wrote:
> On Wed, 2008-05-07 at 23:15 +0300, Daniel Stone wrote:
> > On Wed, May 07, 2008 at 09:12:49PM +0100, Ross Burton wrote:
> > > Is there some way for X clients to be notified when output devices are
> > > hotplugged?  I have a script that I manually run when I plug in my
> > > external monitor (xrandr, change wallpaper, etc) which I'd like to have
> > > ran automatically instead.
> > 
> > See RROutputChangeNotifyEvent.  Unfortunately, this only really works
> > for TMDS/DVI, as VGA requires polling.
> 
> An option to poll would be much appreciated...

We haven't implemented this because it comes at a heavy power cost.
Probably a watt on the graphics chip, plus whatever you're wasting from
powering your cpu up to do the load-detect.

-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080507/437fcde9/attachment-0001.pgp>


More information about the xorg mailing list