LCD Display Info and Monitoring Tool + Kodi install

Post Reply
AreaScout
Posts: 1760
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 109 times
Been thanked: 334 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by AreaScout »

    Is the sdd /dev/sda or /dev/sdb ? This constellation is also interesting for me because I never tested this

    odroidRapid
    Posts: 83
    Joined: Sun Oct 13, 2019 2:37 pm
    languages_spoken: english
    ODROIDs: HC2
    Has thanked: 20 times
    Been thanked: 1 time
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by odroidRapid »

    SSD is /dev/sda
    I notice something that can not confirm now 100%
    If I start cs2 with lcd off i think i notice that hdd spindown but I must check this to be 100% sure.

    EDIT:
    I can not be sure for this above.
    Sometime hdd spindown and sometime wont spindown when lcd is off.

    But I notice something strange.
    After one reboot SSD become dev/sdb and HDD become/dev/sda.
    After rebote SSD become again dev/sda and HDD become /dev/sdb.
    How to fix this?

    odroidRapid
    Posts: 83
    Joined: Sun Oct 13, 2019 2:37 pm
    languages_spoken: english
    ODROIDs: HC2
    Has thanked: 20 times
    Been thanked: 1 time
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by odroidRapid »

    I have problem to spindown hdd widh hdparm and hd-idle

    hdparm error:
    issuing standby command
    SG_IO: bad/missing sense data, sb[]: 70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


    Maybe is part of problems with this errors after run ./chOpSmartinfo.sh

    ~# ./chOpSmartinfo.sh
    ERROR : This is a script to fix HDD disconnected from the system,
    when you access S.M.A.R.T information.
    Read me using any text editor and fix it
    Okay. You did it already. You don't need to try it
    grep: /usr/share/php/openmediavault/system/storage/smartstoragedeviceabstract.inc: No such file or directory
    grep: /usr/share/php/openmediavault/system/storage/smartstoragedeviceabstract.inc: No such file or directory
    ERROR : This is a script to fix HDD disconnected from the system,
    when you access S.M.A.R.T information.
    Read me using any text editor and fix it
    You have to see "Okay" three times
    If you got an ERROR even one time, please modify the files by hand
    1. /usr/share/php/openmediavault/system/storage/smartinformation.inc
    2. /usr/share/openmediavault/engined/rpc/smart.inc
    3. /usr/share/php/openmediavault/system/storage/smartstoragedeviceabstract.inc

    How to fix this errors (If you got an ERROR even one time, please modify the files by hand)?

    User avatar
    mad_ady
    Posts: 9979
    Joined: Wed Jul 15, 2015 5:00 pm
    languages_spoken: english
    ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
    Location: Bucharest, Romania
    Has thanked: 631 times
    Been thanked: 780 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by mad_ady »

    See if there are calls to smartctl, and if yes, try adding -d sat to its parameters. Note that periodic calls to smartctl can keep your disks spinning.

    odroidRapid
    Posts: 83
    Joined: Sun Oct 13, 2019 2:37 pm
    languages_spoken: english
    ODROIDs: HC2
    Has thanked: 20 times
    Been thanked: 1 time
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by odroidRapid »

    Maybe to return from Bridge Firmware Version: v158.1.0.4 to Bridge Firmware Version: v158.1.0.1.
    Bridge Firmware Version: v158.1.0.1 can work with smart and maybe hdparm will work wit this FW?

    I found post about new FW:
    viewtopic.php?f=147&t=30489&p=272906#p272906
    Is safe to use this FW or not?

    EDIT:

    One thing I can definitely confirm:
    - if the OS is on sd card then hdd goes into the spindown without any problems.
    If the OS is on ssd (sata channel0) then it prevents hdd from going into spindown.
    I think for some reason, the firmware does not seem to control the sata channels separately.
    Or "error" is on cloudshell2 board?
    My primary idea was to have the OS on an SSD, seem to have to give it up and have the OS on the sd card.
    I also seem to have to put hdd on sata channel0 and ssd on sata channel1 so I get smart data for hdd.

    odroidRapid
    Posts: 83
    Joined: Sun Oct 13, 2019 2:37 pm
    languages_spoken: english
    ODROIDs: HC2
    Has thanked: 20 times
    Been thanked: 1 time
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by odroidRapid »

    If i put ssd (whit OS) on sata channel1 is there any chance that hdd on sata chanell0 will spindown?
    I think if system check activity and another things (smart) only for sata channel0 then maybe will allow hdd to spindown even if os running on sata channel1.

    EDIT:
    This worked until the lcd turned on for the first time.
    After that it doesn't work anymore.
    There seems to be something in the LCD Display Info and Monitoring Tool settings that keeps the hdd awake after first lcd wake up.
    Last edited by odroidRapid on Sat Sep 18, 2021 7:40 pm, edited 2 times in total.

    AreaScout
    Posts: 1760
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell, Go2, C4
    Has thanked: 109 times
    Been thanked: 334 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by AreaScout »

      No it should be the other way around, channel 1 should work for OS specific spin down, channel 0 should work with RAID controller spin down but I am not sure about that, you have to test it, I didn't test this constellation

      RG

      odroidRapid
      Posts: 83
      Joined: Sun Oct 13, 2019 2:37 pm
      languages_spoken: english
      ODROIDs: HC2
      Has thanked: 20 times
      Been thanked: 1 time
      Contact:

      Re: LCD Display Info and Monitoring Tool + Kodi install

      Post by odroidRapid »

      See my EDIT for the post above.
      I don't know the reason for that behavior.
      If the solution is to completely turn off the lcd how to do it?
      I would definitely like the tool to control the temperatures and turn the fan on and off as needed.

      odroidRapid
      Posts: 83
      Joined: Sun Oct 13, 2019 2:37 pm
      languages_spoken: english
      ODROIDs: HC2
      Has thanked: 20 times
      Been thanked: 1 time
      Contact:

      Re: LCD Display Info and Monitoring Tool + Kodi install

      Post by odroidRapid »

      After some changes in cloudshell2-monitoring.conf (set all to default) spindown again work for hdd after lcd is off.

      odroidRapid
      Posts: 83
      Joined: Sun Oct 13, 2019 2:37 pm
      languages_spoken: english
      ODROIDs: HC2
      Has thanked: 20 times
      Been thanked: 1 time
      Contact:

      Re: LCD Display Info and Monitoring Tool + Kodi install

      Post by odroidRapid »

      I have noticed that sometimes devices change places after start / restart:
      hdd is sometimes /dev/sda and sometimes /dev/sdb
      The same happens for ssd and usb flash memory.
      Can hdd, for example, always be /dev/sda?

      Luckily I didn’t notice that this prevents the hdd from going into the spindown.
      I think it was important for spindown that the hdd is on the sata channel 0 and that in cloudshell2-monitoring.conf this option does not change:
      # Unique mount point or device path to show the hard disk space from, i.e if you are using an complex LVM config

      AreaScout
      Posts: 1760
      Joined: Sun Jul 07, 2013 3:05 am
      languages_spoken: german, english
      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
      N1, Go, VU5A, Show2, CloudShell2,
      H2, N2, VU7A, VuShell, Go2, C4
      Has thanked: 109 times
      Been thanked: 334 times
      Contact:

      Re: LCD Display Info and Monitoring Tool + Kodi install

      Post by AreaScout »

        Probably a drive that was connected to USB ? USB flash drive or something and then after boot RAID controller was /dev/sdb ? If yes then this is the reason, I don't know a solution for this but for sure it can be configured somewhere, my solution would be not to boot with USB drive connected

        RG

        soerenderfor
        Posts: 112
        Joined: Sun Jun 17, 2018 10:01 pm
        languages_spoken: Danish, English
        ODROIDs: ODROID U3, ODROID C2, ODROID XU4, ODROID N2, ODROID H2.
        Has thanked: 7 times
        Been thanked: 15 times
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by soerenderfor »

        Long time no see @AreaScout -how is it going on the "new" job?

        In the future are you thinking of making some new features or updates or making new image to the CS2?

        Best Regards

        AreaScout
        Posts: 1760
        Joined: Sun Jul 07, 2013 3:05 am
        languages_spoken: german, english
        ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
        N1, Go, VU5A, Show2, CloudShell2,
        H2, N2, VU7A, VuShell, Go2, C4
        Has thanked: 109 times
        Been thanked: 334 times
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by AreaScout »

        soerenderfor wrote:
        Mon Sep 20, 2021 3:14 pm
        Long time no see @AreaScout -how is it going on the "new" job?
        No comment on that :)
        soerenderfor wrote:
        Mon Sep 20, 2021 3:14 pm
        In the future are you thinking of making some new features or updates or making new image to the CS2?
        The image is still very popular, it is downloaded 9961 times, I have some good ideas for future images with Chrome running on DRM/GBM so you can chose if you want kodi or chrome if you plug the NAS to TV

        RG

        odroidRapid
        Posts: 83
        Joined: Sun Oct 13, 2019 2:37 pm
        languages_spoken: english
        ODROIDs: HC2
        Has thanked: 20 times
        Been thanked: 1 time
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by odroidRapid »

        Will this tool work if I install Armbian Bullseye with mainline kernel 5.4.y ?
        I want to install everything from scratch.
        Currently I am on Armbian Buster with kernel 4.14.222.

        EDIT:
        Answer form OMV forum:
        If you want OMV5 then you must install Armbian Buster.
        Armbian Bullseye is for OMV6.

        So my question now is:
        Will this tool work if I install Armbian Buster with 5.4.y kernel?

        odroidRapid
        Posts: 83
        Joined: Sun Oct 13, 2019 2:37 pm
        languages_spoken: english
        ODROIDs: HC2
        Has thanked: 20 times
        Been thanked: 1 time
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by odroidRapid »

        Now I am traying with fresh install but I cannot find media/boot/config.ini to activate LCD on kernel 5.4.x.
        What i need to do with that :
        Activate the LCD (Onyl on kernel >= 5.4.x):

        Edit the file /media/boot/config.ini and set overlay_profile plus add string under overlays in the overlay_hktft_cs_ogst section like this:

        Code: Select all

        overlay_profile="hktft_cs_ogst"

        Code: Select all

        [overlay_hktft_cs_ogst]
        overlays="hktft-cs-ogst i2c0 i2c1"

        EDIT:

        In one post I found this, and now I have LCD Display Info and Monitoring tool workink on kernel 5.4.x:

        After download, flash the image on a SD and boot from it
        - Logon change the password for the first time and enable the LCD and i2c bus with:

        Code: Select all

        fdtoverlay -v -i /boot/dtb/exynos5422-odroidxu4.dtb -o /boot/dtb/exynos5422-odroidxu4.dtb /boot/dtb/overlays/hktft-cs-ogst.dtbo /boot/dtb/overlays/i2c0.dtbo /boot/dtb/overlays/i2c1.dtbo
        - Reboot and see the CloudShell2 coming up with working LCD

        - Install my cloudshell2-monitoring tool with (edited to install latest tool):

        Code: Select all

        wget http://www.areascout.at/cloudshell2-monitoring_1.0.23-1_armhf.deb
        sudo apt install ./cloudshell2-monitoring_1.0.23-1_armhf.deb
        - Install OMV5 with:

        Code: Select all

        wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
        Reboot -> finished

        odroidRapid
        Posts: 83
        Joined: Sun Oct 13, 2019 2:37 pm
        languages_spoken: english
        ODROIDs: HC2
        Has thanked: 20 times
        Been thanked: 1 time
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by odroidRapid »

        HDD and SSD sometimes switch position and then I have wrong data on LCD.
        Can somehow I can do that HDD is always /dev/sda and SSD /dev/sdb ?

        User avatar
        mad_ady
        Posts: 9979
        Joined: Wed Jul 15, 2015 5:00 pm
        languages_spoken: english
        ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
        Location: Bucharest, Romania
        Has thanked: 631 times
        Been thanked: 780 times
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by mad_ady »

        /dev/device/by-id?

        odroidRapid
        Posts: 83
        Joined: Sun Oct 13, 2019 2:37 pm
        languages_spoken: english
        ODROIDs: HC2
        Has thanked: 20 times
        Been thanked: 1 time
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by odroidRapid »

        AreaScout wrote:
        Sat Oct 24, 2020 4:27 am
          @HucSte

          On regular Armbian Images you have to manually enable the LCD inside the /boot/boot.ini file, find that line setenv cs2enable and set it to true so it looks like that setenv cs2enable "true" after this the tool should work ;)

          P.S.: I saw you have already found my custom Armbian Image with Kodi and cloudshell2-monitoring pre-installed, it is also a good choice :)

          RG
          Is this "must to do thing"?
          LCD Display Info and Monitoring tool suddenly stopped working and after set cs2enable to "true" in boot.ini tool work again.
          I hadn’t paid attention to this before because everything worked well. The firmware was upgraded yesterday so maybe something broke LCD Display Info and Monitoring tool?

          AreaScout
          Posts: 1760
          Joined: Sun Jul 07, 2013 3:05 am
          languages_spoken: german, english
          ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
          N1, Go, VU5A, Show2, CloudShell2,
          H2, N2, VU7A, VuShell, Go2, C4
          Has thanked: 109 times
          Been thanked: 334 times
          Contact:

          Re: LCD Display Info and Monitoring Tool + Kodi install

          Post by AreaScout »

          odroidRapid wrote:
          Thu Nov 25, 2021 4:03 pm
          AreaScout wrote:
          Sat Oct 24, 2020 4:27 am
            @HucSte

            On regular Armbian Images you have to manually enable the LCD inside the /boot/boot.ini file, find that line setenv cs2enable and set it to true so it looks like that setenv cs2enable "true" after this the tool should work ;)

            P.S.: I saw you have already found my custom Armbian Image with Kodi and cloudshell2-monitoring pre-installed, it is also a good choice :)

            RG
            Is this "must to do thing"?
            LCD Display Info and Monitoring tool suddenly stopped working and after set cs2enable to "true" in boot.ini tool work again.
            I hadn’t paid attention to this before because everything worked well. The firmware was upgraded yesterday so maybe something broke LCD Display Info and Monitoring tool?
            If you didn't apply the overlay files manually with fdtoverlay ---> yes

            RG

            odroidRapid
            Posts: 83
            Joined: Sun Oct 13, 2019 2:37 pm
            languages_spoken: english
            ODROIDs: HC2
            Has thanked: 20 times
            Been thanked: 1 time
            Contact:

            Re: LCD Display Info and Monitoring Tool + Kodi install

            Post by odroidRapid »

            I was doing this with fresh install few days ago:

            Code: Select all

            fdtoverlay -v -i /boot/dtb/exynos5422-odroidxu4.dtb -o /boot/dtb/exynos5422-odroidxu4.dtb /boot/dtb/overlays/hktft-cs-ogst.dtbo /boot/dtb/overlays/i2c0.dtbo /boot/dtb/overlays/i2c1.dtbo

            AreaScout
            Posts: 1760
            Joined: Sun Jul 07, 2013 3:05 am
            languages_spoken: german, english
            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
            N1, Go, VU5A, Show2, CloudShell2,
            H2, N2, VU7A, VuShell, Go2, C4
            Has thanked: 109 times
            Been thanked: 334 times
            Contact:

            Re: LCD Display Info and Monitoring Tool + Kodi install

            Post by AreaScout »

              Well then you don't need to set this switch to true, it should work again if you set it to false, again if uboot is older on your eMMC it can't load the overlay files into the current dtb file, then you have to apply it permanently

              RG

              odroidRapid
              Posts: 83
              Joined: Sun Oct 13, 2019 2:37 pm
              languages_spoken: english
              ODROIDs: HC2
              Has thanked: 20 times
              Been thanked: 1 time
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by odroidRapid »

              I was first starting cs2 from sd card with newest Armbian Buster with kerel 5.4.y and then in armbian-config I was update boot partition on emmc.
              Now I use only emmc for boot and OS.
              I was doing ftdoverlay thing on sdcard and after copyng OS to emmc and removing se card and boot OS from emmc LCD Tool... was working. :?:

              AreaScout
              Posts: 1760
              Joined: Sun Jul 07, 2013 3:05 am
              languages_spoken: german, english
              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
              N1, Go, VU5A, Show2, CloudShell2,
              H2, N2, VU7A, VuShell, Go2, C4
              Has thanked: 109 times
              Been thanked: 334 times
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by AreaScout »

                Well you are all set you know now what matters and what you have to do if it's not working, just some small tip, do not use both SD card AND eMMC, you could confuse the boot and update process(es)

                RG
                These users thanked the author AreaScout for the post:
                odroidRapid (Fri Nov 26, 2021 1:18 am)

                odroidRapid
                Posts: 83
                Joined: Sun Oct 13, 2019 2:37 pm
                languages_spoken: english
                ODROIDs: HC2
                Has thanked: 20 times
                Been thanked: 1 time
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by odroidRapid »

                I use only emmc.

                odroidRapid
                Posts: 83
                Joined: Sun Oct 13, 2019 2:37 pm
                languages_spoken: english
                ODROIDs: HC2
                Has thanked: 20 times
                Been thanked: 1 time
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by odroidRapid »

                Yust to sure.. is this blkid ok for emmc?
                I can boot and run Armbian from emmc without problem.

                Code: Select all

                /dev/mmcblk0p1: UUID="67f7cc23-43db-4142-80b1-ac6ad592ca42" TYPE="ext4" PARTUUID="6952162a-01"
                /dev/sdb1: LABEL="AdataSSD-docker" UUID="51aaedc7-92a9-4f9c-be03-53b2083b595d" TYPE="ext4" PARTUUID="5deadddc-0a4f-4555-828a-eb0f4424d582"
                /dev/sdb2: LABEL="AdataSSD" UUID="8da1063e-6d3f-45f5-8efa-5126a9c2d0b8" TYPE="ext4" PARTUUID="025ae8be-3cde-4b87-b89e-f8157726af96"
                /dev/sda1: LABEL="WDREDPLUS4TB" UUID="37f0f7ce-b9ca-4cb8-898d-79c99de23baf" TYPE="ext4" PARTUUID="3540a484-1635-460b-bc36-d57f651d7014"
                /dev/mmcblk0: PTUUID="6952162a" PTTYPE="dos"

                AreaScout
                Posts: 1760
                Joined: Sun Jul 07, 2013 3:05 am
                languages_spoken: german, english
                ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                N1, Go, VU5A, Show2, CloudShell2,
                H2, N2, VU7A, VuShell, Go2, C4
                Has thanked: 109 times
                Been thanked: 334 times
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by AreaScout »

                  They are generated on SD/eMMC image creation, guess they should be ok otherwise it wouldn't boot

                  RG
                  These users thanked the author AreaScout for the post:
                  odroidRapid (Fri Nov 26, 2021 7:16 pm)

                  Helmut
                  Posts: 41
                  Joined: Sat Jul 21, 2018 5:51 pm
                  languages_spoken: english
                  Has thanked: 4 times
                  Been thanked: 5 times
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by Helmut »

                  Minor comment @AreaScout: Not sure if this was said, but the command is not

                  Code: Select all

                  cloudshell2_monitoring -i
                  (first post)

                  but

                  Code: Select all

                  cloudshell2-monitoring -i
                  Just noticed..
                  These users thanked the author Helmut for the post (total 2):
                  odroidRapid (Sun Nov 28, 2021 9:35 pm) • odroid (Mon Nov 29, 2021 11:03 am)

                  Post Reply

                  Return to “CloudShell”

                  Who is online

                  Users browsing this forum: No registered users and 1 guest