No more HDMI output from HD Station after turning TV off and on again
Last modified date:
2020-09-04
Please follow below steps to solve it.
-
Run below command
# /etc/init.d/HD_Station.sh attach
-
Run below command to edit script file
# vi /etc/HD_Station/init.d/xrandr-hotplug.sh
-
Modify the contents of the script file.
main() {
[ -f $QTV_CONF ] || touch $QTV_CONF
/usr/bin/xrandr > /dev/null
[ "$?" -ne "0" ] && exit 1
[ -f $FILE_LOCK ] && exit 0
touch $FILE_LOCK
/opt/bin/xrandr-hotplug.py
sleep 1 (modify this line from sleep 1 to sleep 2)
/opt/bin/xrandr-hotplug.py
sleep 1
windowMove
/opt/bin/qtvmargin -u
/opt/bin/wallpaper.sh
rm -f $FILE_LOCK
exit 0
}
[ -f $QTV_CONF ] || touch $QTV_CONF
/usr/bin/xrandr > /dev/null
[ "$?" -ne "0" ] && exit 1
[ -f $FILE_LOCK ] && exit 0
touch $FILE_LOCK
/opt/bin/xrandr-hotplug.py
sleep 1 (modify this line from sleep 1 to sleep 2)
/opt/bin/xrandr-hotplug.py
sleep 1
windowMove
/opt/bin/qtvmargin -u
/opt/bin/wallpaper.sh
rm -f $FILE_LOCK
exit 0
}
-
Save and exit the editor.
-
Restart HD_station from the web management page.
-
Done.