triggering xrandr from VGA plug event - intel 965GM
eric at anholt.net
Fri Jul 6 10:47:09 PDT 2007
On Fri, 2007-07-06 at 18:00 +1200, Martin Langhoff wrote:
> When I plug an external monitor to the VGA port of the i965GM, should
> there be a dbus or udev event? Or some other event? I want to be able
> to trigger xrandr --auto on monitor unplug, and xrandr --output VGA
> --right-of LVDS --auto on monitor plug.
> In other words - MacOSX has been a bad influence ;-)
> Neither dbus-monitor (which I think should show hal events?) nor
> udev-monitor show anything. kern.log doesn't hear of it.
There is some hardware capability to help us out with detecting hotplug
events, but on pre-945, we would require polling to detect at least some
outputs, and in particular VGA. I believe Keith is planning on hooking
up the non-polling pieces some time soon and checking the power
consumption effects of doing so.
Eric Anholt anholt at FreeBSD.org
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: This is a digitally signed message part
More information about the xorg