LCD Display Info and Monitoring Tool + Kodi install

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Fri Apr 10, 2020 2:54 am

@AreaScout - Hi, i just love the tool and have now used it for a very long time. But i have now connected a new fan to the xu4 board, for better control. If i use your tool, the fan starts and when it hits OMV it stops.
-Is it possible to get control over the fan connected to the xu4 board?

I can make it run by run these commands when the CS2 has booted up.
echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic

And then control the fan by this.
echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1

But is it possible to use your tool with fan conected to the xu4? Thanks.

maki26
Posts: 31
Joined: Sat Jan 19, 2019 4:25 am
languages_spoken: english, polish
ODROIDs: XU4 + Cloudshell 2
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by maki26 » Fri Apr 10, 2020 4:39 am

d@soerenderfor
Did You tried this https://wiki.odroid.com/odroid-xu4/software/pwm_cpufan ??

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Fri Apr 10, 2020 5:09 am

@maki26 - The 2 comands works, i did try add them in /etc/rc.local
echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic
echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1

But the fan do not start, but if i run them in terminal when OMV has started, then the fan starts and run just fine.
I have no skills to make a script to run in startup.

User avatar
AreaScout
Posts: 1331
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: 54 times
Been thanked: 181 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by AreaScout » Fri Apr 10, 2020 5:42 am

@soerenderfor

You do not need sudo command for /etc/rc.local it will be executed with root user rights

RG

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Fri Apr 10, 2020 12:36 pm

@AreaScout - Okay, but is it therefor the 2 commands does not execcute on startup? (I would have checked it myself - but i will first return to home tomorrow).

User avatar
AreaScout
Posts: 1331
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: 54 times
Been thanked: 181 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by AreaScout » Fri Apr 10, 2020 6:05 pm

@soerenderfor

There is no default user configured when OMV is installed, there is only root, so it could be that sudo make problems here, but I am not sure, without sudo I don't see a reason why this command shouldn't work, please report back

RG

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Mon Apr 13, 2020 3:42 am

@AreaScout - I have now try to put the two commands in /etc/rc.local , but no effect at all. I have to do it in terminal myself after startup. Do you have an idea? Thanks.

User avatar
mad_ady
Posts: 7898
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: 498 times
Been thanked: 348 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by mad_ady » Mon Apr 13, 2020 12:50 pm

Is /etc/rc.local executable? If you run it from the shell does it generate anu errors? Note that by default it stops execution after the first command that exits with an error code.

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Mon Apr 13, 2020 2:58 pm

mad_ady wrote:
Mon Apr 13, 2020 12:50 pm
Is /etc/rc.local executable? If you run it from the shell does it generate anu errors? Note that by default it stops execution after the first command that exits with an error code.
When i check the status on /etc/rc.local it get this:

root@odroidxu4:~# systemctl status rc-local
● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/lib/systemd/system/rc-local.service; static; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
└─debian.conf
Active: failed (Result: exit-code) since Mon 2020-04-13 07:53:54 CEST; 59s ago
Process: 1928 ExecStart=/etc/rc.local start (code=exited, status=1/FAILURE)

Apr 13 07:53:54 odroidxu4 systemd[1]: Starting /etc/rc.local Compatibility...
Apr 13 07:53:54 odroidxu4 rc.local[1928]: SIOCSIFMTU: No such device
Apr 13 07:53:54 odroidxu4 systemd[1]: rc-local.service: Control process exited, code=exited status=1
Apr 13 07:53:54 odroidxu4 systemd[1]: Failed to start /etc/rc.local Compatibility.
Apr 13 07:53:54 odroidxu4 systemd[1]: rc-local.service: Unit entered failed state.
Apr 13 07:53:54 odroidxu4 systemd[1]: rc-local.service: Failed with result 'exit-code'.

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Mon Apr 13, 2020 3:07 pm

I did see in the /etc/rc.local i had ( ifconfig eth0 mtu 6975 ) and it faild the running of the rc.local. Thanks.

soerenderfor
Posts: 37
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: 1 time
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by soerenderfor » Wed Apr 15, 2020 9:47 pm

@AreaScout - Your tool does it work with newer kernels?

