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.

    Asus Tinker Board

    Scheduled Pinned Locked Moved Hardware
    27 Posts 8 Posters 22.6k Views 9 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.
    • SnilleS Offline
      Snille Module Developer @Guest
      last edited by

      @Sean what did you put in your mm.sh?
      I can’t get the MM to run… I only get errors… :/ I’m on development branch…

      got this in the npm-debug.log:

      cat npm-debug.log
      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
      2 info using npm@3.10.10
      3 info using node@v6.11.2
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.1.3-dev~prestart: magicmirror@2.1.3-dev
      6 silly lifecycle magicmirror@2.1.3-dev~prestart: no script for prestart, continuing
      7 info lifecycle magicmirror@2.1.3-dev~start: magicmirror@2.1.3-dev
      8 verbose lifecycle magicmirror@2.1.3-dev~start: unsafe-perm in lifecycle true
      9 verbose lifecycle magicmirror@2.1.3-dev~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/snille/MagicMirror/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
      10 verbose lifecycle magicmirror@2.1.3-dev~start: CWD: /home/snille/MagicMirror
      11 silly lifecycle magicmirror@2.1.3-dev~start: Args: [ '-c', 'sh run-start.sh' ]
      12 silly lifecycle magicmirror@2.1.3-dev~start: Returned: code: 1  signal: null
      13 info lifecycle magicmirror@2.1.3-dev~start: Failed to exec start script
      14 verbose stack Error: magicmirror@2.1.3-dev start: `sh run-start.sh`
      14 verbose stack Exit status 1
      14 verbose stack     at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
      14 verbose stack     at emitTwo (events.js:106:13)
      14 verbose stack     at EventEmitter.emit (events.js:191:7)
      14 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
      14 verbose stack     at emitTwo (events.js:106:13)
      14 verbose stack     at ChildProcess.emit (events.js:191:7)
      14 verbose stack     at maybeClose (internal/child_process.js:891:16)
      14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
      15 verbose pkgid magicmirror@2.1.3-dev
      16 verbose cwd /home/snille/MagicMirror
      17 error Linux 4.4.71+
      18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      19 error node v6.11.2
      20 error npm  v3.10.10
      21 error code ELIFECYCLE
      22 error magicmirror@2.1.3-dev start: `sh run-start.sh`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.1.3-dev start script 'sh run-start.sh'.
      23 error Make sure you have the latest version of node.js and npm installed.
      23 error If you do, this is most likely a problem with the magicmirror package,
      23 error not with npm itself.
      23 error Tell the author that this fails on your system:
      23 error     sh run-start.sh
      23 error You can get information on how to open an issue for this project with:
      23 error     npm bugs magicmirror
      23 error Or if that isn't available, you can get their info via:
      23 error     npm owner ls magicmirror
      23 error There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      
      ? Cr4z33C 2 Replies Last reply Reply Quote 0
      • ? Offline
        A Former User @Snille
        last edited by

        @Snille mine has no problem. In ‘mm.sh’ only npm start is.

        1 Reply Last reply Reply Quote 0
        • SnilleS Offline
          Snille Module Developer
          last edited by

          Oh, when I tried it with the default “linaro” user it works… :) I used “my own” user at first… Now I’m going to add modules! :)

          1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • SnilleS Offline
              Snille Module Developer
              last edited by

              Ah, just figured out how to rotate the screen. When logged in as “linaro”.
              Open a terminal and do:

              cd ~
              nano .xsessionrc
              

              Paste the following in the file and remove the # in front of the row (left or right) you want to rotate the screen. I am using left myself. :)

              #!/bin/sh
              
              ## To rotate left enable below line.
              xrandr --output HDMI-1 --rotate left
              
              ## To rotate right enable below line.
              #xrandr --output HDMI-1 --rotate right
              

              Reboot to test. :)

              1 Reply Last reply Reply Quote 1
              • SnilleS Offline
                Snille Module Developer
                last edited by Snille

                All the same modules installed and here is the “nmon” result…
                To the left is the “Tinker Board” and to the right is the “Raspberry Pi 3”. :)
                0_1503786861591_34b990a2-90df-4c7c-b110-cd79205debe9-image.png

                And here is the module list:

                MMM-Chart
                MMM-Globe
                MMM-JSONStatusChecker
                MMM-Memo
                MMM-ModuleScheduler
                MMM-Modulebar
                MMM-MotionEye
                MMM-MyCommute
                MMM-ProfileSwitcher
                MMM-Profilepicture
                MMM-Remote-Control
                MMM-Sonos
                MMM-SystemStats
                MMM-TextClock
                MMM-TouchNavigation
                MMM-WunderGround
                MMM-cryptocurrency
                MMM-newsfeedtouch
                MMM-plex-recently-added
                calendar_monthly
                mm-hide-all
                mmm-suncalc
                
                ? 2 Replies Last reply Reply Quote 1
                • ? Offline
                  A Former User @Snille
                  last edited by

                  @Snille impressive!

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Snille
                    last edited by

                    @Snille MMM-SystemStat should be modified for CPU temperature. ATB write cpu temp on different location.

                    SnilleS 1 Reply Last reply Reply Quote 0
                    • SnilleS Offline
                      Snille Module Developer @Guest
                      last edited by

                      @Sean Yes, I noticed. I actually disabled the MMM-SystemStats module for now. It’s complaining too much in the log. :)

                      1 Reply Last reply Reply Quote 0
                      • SnilleS Offline
                        Snille Module Developer
                        last edited by Snille

                        Hi again. Tried another OS called Armbian. I like the “looks” better to start with. So if you are going to use you Tinker Board for something else then being a MM. Maybe it’s a nicer alternative then TinkerOS. But for MM, it’s not. The over all CPU usage is even higher then on the RPi3… Tough, it seems to be X that’s hogging most of the CPU… It’s running XFCE instead of LXDE so, maybe that’s the reason…
                        0_1503859158896_2c5b2b51-917a-4d2c-8d7f-0ae3fcd6d2d7-image.png

                        If you want to play with even more OS:es you can find lot’s here.

                        ? 1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @Snille
                          last edited by

                          @Snille Have you find tvservice equivalent? I cannot find how to turn on/off display programmatically on TB.
                          Will tvservice building work?

                          SnilleS 1 Reply Last reply Reply Quote 0
                          • R Offline
                            ranger33
                            last edited by

                            could use a hand as there doesn’t seem to be much support in the community which is odd!

                            Got one today, loaded a fresh sd card with a fresh install of their newest os and i can’t get it to boot! It swirls around and around for a while loading different things but eventually just crashing:/ Anyone else have this issue? Power supply?

                            ? 1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User @ranger33
                              last edited by

                              @ranger33 maybe. Over 2.5A is recommended.

                              1 Reply Last reply Reply Quote 0
                              • SnilleS Offline
                                Snille Module Developer @Guest
                                last edited by

                                @Sean Oh, I missed your comment. I have not clue. :) Have not yet tested the turn off stuff. :)

                                ? 1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @Snille
                                  last edited by

                                  @Snille I currently use xset. it works well.

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jasondreher
                                    last edited by

                                    Sean, how do you use xset for turning the display on and off? I have set up my tinker board and all works great but the display. I tried to set up a crontab scheduled job with python script but I cannot get it to work. I have a script with “xset dpms force off” in it and it works through cmd window, but I cannot get it to work on a schedule.

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User @jasondreher
                                      last edited by

                                      @jasondreher
                                      Well, I didn’t try like that, but I think it is related to your python script. How about using shell script for xset dpms force off?

                                      1 Reply Last reply Reply Quote 0
                                      • Y Offline
                                        yep_DD
                                        last edited by

                                        have you guys also experienced problems with OpenGL? I used the standard MagicMirror install script and did not compile it from scratch:

                                        everything works just fine, but ht pm2_error.log shows this and I assume performance could be increased by solving that

                                        libGL error: MESA-LOADER: failed to retrieve device information
                                        libGL error: unable to load driver: rockchip_dri.so
                                        libGL error: driver pointer missing
                                        libGL error: failed to load driver: rockchip
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Cr4z33C Offline
                                          Cr4z33 @Snille
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • 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