udev action only for connecting VGA/HDMI cable but not for disconnecting
qjn at gmx.de
Fri Aug 19 05:03:35 PDT 2011
I have an AMD Radeon HD 6310 with free radeonhd drivers running. Xorg
version is 7.6, xserver is 1.10.3.
I tried to define a udev rule to change my monitor settings autoamtically
when I connect a VGA or an HDMI cable. Connecting works fine but
disconnecting is not recognized.
udevadm monitor shows:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[100.176249] change /devices/pci0000:00/0000:00:01.0/drm/card0 (drm)
UDEV [100.869104] change /devices/pci0000:00/0000:00:01.0/drm/card0 (drm)
for connecting. For disconnecting nothing happens. Of course with this it is
not possible to define a rule to change resolution etc. when cable is
Is it simply not possible to detect disconntecting of a cable? Or is this a
bug? Every help related to this is appreciated.
Thank you very much!
View this message in context: http://old.nabble.com/udev-action-only-for-connecting-VGA-HDMI-cable-but-not-for-disconnecting-tp32294619p32294619.html
Sent from the Free Desktop - xorg mailing list archive at Nabble.com.
More information about the xorg