LCD Display Info and Monitoring Tool + Kodi install

User avatar
AreaScout
Posts: 846
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
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Sat Apr 13, 2019 7:51 pm

maki26 wrote:
Sat Apr 13, 2019 4:46 am
@AreaScout thank You for updated LCD tool.

I had installed Kodi as well, it's working as should, but now I tried to activate CEC and I'm lost.

1. actvate CEC in boot.ini
2. installed cec-utils
no results

cec-client -l
libCEC version: 4.0.1, compiled on Linux-3.16.0-4-armmp-lpae ... , features: P8_USB, DRM, P8_detect, randr
Found devices: NONE

3. install libcec4_4.0.2.1_xenialubuntu1hk1_armhf.deb
libCEC version: 4.0.2, git revision: v4l2linuxbuild+1-d1f106b~dirty, compiled on Seg Dez 4 16:49:34 UTC 2017 by root@1604_builder_armhf on Linux 3.10.96+ (armv7l), features: P8_USB, DRM, P8_detect, randr, Exynos, Linux
Found devices: NONE

meantime compile whole CEC from https://wiki.odroid.com/odroid-xu4/soft ... rom_source
still no /dev/cec0 adapter, so no cec in kodi as well. Maybe You can gave me some "trick" to get it work.
To use CEC on OpenMediaVault you have to patch and build the kernel, here is a small instruction how to do so, you can build the kernel packages on Windows 10 with Ubuntu bash as well as on any intel based x32/x64 machine running Linux with the build system of armbian

First we need to checkout the build system with

Code: Select all

git clone https://github.com/armbian/build.git
then you have to edit the kernel config to enable CEC config/kernel/linux-odroidxu4-default.config and add this five lines

Code: Select all

CONFIG_MEDIA_CEC_SUPPORT=y
CONFIG_CEC_CORE=y
CONFIG_CEC_NOTIFIER=y
CONFIG_CEC_PLATFORM_DRIVERS=y
CONFIG_VIDEO_SAMSUNG_S5P_CEC=y
and build with:

Code: Select all

./compile.sh BOARD=odroidxu4 BRANCH=default KERNEL_ONLY=yes
Just hit enter whenever the script ask you and if it's finished you have a kernel as well as kernel-headers deb package inside the output directory, this of course can then be installed with dpkg on OMV

I have tested it some month ago and it works, but I still prefer a bluetooth mini keyboard for kodi, it's 100 times easier to handle, for example searching the Netflix database with TV remote and onscreen keyboard is a pain

p.s.: If you enable the "enable adjust display refresh rate" feature inside kodi it will disable CEC that's a "bug" in 4.14 and that feature is a must to enable, the movie quality is way better with it

RG

User avatar
AreaScout
Posts: 846
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
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Tue Apr 16, 2019 8:54 pm

    Just a side note, to make it compile on WSL (Ubuntu) under Windows 10 you need that patch ...

    Code: Select all

    diff --git a/lib/general.sh b/lib/general.sh
    index 138fb1e4..c8997712 100644
    --- a/lib/general.sh
    +++ b/lib/general.sh
    @@ -564,9 +564,9 @@ prepare_host()
                    fi
            fi
    
    -       if grep -qE "(Microsoft|WSL)" /proc/version; then
    -               exit_with_error "Windows subsystem for Linux is not a supported build environment"
    -       fi
    +       #if grep -qE "(Microsoft|WSL)" /proc/version; then
    +       #       exit_with_error "Windows subsystem for Linux is not a supported build environment"
    +       #fi
    
            grep -q i386 <(dpkg --print-foreign-architectures) || dpkg --add-architecture i386
            if systemd-detect-virt -q -c; then
    
    ...and fire up this command before start compiling

    Code: Select all

    sudo update-alternatives --set fakeroot /usr/bin/fakeroot-tcp
    
    RG

    Post Reply

    Return to “CloudShell”

    Who is online

    Users browsing this forum: No registered users and 1 guest