This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disabling HDMI output.
#1
Hi guys, 
Anyone know how to disable HDMI output completely?
Thanks in advance,
-mohacs
Reply
#2
What do you mean "disable HDMI output" ?
- if you mean something related to power saving
- if you mean "completely disable" (remove "hdmi" section) in device-tree
- if you mean do not start graphics mode
- or something else ?
I left this community in Aug 2017 due to ASUS bad product quality and ASUS community support that did not match my expectation.  Sad
Reply
#3
(07-10-2017, 01:39 PM)mcerveny Wrote: What do you mean "disable HDMI output" ?
- if you mean something related to power saving
- if you mean "completely disable" (remove "hdmi" section) in device-tree
- if you mean do not start graphics mode
- or something else ?

Hi mcerveny,
I am talking about completely disable it, when someone hook a display HDMI shouldn't give any picture. This is what I am doing for RPi 

Code:
/usr/bin/tvservice -o

Thank you,
-mohac.
Reply
#4
(07-11-2017, 09:11 AM)mohacs Wrote: I am talking about completely disable it, when someone hook a display HDMI shouldn't give any picture.

Probably the best is to disable device in device tree.

Code:
# cd /boot
# dtc -i dtb rk3288-miniarm.dtb > o.dts
# cp o.dts n.dts
# vi n.dts
# ### search for property ' status = "okay" ' in hdmi section and set to ' status = "disabled" '
# ### check with diff
# diff -u -U 12 o.dts n.dts
--- o.dts    2017-07-11 11:56:46.000000000 +0000
+++ n.dts    2017-07-11 11:57:14.000000000 +0000
@@ -1561,25 +1561,25 @@
 
     hdmi@ff980000 {
         compatible = "rockchip,rk3288-dw-hdmi";
         reg = <0x0 0xff980000 0x0 0x20000>;
         reg-io-width = <0x4>;
         rockchip,grf = <0x36>;
         interrupts = <0x0 0x67 0x4>;
         clocks = <0x7 0x168 0x7 0x6d>;
         clock-names = "iahb", "isfr";
         pinctrl-names = "default";
         pinctrl-0 = <0x75>;
         power-domains = <0x59 0x9>;
-        status = "okay";
+        status = "disabled";
         #address-cells = <0x1>;
         #size-cells = <0x0>;
         #sound-dai-cells = <0x0>;
         linux,phandle = <0x84>;
         phandle = <0x84>;
 
         ports {
 
             port {
                 #address-cells = <0x1>;
                 #size-cells = <0x0>;
# dtc -i dts n.dts > rk3288-miniarm.dtb
# reboot
I left this community in Aug 2017 due to ASUS bad product quality and ASUS community support that did not match my expectation.  Sad
Reply
#5
(07-11-2017, 12:13 PM)mcerveny Wrote:
(07-11-2017, 09:11 AM)mohacs Wrote: I am talking about completely disable it, when someone hook a display HDMI shouldn't give any picture.

Probably the best is to disable device in device tree.

Code:
# cd /boot
# dtc -i dtb rk3288-miniarm.dtb > o.dts
# cp o.dts n.dts
# vi n.dts
# ### search for property ' status = "okay" ' in hdmi section and set to ' status = "disabled" '
# ### check with diff
# diff -u -U 12 o.dts n.dts
--- o.dts    2017-07-11 11:56:46.000000000 +0000
+++ n.dts    2017-07-11 11:57:14.000000000 +0000
@@ -1561,25 +1561,25 @@
 
     hdmi@ff980000 {
         compatible = "rockchip,rk3288-dw-hdmi";
         reg = <0x0 0xff980000 0x0 0x20000>;
         reg-io-width = <0x4>;
         rockchip,grf = <0x36>;
         interrupts = <0x0 0x67 0x4>;
         clocks = <0x7 0x168 0x7 0x6d>;
         clock-names = "iahb", "isfr";
         pinctrl-names = "default";
         pinctrl-0 = <0x75>;
         power-domains = <0x59 0x9>;
-        status = "okay";
+        status = "disabled";
         #address-cells = <0x1>;
         #size-cells = <0x0>;
         #sound-dai-cells = <0x0>;
         linux,phandle = <0x84>;
         phandle = <0x84>;
 
         ports {
 
             port {
                 #address-cells = <0x1>;
                 #size-cells = <0x0>;
# dtc -i dts n.dts > rk3288-miniarm.dtb
# reboot


mcerveny, thank you so much. I will try and let you know when i get backup image. 
Cheers,
-mohac.
Reply
#6
Slightly different question is here.

I'm building some kind of info-board with TB & LCD Monitor, which shows some information to visitors of my office.
I will connect PIR sensor or cam for detecting people who stand front of the board. So, only when someone is in the room, the display of board would be turned on.

But I cannot find how to power on / off LCD. I used 'tvservice' on my old prototype RPI version. But on ATB, there is no 'tvservice' or 'vcgencmd'. (or ddccontrol... anything else.)
I guess, the method of @mcerveny needs reboot. Is there no other way without reboot?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)