[mythtv-users] 'xrandr --auto' on resume
veehexx at zoho.com
Mon Oct 30 15:10:49 UTC 2017
After some changes to my main FE moving between IR and bluetooth control, i've had to move from wake-on-IR (poweroff) to resume-on-usb (s3 sleep).
along with this, i've found i need to run 'xrandr --auto' for the NUC to redetect the TV/AVR. i assume something todo with EDID data.
unfortuntately i've not had much luck in getting this reliable. afaik it's in the correct pm-utils script dir with execute perms (/usr/lib/pm-utils/sleep.d/)
Sometimes the display resumes, sometimes not. when it fails, SSH into the FE and running the script manually will always bring the display back. I've done a simple 'sleep 5' in the script and that doesnt makes things better.
does anyone have an idea for solution, or a better way to handle resuming?
if it helps any, cabling is NUC > AVR > TV with HDMI to connect between them.
More information about the mythtv-users