How to turn off the HDMI

Hello, how to turn off the HDMI, vim and vim2 on UBUNTU.

Nobody know? How Turn off the hdmi?

Wait for psychics who will guess what image you use, with what kernel and other details.

i have a ubuntu mate

Ubuntu-xenial_Linux-3.14_mate_arm64_EMMC_2018-05-31.7z

I remind myself, anyone :)?

Hi Emill:
Can you specify more details on trun off the HDMI?

Thanks!

I do not want to display the image via hdmi at all, I want it to be inactive when the monitor is turned on. I do not want the client to see what is there, because I will produce about 1000 devices and it is important for me.

So you need a headless server, right? You can build the Linux kernel and disable the HDMI feature to achive that. @numbqq will figure out more details or solutions for you.

Have fun!

I need this tutorial for now: P

Hello Emill,

You can disable the HDMI in DTS, but you need to rebuild the kernel.I will provide a test deb for you latter.

Thanks.

you can write one more description, how to change the (loading KHADAS) logo and block the image display, for example, for 10 or 20 seconds from running :slight_smile:

Hello Emill,

You can try the following command to disable HDMI without modify the kernel.

root@Khadas:~# echo 1 > /sys/class/graphics/fb0/blank
1 Like

You can refer to how to build logo.

and how to turn on:)??

root@Khadas:~# echo 0 > /sys/class/graphics/fb0/blank

it does not work, the image is still visible when the system is loading …
I want to turn off HDMI forever, after running it does not work forever

You can try to disable HDMI in uboot.

diff --git a/board/khadas/configs/kvim.h b/board/khadas/configs/kvim.h
index d4bb11d..83c4bb6 100644
--- a/board/khadas/configs/kvim.h
+++ b/board/khadas/configs/kvim.h
@@ -350,7 +350,7 @@
 #define CONFIG_VPU_CLK_LEVEL_DFT 7
 
 /* DISPLAY & HDMITX */
-#define CONFIG_AML_HDMITX20 1
+/*#define CONFIG_AML_HDMITX20 1*/
 #define CONFIG_AML_CANVAS 1
 #define CONFIG_AML_VOUT 1
 #define CONFIG_AML_OSD 1
diff --git a/board/khadas/configs/kvim2.h b/board/khadas/configs/kvim2.h
index 0b6efba..6d23fca 100644
--- a/board/khadas/configs/kvim2.h
+++ b/board/khadas/configs/kvim2.h
@@ -384,7 +384,7 @@
 #define CONFIG_VPU_CLK_LEVEL_DFT 7
 
 /* DISPLAY & HDMITX */
-#define CONFIG_AML_HDMITX20 1
+/* #define CONFIG_AML_HDMITX20 1 */
 #define CONFIG_AML_CANVAS 1
 #define CONFIG_AML_VOUT 1
 #define CONFIG_AML_OSD 1

1 Like