Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange pi lite - HDMI output

Featured Replies

Hello guys,

 

I read a lot but did not find the answer

 

I'm trying to Turn ON / Turn OFF my Orange pi lite HDMI output like with my raspberry pi (with the help of /opt/vc/bin/tvservice -o ... etc)

But I'm not able to find a similar command to do it. I only found some tips to do it at start-up only

 

My goal is, after some times, turn OFF HDMI output (via python script) to force my monitor to switch into sleep mode.

 

Do you have any ideas ?

 

Thanks in advance ;)

Max

  • Author

Hello Taurus,

 

thanks for the tip but this tool seems to patch script.bin. So a fix state.

We cannot do it dynamicaly 

 

I want to be able to turn ON / OFF HMDI without rebooting the system

 

By the way, the tool return

This tool requires legacy kernel on H3 devices. Exiting

 

OS version I'm using on my Orange Pi Lite

 

root@orangepilite:/usr/local/bin# uname -a
Linux orangepilite 4.10.3-sun8i #6 SMP Sat Mar 25 02:54:20 CET 2017 armv7l armv7l armv7l GNU/Linux

 

regards

  • Author

I tried usual command in Linux but without success

echo 1 > /sys/class/graphics/fb0/blank
-bash: echo: write error: Invalid argument

 

  • Author

Yes I'm using mainline :

Nightly 4.10.1

 

So I have to use the Legacy and I will be able to HDMI ON/OFF in runtime and all other stuff like Wifi / Microphone will work correctly ?

 

Thanks for this information Jernej !

Yes, all things should be supported by legacy, although switching hdmi on/off at runtime is a bit tricky. IIRC, "blank" sysfs property also doesn't work, but there are debugfs entries which enables to do that. I already described this method on this forum, although description was about switching modes, but turning off is also part of that. I will try to find it.

Ok, I found what needs to be done. If you do:

sudo su
cd /sys/kernel/debug/dispdbg/
echo "blank" > command
echo "disp" > name
echo "0" > param
echo "1" > start

Then you will blank the screen. If you change 0 to 1, then you will "unblank" it.

 

Please note that I didn't test this on board, but it should work. Let me know if it works for you or not. Root access is unfortunately needed due to writing to debugfs.

  • Author

Thanks Jernej,

 

We approaching the solution may be

 

I switched to legacy 4.3.113 and tried your commands

 

Actually it works but only something like 2seconds.

Right after the

echo "1" > start

the screen goes blank, then blue but is turning ON right after that.

 

That is unfortunate. The only other solution I know is this:

sudo su
cd /sys/kernel/debug/dispdbg/
echo "switch" > command
echo "disp" > name
echo "0 5" > param
echo "1" > start

Actually, second number for "param" could be anything. If you want to reenable, then you should write "4 5" to param, where 4 means HDMI output and 5 is wanted resolution, the same number as it is used in script.bin and with h3disp utility (most commonly 10 for 1080p60 and 5 for 720p60) .

  • Author

Thank you Jernej !!!!!

 

It works very well !

 

But I'm curious, where did you find these informations  ?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.