How to turn off the HDMI


#1

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


#2

Nobody know? How Turn off the hdmi?


#3

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


#4

i have a ubuntu mate

Ubuntu-xenial_Linux-3.14_mate_arm64_EMMC_2018-05-31.7z


#5

I remind myself, anyone :)?


#6

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

Thanks!


#7

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.


#8

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!


#9

I need this tutorial for now: P


#10

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.


#11

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:


#12

Hello Emill,

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

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

#13

You can refer to how to build logo.


#15

and how to turn on:)??


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

#18

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


#19

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