Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
odroid-c2:application_note:software:turn_off_monitor [2019/12/05 17:20]
odroid [HDMI PHY ON/OFF via sysfs]
odroid-c2:application_note:software:turn_off_monitor [2020/04/23 17:55] (current)
luke.go
Line 1: Line 1:
-====== How to turn off your monitor ====== +{{page>common:application_note:software:turn_off_monitor}}
- +
-<WRAP round important>​ +
-  * Ubuntu : Available with 3.14.79-82 (Sep 19, 2016) or higher version +
-  * Android : Available with v1.9 or higher version +
-</​WRAP>​ +
- +
-===== How to activate monitor off on Ubuntu ===== +
- +
-== Set monitor on/off option using boot.ini == +
- +
-<code ini> +
-# Monitor output +
-# Controls if HDMI PHY should output anything to the monitor +
-setenv monitor_onoff "​true"​ # true or false +
- +
-# Boot Arguments +
-setenv bootargs ${bootargs} monitor_onoff=${monitor_onoff} +
-</code> +
- +
-== Set standby time to enter monitor off using power management setting menu == +
-<​code>​ +
-[system] -> [preference] -> [Screensaver]  +
-[Power Management] tab in the bottom area of this menu +
-</​code>​ +
-{{:en:c1_screensaver.png?​650|}} {{:en:​c1_pm_display.png?​650|}} +
- +
-For example, if you set **screensaver time** to 1 minute and **display off time** to 5 minutes in Power Management tab, +
- +
-- in 1 minute, display will be turned off and screensaver is activating but, monitor is still alive. +
- +
-- in 5 minutes, monitor will be turned off. +
-===== How to activate monitor off on Android ===== +
- +
-== Set monitor on/off option using boot.ini == +
-The env description,​ "​suspend_hdmiphy"​ is included in boot.ini as following. +
- +
-You should set **suspend_hdmiphy** to **'​true'​ or '​1'​** to activate monitor off option. +
-<code bash> +
-# Monitor on/off option +
-setenv suspend_hdmiphy "​true"​ # set "​true"​ of "​1"​ to activate monitor off option +
- +
-# Boot Arguments +
-setenv bootargs ${bootargs} syspend_hdmiphy=${suspend_hdmiphy} +
-</​code>​ +
- +
-== Set standby time to enter monitor off == +
-You can set the standby time to enter sleep and monitor off using display setting menu. +
-<​code>​ +
-[Menu] -> [Settings] -> [Device] - [Display] -> [Sleep] +
-Set sleep time +
-</​code>​ +
- +
-{{:​en:​c1_display.png?​650|}} ​ {{:​en:​c1_sleep.png?​650|}} +
- +
-And then, please turn off **Daydream** option. +
- +
-{{:​en:​display_daydream.png?​650|}} {{:​en:​daydream.png?​650|}} +
- +
-Setup is complete. +
- +
-For example, if you set the sleep time to 5 minutes, your monitor will be turned off in 5 minutes. +
- +
- +
-===== HDMI PHY ON/OFF via sysfs ===== +
-First, su permission is needed +
-<code bash>​odroid@odroid64:​~$ su</​code>​ +
- +
-Turn off the hdmi out +
-<code bash>​root@odroid64:/​home/​odroid#​ echo 0 > /​sys/​class/​amhdmitx/​amhdmitx0/​phy</​code>​  +
- +
-Turn on the hdmi out +
-<code bash>​root@odroid64:/​home/​odroid#​ echo 1 > /​sys/​class/​amhdmitx/​amhdmitx0/​phy</​code> ​  +
- +
-*** This method is not suitable for Android OS due to a conflict against the %%SurfaceFlinger%% framework.** +