From e0408ae8c81af55ec38806b9b8579ceb02022cb9 Mon Sep 17 00:00:00 2001 From: Stefan Tomanek Date: Tue, 9 Nov 2010 15:16:46 +0100 Subject: [PATCH] call xrandr to refresh sysfs --- autorandr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autorandr b/autorandr index 6ef1add..55f7143 100755 --- a/autorandr +++ b/autorandr @@ -55,6 +55,8 @@ setup_fp_xrandr_edid() { } setup_fp_sysfs_edid() { + # xrandr triggers the reloading of EDID data + $XRANDR -q > /dev/null # hash the EDIDs of all _connected_ devices for P in /sys/class/drm/card*-*/; do if grep -q "^connected$" < "${P}status"; then -- 2.39.5