User avatar
AreaScout
Posts: 1331
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: 54 times
Been thanked: 181 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Post by AreaScout » Thu Apr 16, 2020 4:12 am

    Yes it does, I have tested with Armbian Kernel 5.4.6 and it did work excellent

    RG

    soerenderfor
    Posts: 37
    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: 1 time
    Been thanked: 0
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Post by soerenderfor » Sun Apr 19, 2020 12:19 pm

    AreaScout wrote:
    Thu Apr 16, 2020 4:12 am
      Yes it does, I have tested with Armbian Kernel 5.4.6 and it did work excellent

      RG
      Thanks, i did find the .deb files you uploaded in the dev forum. Working flawless in Armbian.I was thinking if interest is there i can write a short "how to" install Unless you got time yourself? But i can help if you need it.

      Best Regards.

      User avatar
      AreaScout
      Posts: 1331
      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: 54 times
      Been thanked: 181 times
      Contact:

      Re: LCD Display Info and Monitoring Tool + Kodi install

      Post by AreaScout » Sat Apr 25, 2020 5:27 pm

        @soerenderfor

        That is nice, you could make a build instruction for the kernel and how to enable the LCD in the newest kernel 5.4.x if you want, HK is always open for a magazine article I would ask this guys https://magazine.odroid.com/contact

        RG

        soerenderfor
        Posts: 37
        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: 1 time
        Been thanked: 0
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by soerenderfor » Sat Apr 25, 2020 10:56 pm

        @AreaScout

        Super, i will see what i can come up with. And try to contact odroid magazine. Thanks.

        Best Regards

        fabiobrolo
        Posts: 4
        Joined: Thu May 07, 2020 11:12 am
        languages_spoken: english portuguese spanish
        ODROIDs: xu4, cloudshell2
        Has thanked: 0
        Been thanked: 0
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by fabiobrolo » Thu May 07, 2020 11:24 am

        Hi @AreaScout, I´ve installaed your latest version 17-1 in Armbian buster with Linux 4.14.176-odroidxu4 and OMV 5.4.3-1 with success, however is not displaying the temperature of my DISK in RAID0 and neither the RAID0 information.
        Follow the photo of my display and my disk information are attached.
        Do you have any idea in why the disk temperature is equals zero and not displaying the raid mode?
        smartctl.txt
        (22.44 KiB) Downloaded 9 times
        photo.jpg
        photo.jpg (78.75 KiB) Viewed 1385 times

        soerenderfor
        Posts: 37
        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: 1 time
        Been thanked: 0
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by soerenderfor » Thu May 07, 2020 1:53 pm

        @fabiobrolo - Which firmware version do you use?

        User avatar
        AreaScout
        Posts: 1331
        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: 54 times
        Been thanked: 181 times
        Contact:

        Re: LCD Display Info and Monitoring Tool + Kodi install

        Post by AreaScout » Thu May 07, 2020 2:03 pm

          @fabiobrolo

          Woho, that looks strange, can you show me the output of df -h ?

          P.S.: As soerenderfor already told, you have to have RAID Controller Firmware version >= v158.001.000.001 ! Normally all RAID Controller shipped should have it only the first once did not have it (I heard), I guess running the tool with command line switch -i will not work ? cloudshell2-monitoring -i if yes please flash firmware https://wiki.odroid.com/accessory/add-o ... re_upgrade

          RG

          fabiobrolo
          Posts: 4
          Joined: Thu May 07, 2020 11:12 am
          languages_spoken: english portuguese spanish
          ODROIDs: xu4, cloudshell2
          Has thanked: 0
          Been thanked: 0
          Contact:

          Re: LCD Display Info and Monitoring Tool + Kodi install

          Post by fabiobrolo » Fri May 08, 2020 8:31 am

          Hi @sorenderfor and @arescout
          I have installed the latest firmware v158.001.000.004. Do I have to downgrade to fix the issue?
          The result of the requested commands are:

          Code: Select all

          root@brolodc:~ # df -h
          Filesystem      Size  Used Avail Use% Mounted on
          udev            929M     0  929M   0% /dev
          tmpfs           200M   12M  188M   6% /run
          /dev/mmcblk1p1   29G  2.8G   26G  10% /
          tmpfs           998M  108K  998M   1% /dev/shm
          tmpfs           5.0M  4.0K  5.0M   1% /run/lock
          tmpfs           998M     0  998M   0% /sys/fs/cgroup
          tmpfs           998M     0  998M   0% /tmp
          folder2ram      998M  8.1M  990M   1% /var/log
          folder2ram      998M     0  998M   0% /var/tmp
          folder2ram      998M  376K  998M   1% /var/lib/openmediavault/rrd
          folder2ram      998M  624K  998M   1% /var/spool
          folder2ram      998M   15M  984M   2% /var/lib/rrdcached
          folder2ram      998M  4.0K  998M   1% /var/lib/monit
          folder2ram      998M  1.3M  997M   1% /var/cache/samba
          /dev/sda        3.6T  725G  2.7T  21% /srv/dev-disk-by-id-usb-ODROID_ODROID_DB01234567E2-0-0
          overlay          29G  2.8G   26G  10% /var/lib/docker/overlay2/8d88e244471b3b198991b0fc938df7369110a31639f50f8a50af36f1fe1e8aa0/merged
          tmpfs           200M     0  200M   0% /run/user/0
          root@brolodc:~ # cloudshell2-monitoring -i
          
          Check "/dev/sda" ...
          
            Get chip info ...
          
              Firmware version = 158.01.00.04
              Manufacturer     = JMicron Technology Corp.
              Product name     = JMS56X H/W RAID
              Serial number    = 427491329
          
            Get SATA info ...
          
              SATA Port 0
          
                Port type = 0 (No Device)
          
              SATA Port 1
          
                Model name        = WDC WD40EFRX-68N32N0
                Serial number     =      WD-WCC7K1JKYRER
                Capacity          = 3726.00 GB
                Port type         = 2 (RAID Disk)
                Port speed        = 3 (Gen 3)
                Page 0 state      = 2 (Hooked to PM)
                RAID index        = 0
                RAID member index = 0
                Port              = 15
          
            Get RAID port 0 info ...
          
              Model name       = WDC WD40EFRX-68N32N0
              Serial number    =      WD-WCC7K1JKYRER
              Port state       = 129
              Level            = 0 (RAID 0)
              Capacity         = 3726.00 GB
              State            = 3 (Normal)
              Member count     = 1
              Rebuild priority = 4096 (Medium)
              Standby timer    = 0 sec
              Password         =
              Rebuild progress = 0.00 %
          
              Member 0
          
                Ready         = 1
                LBA48 support = 1
                SATA port     = 1
                SATA page     = 0
                SATA base     = 0
                SATA size     = 3726.00 GB
          
            Get RAID port 1 info ...
          
              Port state = 0
          
            Get SMART info (disk 1) ...
          
              ID# | FLAG |THRES|VALUE|WORST| RAW_VALUE_H  | RAW_VALUE       | ATTRIBUTE_NAME
          
                1 | 002F |  51 | 200 | 200 | 000000000000 |               0 | Raw Read Error Rate (Vendor specific)
                3 | 0027 |  21 | 159 | 158 | 000000001B68 |            7016 | Spin Up Time
                4 | 0032 |   0 | 100 | 100 | 000000000226 |             550 | Start/Stop Count
                5 | 0033 | 140 | 200 | 200 | 000000000000 |               0 | Reallocated Sectors Count
                7 | 002E |   0 | 200 | 200 | 000000000000 |               0 | Seek Error Rate (Vendor specific)
                9 | 0032 |   0 |  74 |  74 | 000000004AE9 |           19177 | Power-On Time Count
               10 | 0032 |   0 | 100 | 100 | 000000000000 |               0 | Spin Retry Count
               11 | 0032 |   0 | 100 | 100 | 000000000000 |               0 | Drive Calibration Retry Count
               12 | 0032 |   0 | 100 | 100 | 00000000018D |             397 | Drive Power Cycle Count
              192 | 0032 |   0 | 200 | 200 | 00000000012A |             298 | Power off Retract Cycle
              193 | 0032 |   0 | 198 | 198 | 0000000022DE |            8926 | Load/Unload Cycle Count
              194 | 0022 |   0 | 111 | 103 | 000000000027 |              39 | HDD Temperature
              196 | 0032 |   0 | 200 | 200 | 000000000000 |               0 | Reallocation Event Count
              197 | 0032 |   0 | 200 | 200 | 000000000000 |               0 | Current Pending Sector Count
              198 | 0030 |   0 | 200 | 200 | 000000000000 |               0 | Off-Line Uncorrectable Sector Count
              199 | 0032 |   0 | 200 | 199 | 000000000013 |              19 | Ultra ATA CRC Error Count
              200 | 0008 |   0 | 200 | 200 | 000000000000 |               0 | Write Error Rate
          Last edited by fabiobrolo on Sat May 09, 2020 4:46 am, edited 1 time in total.

          soerenderfor
          Posts: 37
          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: 1 time
          Been thanked: 0
          Contact:

          Re: LCD Display Info and Monitoring Tool + Kodi install

          Post by soerenderfor » Fri May 08, 2020 1:26 pm

          @fabiobrolo - Yes, try downgrade to ( v158.001.000.001 ) and please report back, thanks.

          - I know you run in RAID mode, but to inform - If the machine run in PM mode only 1 disk will show temps.
          - There has been a bug relatede to SMART info on OMV5 - If the downgrading do not fix your problem, try this also ( github.com/Virusmater/OdroidXU4-Cloudshell2-OMV )

          User avatar
          AreaScout
          Posts: 1331
          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: 54 times
          Been thanked: 181 times
          Contact:

          Re: LCD Display Info and Monitoring Tool + Kodi install

          Post by AreaScout » Fri May 08, 2020 4:35 pm

            @fabiobrolo

            I can't try RAID0 with my tool because I only have one CloudShell2 in RAID1 mode and I can't disband it because I would have to backup data then :lol: but it is expected to get the RAID controller data like in RAID1 mode

            Flashing an older version wont solve your problem I think

            https://pastebin.com/nRpWw0Fm

            Ok here is my assumption:

            There is no disk detected on Port 0 Port type = 0 (No Device) and the RAID controller reports a RAID member count of 1 Member count = 1 (only one disk), so that's why my tool thinks the RAID controller is in PM mode. (See my RAID controller config dump how the controller reports two disk members)

            Please check two things:
            1. From the left side on the cloudshell2, look if both disks are touching the RAID controller board completely, it is possible that you have tighten the screws but the hard disk has not locked into the SATA SLOT
            2. Port 0 is the bottom one, is this disk warm ? On the front there are two leds, is the bottom red led on ?

            RG

            soerenderfor
            Posts: 37
            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: 1 time
            Been thanked: 0
            Contact:

            Re: LCD Display Info and Monitoring Tool + Kodi install

            Post by soerenderfor » Fri May 08, 2020 4:58 pm

            I run with RAID0 - Both disk report temps on the screen, no problems at all.

            User avatar
            AreaScout
            Posts: 1331
            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: 54 times
            Been thanked: 181 times
            Contact:

            Re: LCD Display Info and Monitoring Tool + Kodi install

            Post by AreaScout » Fri May 08, 2020 5:36 pm

              @soerenderfor

              I know in general it's working with RAID0 but not the combination with the latest firmware ;)

              @odroid @all

              I have now flashed Ubuntu 18.04 minimal and are using the same kernel version @fabiobrolo is using, there are the same kernel error's like @Tenaja is facing AND my sda is always disconnecting

              Code: Select all

              [    7.002111] ------------[ cut here ]------------
              [    7.005291] WARNING: CPU: 7 PID: 235 at drivers/spi/spidev.c:733 spidev_probe+0x104/0x1e8 [spidev]
              [    7.014215] /soc/spi@12d30000/spidev@0: buggy DT: spidev listed directly in DT
              [    7.021394] Modules linked in: spidev(+) spi_s3c64xx ip_tables ipv6 sd_mod uas usb_storage scsi_mod extcon_usb_gpio
              [    7.031797] CPU: 7 PID: 235 Comm: systemd-modules Not tainted 4.14.176-174 #1
              [    7.038866] Hardware name: ODROID-XU4
              [    7.042520] [<c0110600>] (unwind_backtrace) from [<c010c634>] (show_stack+0x10/0x14)
              [    7.050231] [<c010c634>] (show_stack) from [<c08b4040>] (dump_stack+0x94/0xa8)
              [    7.050240] [<c08b4040>] (dump_stack) from [<c0123fd4>] (__warn+0xec/0x104)
              [    7.064347] [<c0123fd4>] (__warn) from [<c0124024>] (warn_slowpath_fmt+0x38/0x48)
              [    7.071803] [<c0124024>] (warn_slowpath_fmt) from [<bf0ff258>] (spidev_probe+0x104/0x1e8 [spidev])
              [    7.080740] [<bf0ff258>] (spidev_probe [spidev]) from [<c05d97f8>] (spi_drv_probe+0x7c/0xa8)
              [    7.089137] [<c05d97f8>] (spi_drv_probe) from [<c05a7a30>] (driver_probe_device+0x284/0x464)
              [    7.097538] [<c05a7a30>] (driver_probe_device) from [<c05a7d10>] (__driver_attach+0x100/0x11c)
              [    7.106115] [<c05a7d10>] (__driver_attach) from [<c05a5b94>] (bus_for_each_dev+0x4c/0x9c)
              [    7.114260] [<c05a5b94>] (bus_for_each_dev) from [<c05a6d58>] (bus_add_driver+0x1c0/0x264)
              [    7.122492] [<c05a6d58>] (bus_add_driver) from [<c05a8970>] (driver_register+0x78/0xf4)
              [    7.130465] [<c05a8970>] (driver_register) from [<bf105094>] (spidev_init+0x94/0x1000 [spidev])
              [    7.139139] [<bf105094>] (spidev_init [spidev]) from [<c0101b88>] (do_one_initcall+0x54/0x188)
              [    7.139146] [<c0101b88>] (do_one_initcall) from [<c01aab98>] (do_init_module+0x64/0x1f4)
              [    7.155768] [<c01aab98>] (do_init_module) from [<c01a98e4>] (load_module+0x1fc8/0x2680)
              [    7.163738] [<c01a98e4>] (load_module) from [<c01aa1f0>] (SyS_finit_module+0xb4/0xec)
              [    7.171539] [<c01aa1f0>] (SyS_finit_module) from [<c01085c0>] (ret_fast_syscall+0x0/0x54)
              [    7.179715] ---[ end trace 521c68a593899225 ]---
              [    7.188637] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
              [    7.200850] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
              [    7.209605] spidev spi1.0: spidev spi1.0 1000kHz 8 bits mode=0x00
              [    7.215433] spi spi1.1: ads7846 spi1.1 1000kHz 8 bits mode=0x00
              [    7.221385] spidev spi1.0: Deleting spi1.0
              [    7.225690] fbtft_device: GPIOS used by 'hktft9340':
              [    7.230271] fbtft_device: 'reset' = GPIO21
              [    7.234338] fbtft_device: 'dc' = GPIO22
              [    7.238147] fbtft_device: 'led' = GPIO18
              [    7.242051] spi spi1.1: ads7846 spi1.1 1000kHz 8 bits mode=0x00
              [    7.247953] spi spi1.0: fb_ili9340 spi1.0 30000kHz 8 bits mode=0x00
              [    7.719571] systemd-journald[244]: Received request to flush runtime journal from PID 1
              [    7.728210] systemd-journald[244]: File /var/log/journal/dc87f36fc06c441a85ff7269ba4d50fb/system.journal corrupted or uncleanly shut down, renaming and replacing.
              [    8.144550] gpiomem-exynos 13400000.gpiomem: Initialised: GPIO register area is 2
              [    8.144678] gpiomem-exynos 13400000.gpiomem: Initialised: Registers at 0x13400000
              [    8.144683] gpiomem-exynos 13400000.gpiomem: Initialised: Registers at 0x14010000
              [    8.157404] input: gpio_keys as /devices/platform/gpio_keys/input/input0
              [    8.241791] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
              [    8.459442] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
              [    8.506649] random: crng init done
              [    8.506659] random: 7 urandom warning(s) missed due to ratelimiting
              [    8.536137] sd 0:0:0:0: Attached scsi generic sg0 type 0
              [    8.732372] Console: switching to colour frame buffer device 40x15
              [    8.732572] graphics fb0: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB buffer memory, fps=20, spi1.0 at 30 MHz
              [   10.925239] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
              [   10.930677] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
              [   10.956027] r8152 6-1:1.0 eth0: carrier on
              [   10.956091] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
              [   11.255800]  sda: sda1
              [   12.308614]  sda: sda1
              [   73.346921]  sda: sda1
              [  134.381084]  sda: sda1
              [  195.153896]  sda: sda1
              [  256.430369]  sda: sda1
              [  317.706803]  sda: sda1
              [  378.984010]  sda: sda1
              [  440.756928]  sda: sda1
              [  501.547989]  sda: sda1
              [  563.423917]  sda: sda1
              [  625.059683]  sda: sda1
              

              No problem on OMV4 with kernel 5.4.6 !

              RG

              User avatar
              odroid
              Site Admin
              Posts: 34127
              Joined: Fri Feb 22, 2013 11:14 pm
              languages_spoken: English, Korean, Japanese
              ODROIDs: ODROID
              Has thanked: 670 times
              Been thanked: 614 times
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by odroid » Fri May 08, 2020 7:28 pm

              We could reproduce the issue and we are working on it.
              But we need one ore two weeks to resolve the problem.
              These users thanked the author odroid for the post:
              AreaScout (Sat May 09, 2020 5:37 pm)

              dabarsa87
              Posts: 188
              Joined: Tue Feb 23, 2016 5:06 am
              languages_spoken: spanish
              Has thanked: 0
              Been thanked: 1 time
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by dabarsa87 » Fri May 08, 2020 8:46 pm

              Could it be that this magnificent project that is in OMV4 was updated to OMV5? Would it be profitable and bring improvements? Would it be compatible with odroid xu4 and couldshell 2?

              Enviado desde mi SM-G930F mediante Tapatalk


              User avatar
              AreaScout
              Posts: 1331
              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: 54 times
              Been thanked: 181 times
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by AreaScout » Sat May 09, 2020 1:34 am

              @dabarsa87

              You can already use OMV5 there is a howto somewhere in this sub-forum, I will wait until kernel 5.4.x will work with overlay (boot.ini) and then I will update this tutorial or made a new one

              RG

              User avatar
              AreaScout
              Posts: 1331
              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: 54 times
              Been thanked: 181 times
              Contact:

              Re: LCD Display Info and Monitoring Tool + Kodi install

              Post by AreaScout » Sat May 09, 2020 1:37 am

                @all

                New version 1.0.18-1 is online: (Backup your current settings before installing)

                cloudshell2 LCD display and monitoring tool 1.0.18
                • Add LCD back light timer, you can now program when the LCD back light should turn off and on :)
                • Add the possibility to let the hard drive spin down when the LCD is off
                Usage:

                Settings inside /etc/cloudshell2-monitoring/cloudshell2-monitoring.conf

                We want to disable the LCD back light in the evening because we don't want the room to be light up from the display

                Code: Select all

                LCD_BACKLIGHT_ON=08:00
                LCD_BACKLIGHT_OFF=23:00
                
                We want the hard disk drives to spin down in the evening, the RAID controller will only be readout when the LCD is on

                Code: Select all

                LCD_OFF_SPINDOWN=ON
                
                RG
                These users thanked the author AreaScout for the post:
                rooted (Sat May 09, 2020 2:53 am)

                User avatar
                rooted
                Posts: 7606
                Joined: Fri Dec 19, 2014 9:12 am
                languages_spoken: english
                Location: Gulf of Mexico, US
                Has thanked: 665 times
                Been thanked: 177 times
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by rooted » Sat May 09, 2020 2:53 am

                Nice, I've been using a cron job to turn off the display and service at 10 PM and on at 8 AM.
                These users thanked the author rooted for the post:
                AreaScout (Sat May 09, 2020 3:05 pm)

                fabiobrolo
                Posts: 4
                Joined: Thu May 07, 2020 11:12 am
                languages_spoken: english portuguese spanish
                ODROIDs: xu4, cloudshell2
                Has thanked: 0
                Been thanked: 0
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by fabiobrolo » Sat May 09, 2020 5:20 am

                Hi @AreaScout and @soerenderfor
                My RAID configuration is PM and not RAID0 as I mentioned before. I have just one hard disk. Sorry for the confusion.
                The bottom led is red all the time. Is this a problem?
                I´ve tried the procedure available in https://github.com/Virusmater/OdroidXU4-Cloudshell2-OMV. The result of the command ./chop_smart_info.sh is:

                Code: Select all

                root@brolodc:~ #  ./chop_smart_info.sh
                Okay. You did it already. You don't need to try it
                Okay. You did it already. You don't need to try it
                Okay. You did it already. You don't need to try it
                
                However adding the line
                usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x152d:0x0561:u
                in the file /boot/armbianEnv.txt was not recognizing my disk at all. The dmesg output using this usbstoragequirks is attached.
                dmesg.log
                (36.92 KiB) Downloaded 8 times
                Do you have any idea in what else I can try? Maybe waiting the new kernel?

                dabarsa87
                Posts: 188
                Joined: Tue Feb 23, 2016 5:06 am
                languages_spoken: spanish
                Has thanked: 0
                Been thanked: 1 time
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by dabarsa87 » Sat May 09, 2020 5:59 am

                AreaScout wrote:@dabarsa87

                You can already use OMV5 there is a howto somewhere in this sub-forum, I will wait until kernel 5.4.x will work with overlay (boot.ini) and then I will update this tutorial or made a new one

                RG
                Thanks, I'll wait for you to publish it, I like your system and how you help people without knowledge like me. Keep it up crack

                Enviado desde mi SM-G930F mediante Tapatalk

                These users thanked the author dabarsa87 for the post:
                AreaScout (Sat May 09, 2020 4:21 pm)

                maki26
                Posts: 31
                Joined: Sat Jan 19, 2019 4:25 am
                languages_spoken: english, polish
                ODROIDs: XU4 + Cloudshell 2
                Has thanked: 6 times
                Been thanked: 3 times
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by maki26 » Sat May 09, 2020 2:31 pm

                [mention]fabiobrolo [/mention]

                I saw that Your uas is blacklisted (don’t know why). So check if You add it to blacklist or install smartmontools.

                As i remember if controller is working as uas then speed also is different. Can be that Your temps will be shown after

                User avatar
                AreaScout
                Posts: 1331
                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: 54 times
                Been thanked: 181 times
                Contact:

                Re: LCD Display Info and Monitoring Tool + Kodi install

                Post by AreaScout » Sat May 09, 2020 3:15 pm

                  @rooted

                  Yes, I was using a cron job too, but it was too poor, e.g if I had the CloudShell2 turned off at 8:00h a cronjob set to 8:00h to turn on the LCD could not finished, now it's way better and the drives do spin down at night if you wish, which makes really sense in some cases. When spin down is allowed, the CS2 is still temperature and fan controlled, only RAID status and hard disk temperatures are not read out at that time.

                  @fabiobrolo

                  So your only problem left is that the hard disk temperature for your single hard disk inside the CS2 case is not shown ? Just swap the disk from sata port 1 to sata port 0 which is the bottom one

                  RG

                  fabiobrolo
                  Posts: 4
                  Joined: Thu May 07, 2020 11:12 am
                  languages_spoken: english portuguese spanish
                  ODROIDs: xu4, cloudshell2
                  Has thanked: 0
                  Been thanked: 0
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by fabiobrolo » Sun May 10, 2020 12:46 am

                  Hi @arescout and @soerenderfor
                  Changing my hard drive to sata port 0 solved the problem. Thanks for the help.

                  soerenderfor
                  Posts: 37
                  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: 1 time
                  Been thanked: 0
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by soerenderfor » Sun May 10, 2020 12:55 am

                  @fabiobrolo - Happy to hear, have a good day.

                  User avatar
                  odroid
                  Site Admin
                  Posts: 34127
                  Joined: Fri Feb 22, 2013 11:14 pm
                  languages_spoken: English, Korean, Japanese
                  ODROIDs: ODROID
                  Has thanked: 670 times
                  Been thanked: 614 times
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by odroid » Mon May 11, 2020 3:09 pm

                  AreaScout wrote:
                  Fri May 08, 2020 5:36 pm
                  @odroid @all
                  I have now flashed Ubuntu 18.04 minimal and are using the same kernel version @fabiobrolo is using, there are the same kernel error's like @Tenaja is facing AND my sda is always disconnecting

                  Code: Select all

                  [    7.002111] ------------[ cut here ]------------
                  [    7.005291] WARNING: CPU: 7 PID: 235 at drivers/spi/spidev.c:733 spidev_probe+0x104/0x1e8 [spidev]
                  [    7.014215] /soc/spi@12d30000/spidev@0: buggy DT: spidev listed directly in DT
                  [    7.021394] Modules linked in: spidev(+) spi_s3c64xx ip_tables ipv6 sd_mod uas usb_storage scsi_mod extcon_usb_gpio
                  [    7.031797] CPU: 7 PID: 235 Comm: systemd-modules Not tainted 4.14.176-174 #1
                  [    7.038866] Hardware name: ODROID-XU4
                  [    7.042520] [<c0110600>] (unwind_backtrace) from [<c010c634>] (show_stack+0x10/0x14)
                  [    7.050231] [<c010c634>] (show_stack) from [<c08b4040>] (dump_stack+0x94/0xa8)
                  [    7.050240] [<c08b4040>] (dump_stack) from [<c0123fd4>] (__warn+0xec/0x104)
                  [    7.064347] [<c0123fd4>] (__warn) from [<c0124024>] (warn_slowpath_fmt+0x38/0x48)
                  [    7.071803] [<c0124024>] (warn_slowpath_fmt) from [<bf0ff258>] (spidev_probe+0x104/0x1e8 [spidev])
                  [    7.080740] [<bf0ff258>] (spidev_probe [spidev]) from [<c05d97f8>] (spi_drv_probe+0x7c/0xa8)
                  [    7.089137] [<c05d97f8>] (spi_drv_probe) from [<c05a7a30>] (driver_probe_device+0x284/0x464)
                  [    7.097538] [<c05a7a30>] (driver_probe_device) from [<c05a7d10>] (__driver_attach+0x100/0x11c)
                  [    7.106115] [<c05a7d10>] (__driver_attach) from [<c05a5b94>] (bus_for_each_dev+0x4c/0x9c)
                  [    7.114260] [<c05a5b94>] (bus_for_each_dev) from [<c05a6d58>] (bus_add_driver+0x1c0/0x264)
                  [    7.122492] [<c05a6d58>] (bus_add_driver) from [<c05a8970>] (driver_register+0x78/0xf4)
                  [    7.130465] [<c05a8970>] (driver_register) from [<bf105094>] (spidev_init+0x94/0x1000 [spidev])
                  [    7.139139] [<bf105094>] (spidev_init [spidev]) from [<c0101b88>] (do_one_initcall+0x54/0x188)
                  [    7.139146] [<c0101b88>] (do_one_initcall) from [<c01aab98>] (do_init_module+0x64/0x1f4)
                  [    7.155768] [<c01aab98>] (do_init_module) from [<c01a98e4>] (load_module+0x1fc8/0x2680)
                  [    7.163738] [<c01a98e4>] (load_module) from [<c01aa1f0>] (SyS_finit_module+0xb4/0xec)
                  [    7.171539] [<c01aa1f0>] (SyS_finit_module) from [<c01085c0>] (ret_fast_syscall+0x0/0x54)
                  [    7.179715] ---[ end trace 521c68a593899225 ]---
                  
                  The Kernel warning message was caused by a mismatched device node name. According to our test results, it didn't affect the USB storage stability.
                  Anyway, we already fixed the same cosmetic issue in Kernel 5.4 last November. ;)
                  https://github.com/hardkernel/linux/com ... 30607bf632

                  I hope we will release a Ubuntu 20.04 image based on Kernel 5.4 for XU4/HC1/HC2/MC1 in two or three months.
                  These users thanked the author odroid for the post (total 2):
                  mad_ady (Mon May 11, 2020 3:41 pm) • AreaScout (Mon May 11, 2020 8:28 pm)

                  mstumpel
                  Posts: 2
                  Joined: Fri Jan 03, 2020 4:34 pm
                  languages_spoken: english
                  Has thanked: 0
                  Been thanked: 0
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by mstumpel » Fri May 15, 2020 10:55 pm

                  Hi,

                  since the update to V1.0.18-1 my OMV system log is filled with this sequence of logs:

                  May 15 00:00:13 stumpel-server start-lcd[658]: df: '/dev/mmcblk*p2': No such file or directory
                  May 15 00:00:44 stumpel-server start-lcd[658]: df: '/dev/mmcblk*p2': No such file or directory
                  May 15 00:00:48 stumpel-server start-lcd[658]: can't open device: No such file or directory
                  May 15 00:00:48 stumpel-server start-lcd[658]: jmraid_open failed
                  May 15 00:00:48 stumpel-server start-lcd[658]: jmraid_detect_vendor_id failed
                  May 15 00:00:48 stumpel-server start-lcd[658]: jmraid_get_sata_info failed
                  May 15 00:00:48 stumpel-server start-lcd[658]: jmraid_get_raid_port_info failed
                  May 15 00:01:14 stumpel-server start-lcd[658]: df: '/dev/mmcblk*p2': No such file or directory
                  May 15 00:01:45 stumpel-server start-lcd[658]: df: '/dev/mmcblk*p2': No such file or directory
                  May 15 00:01:49 stumpel-server start-lcd[658]: can't open device: No such file or directory

                  It looks as if the start-lcd is looking for an mmcblk*p2 device which is not there, also it checking for raid but I do not have any raid configured on my cloudshell2.

                  How can I disable looking for these 2 items to avoid loading my logs

                  Regards,

                  User avatar
                  mad_ady
                  Posts: 7898
                  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: 498 times
                  Been thanked: 348 times
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by mad_ady » Sat May 16, 2020 12:35 am

                  You'll need to edit the script, find the lines that cause trouble and add a 2>/dev/null to the command so the errors go to null instead of stderr.

                  User avatar
                  rooted
                  Posts: 7606
                  Joined: Fri Dec 19, 2014 9:12 am
                  languages_spoken: english
                  Location: Gulf of Mexico, US
                  Has thanked: 665 times
                  Been thanked: 177 times
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by rooted » Sat May 16, 2020 1:45 am

                  mad_ady wrote:You'll need to edit the script, find the lines that cause trouble and add a 2>/dev/null to the command so the errors go to null instead of stderr.
                  Unfortunately it's not that simple, it's a compiled binary.

                  User avatar
                  AreaScout
                  Posts: 1331
                  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: 54 times
                  Been thanked: 181 times
                  Contact:

                  Re: LCD Display Info and Monitoring Tool + Kodi install

                  Post by AreaScout » Sat May 16, 2020 1:26 pm

                    @mstumpel

                    That's a different problem you are facing, not my new version, that means that it does not find the RAID controller as if it's completely missing and it does not find a SD nor eMMC partition, please show me the output of df -h and what distro you are using.

                    edit: Maybe two instances of the tool are running at the same time ?

                    RG

                    User avatar
                    odroid
                    Site Admin
                    Posts: 34127
                    Joined: Fri Feb 22, 2013 11:14 pm
                    languages_spoken: English, Korean, Japanese
                    ODROIDs: ODROID
                    Has thanked: 670 times
                    Been thanked: 614 times
                    Contact:

                    Re: LCD Display Info and Monitoring Tool + Kodi install

                    Post by odroid » Tue May 19, 2020 6:31 pm

                    That SPI warning message will disappear once you update the kernel to 4.14.180-176.

                    Post Reply

                    Return to “CloudShell”

                    Who is online

                    Users browsing this forum: No registered users and 1 guest