WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to switch off the screen for St-By power saving?  (Read 4884 times)

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
How to switch off the screen for St-By power saving?
« on: April 26, 2015, 11:20:03 AM »
Is there any way how to switch the display completely off? Not only blank screen?
I'd like to use it for the software St-By. I've reduced the CPU frequency down, disabled all connections and peripherals, but I'm not able to switch off the HDMI output to force the display to go to the St-By. It blanks the screen after some time naturally, but it's not enough, because it keeps the sync. and therefor the display is still on.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: How to switch off the screen for St-By power saving?
« Reply #1 on: April 26, 2015, 12:15:42 PM »
Hi jgrulich
Have you tried:
Code: [Select]
xset dpms force off

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: How to switch off the screen for St-By power saving?
« Reply #2 on: April 26, 2015, 12:39:10 PM »
Hi Rich,

hence I'm not using the X version, but only command line one, I've no xset available.

Regards,

Jan

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: How to switch off the screen for St-By power saving?
« Reply #3 on: April 26, 2015, 01:07:23 PM »
I need something like this for Rasbian:
Switch on
“/opt/vc/bin/tvservice -p”

Switch off
“/opt/vc/bin/tvservice -o”

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10961
Re: How to switch off the screen for St-By power saving?
« Reply #4 on: April 27, 2015, 12:35:53 AM »
I'm afraid there is no easy utility for DPMS on the console only. Just in X.
The only barriers that can stop you are the ones you create yourself.

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: How to switch off the screen for St-By power saving?
« Reply #5 on: April 27, 2015, 02:42:46 AM »
@jgrulich, The rpi-videocore extension needs building for the latest version of piCore, it has the tvservice binary that you need.

@Béla, can you add the rpi-videocore extension to the list of updated ones required for piCore 6 please?, as I use this functionality as well.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to switch off the screen for St-By power saving?
« Reply #6 on: April 27, 2015, 07:24:07 AM »

@Béla, can you add the rpi-videocore extension to the list of updated ones required for piCore 6 please?, as I use this functionality as well.

I will
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: How to switch off the screen for St-By power saving?
« Reply #7 on: April 30, 2015, 04:22:07 AM »
I have it working  :) , even without the videocore.
I've done two separate booting setups (bootlocal.sh, config.txt and onboot.lst).
Minimal one for St-By and full for normal operation.
It's little bit complicated, but works fine. It's even faster than Rasbian reconfiguration with videocore.
The major advantages are that during booting is possible to have different hardware setup to save additional power and even more when there is power fail during St-By it remains in St-By after power restored.  8)

Offline tehfink

  • Newbie
  • *
  • Posts: 11
Re: How to switch off the screen for St-By power saving?
« Reply #8 on: December 20, 2016, 10:14:33 AM »
Would you mind posting your configurations? I am also interested in this low-power mode!

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1078
Re: How to switch off the screen for St-By power saving?
« Reply #9 on: December 20, 2016, 06:57:56 PM »
The rpi video core user space files are in the extension rpi-vc.tcz.  Tvservice is included.

Offline tehfink

  • Newbie
  • *
  • Posts: 11
Re: How to switch off the screen for St-By power saving?
« Reply #10 on: December 29, 2016, 05:09:40 AM »
The rpi video core user space files are in the extension rpi-vc.tcz.  Tvservice is included.

Thanks, I know  ;D

Actually, I was referring to jgrulich's statement:

Quote
I've done two separate booting setups (bootlocal.sh, config.txt and onboot.lst).
Minimal one for St-By and full for normal operation.
It's little bit complicated, but works fine. It's even faster than Rasbian reconfiguration with videocore.
The major advantages are that during booting is possible to have different hardware setup to save additional power and even more when there is power fail during St-By it remains in St-By after power restored.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: How to switch off the screen for St-By power saving?
« Reply #11 on: January 02, 2017, 07:33:47 AM »
I've used the attached setup. Update it accordingly to your TC version.

Offline tehfink

  • Newbie
  • *
  • Posts: 11
Re: How to switch off the screen for St-By power saving?
« Reply #12 on: January 03, 2017, 06:23:03 AM »
Thanks! Very interesting