• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Pi Zero

Scheduled Pinned Locked Moved Hardware
pizero
37 Posts 10 Posters 48.4k Views 12 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    nigel-daniels @Neokamikaze
    last edited by Aug 18, 2016, 7:05 PM

    @Neokamikaze hi, what did you do to stop the screen from blanking? Having got the kweb and MM running perfectly I set this up to run without screen blanking an got the mirror in position… but it still blanks after about 10 mins+. The steps I took were:

    Turn off the monitors energy saving mode.

    I then edited ~/.config/lxsession/LXDE-pi/autostart and /etc/xdg/lxsession/LXDE-pi/autostart commented out the screensaver line and added:

    @xset s off
    @xset -dpms
    @xset s noblank

    Finally in /etc/kbd/config I set the following to:

    BLANK_TIME=0
    BLANK_DPMS=off
    POWERDOWN_TIME=0

    What am I missing here?

    1 Reply Last reply Reply Quote 0
    • N Offline
      Neokamikaze
      last edited by Aug 19, 2016, 6:44 AM

      Hi @nigel-daniels, i don’t touch kweb configuration. I just add on “~/.config/lxsession/LXDE-pi/autostart” file this:

      @lxpanel --profile LXDE-pi
      @pcmanfm --desktop --profile LXDE-pi
      @xscreensaver -no-splash
      

      and in “/etc/xdg/lxsession/LXDE-pi/autostart” this:

      @lxpanel --profile LXDE-pi
      @pcmanfm --desktop --profile LXDE-pi
      @xscreensaver -no-splash
      @xset s noblank
      @xset s off
      @xset -dpms
      

      After for configure my display i change the configuration in “/boot/config.txt”.

      N 1 Reply Last reply Aug 19, 2016, 7:06 AM Reply Quote 0
      • N Offline
        nigel-daniels @Neokamikaze
        last edited by Aug 19, 2016, 7:06 AM

        @Neokamikaze HI thanks for the suggestion, I’ve ensured both my versions of these files match yours, but somewhere DPMS is being enabled… 10 mins in the screen blanks. I can see in the file /var/log/Xorg.0.log the following lines:

        [ 81.864] (II) FBTURBO(0): enabled fbdev copyarea acceleration
        [ 81.865] (==) FBTURBO(0): Backing store enabled
        [ 81.875] (==) FBTURBO(0): DPMS enabled
        [ 81.875] (II) FBTURBO(0): failed to enable hardware cursor

        Something somewhere is setting DPMS up and for some reason the xset -dpms command is being skipped. I’ll try adding the set command to the start.sh and see if that forces the issue.

        1 Reply Last reply Reply Quote 0
        • N Offline
          Neokamikaze
          last edited by Aug 19, 2016, 7:12 AM

          Hi @nigel-daniels, if you use jessie i think there is a problem with DPMS. There is a GUI package for configure this. If you want test install “xscreensaver” package

          N 1 Reply Last reply Aug 19, 2016, 7:17 AM Reply Quote 0
          • N Offline
            nigel-daniels @Neokamikaze
            last edited by Aug 19, 2016, 7:17 AM

            @Neokamikaze Thanks I’ll give that a shot. This is Jessy, and it sounds like the sort of problem I’m seeing.

            Me thinks it will need to be in the morning now… gone midnight in my TZ so I’ll get screensaver on board and deal with pulling the mirror apart to get the minikbd plugged back in till then.

            I’ll let you know how it works out.

            N 1 Reply Last reply Aug 19, 2016, 11:57 PM Reply Quote 0
            • N Offline
              nigel-daniels @nigel-daniels
              last edited by Aug 19, 2016, 11:57 PM

              @nigel-daniels sigh ok tried that rebooted into the GUI and used the screensaver config to switch off the screensaver. Then reconfigured the system to log into the CLI and use the start.sh to kick of X/Kweb… 10 mins later a black screen. I’m running out of locations to try using the set commends, I even added them to the start.sh.

              1 Reply Last reply Reply Quote 0
              • D Offline
                darkeagl105
                last edited by Aug 21, 2016, 9:48 AM

                So my promised input to the whole thing:
                I gave up on kweb and using midori browser. It automaticly starts in fullscreen and kiosk mode. I have to put in a delay after “node serveronly” of 45s.

                Bootup in console mode and add this in /etc/rc.local

                sudo -u mirror /home/mirror/MagicMirror/serveronly

                sleep 45s;

                sudo -u mirror midori -e Fullscreen -a http://localhost:8080

                and thats it. Works for me.

                N 1 Reply Last reply Aug 21, 2016, 5:50 PM Reply Quote 0
                • N Offline
                  nigel-daniels @darkeagl105
                  last edited by Aug 21, 2016, 5:50 PM

                  @darkeagl105 HI thanks for the update, I did end up recompiling Kweb which worked once I’d figured out I had to do that… I’m just now stuck figuring out how to stop my screen blanking after 10 mins! I think I’ve added the xset commands in about 5 locations and still nothing!

                  H 1 Reply Last reply Jan 22, 2017, 2:16 AM Reply Quote 0
                  • C Offline
                    canadrian
                    last edited by Nov 26, 2016, 2:50 AM

                    Getting an:
                    /home/pi/start.sh: line 4: xinit: command not found
                    where line 4 is:
                    xinit /usr/bin/kweb -KJE4 “http://localhost:8080”

                    any help appreciated. thank you in advance.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      handfish @nigel-daniels
                      last edited by Jan 22, 2017, 2:16 AM

                      @nigel-daniels I realise this is really late, but I found a solution to my screen blanking on this site, at the bottom with “setterm -blank 0”.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy