Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Recalbox Manager - Monitoring fails on 2010 Mac mini (including workaround)

    Recalbox General
    recalbox manager monitoring fails 2010
    3
    3
    919
    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.
    • schorsch3000
      schorsch3000 last edited by

      Hi,
      i've installed Recalbox on an 2010 Macmini (Just dding the image onto the harddrive and creating the share-partition by my self).

      Everything works just fine (exept load heavy shaders, but thats what i get for such an old low performance hardware)
      except the monitoring in the Recalbox manager.

      Examin the problem results in

      get?option=temperature

      returns a 500, since in /usr/recalbox-manager2/dist/routes/get.js at line 189 there is:

      currentTemp = (0, _child_process.execSync)('cat /sys/class/thermal/thermal_zone0/temp').toString() / 1000;

      But there is no /sys/class/thermal/thermal_zone0, in fact with at least this kernel there is no thermal reading at all.

      I've fixed this for be my remounting / rw and changing sayed line to:

      currentTemp = (0, _child_process.execSync)('cat /sys/class/thermal/thermal_zone0/temp || echo -1').toString() / 1000;

      which results in a disabled Temperature reading, but all other readings work just fine.

      Im willing to fix this in the sourcecode and create a PR, but i did not found this pice of code in https://github.com/recalbox/recalbox-manager
      There seems to be a python implementation.

      So, is this a thing that should be fixed?
      Where is the code located?

      Thank so long!

      paradadf 1 Reply Last reply Reply Quote 0
      • paradadf
        paradadf Staff @schorsch3000 last edited by

        @schorsch3000 that’s v1 (old) manager.
        Check this one out:

        https://github.com/DjLeChuck/recalbox-manager

        If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

        1 Reply Last reply Reply Quote 0
        • peddletech
          peddletech Banned last edited by

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

          Want to support us ?

          57
          Online

          99.2k
          Users

          28.1k
          Topics

          187.1k
          Posts

          Copyright © 2021 recalbox.com