Odroid N2 + Coreelec "hijackes" ARC signal

Post Reply
Eneko
Posts: 6
Joined: Thu Sep 08, 2016 6:27 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Odroid N2 + Coreelec "hijackes" ARC signal

Post by Eneko »

Hi everyone.

I've been searching the internet for many days now to solve a problem I have with my Odroid N2 with Coreelec 9.2.2. installed.

At random intervals, all of a sudden the connection between my TV and my receiver which are connected by HDMI eARC seems to get completely lost. No sounds gets send back from the tv and CEC functionality is gone, when I turn of the TV, the receiver stays on. The ONLY way to get it working again is rebooting my connected Kodi (N2+Coreelec).

I've read this happens to more people and it seems CEC and/or ARC is kind of hijacked by the Odroid N2. Turning everything related to CEC completely off (Kodi Adapter, Coreelec CEC settings and editing /flash/config.ini) doesn't seem to fix the issue. Someone in Coreelec forum said that this is a U-Boot problem and that there is NO fix. I find this hard to accept :D :D

Anybody familiar with this issue? What is U-Boot? How is U-Boot managed??

Thanks a million for any help.

maikvitesse
Posts: 2
Joined: Mon Jul 27, 2020 8:12 pm
languages_spoken: english dutch
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by maikvitesse »

CEC implementation is indeed not implemented as it should be (i think atleast, because it caused lot's of issues for me).
I fixed the CEC issues by ordering a HDMI CEC killer, this works fine!

I also want to know how to correctly disable CEC in UBOOT.
Never got that to work.

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

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by rooted »

@joy Is there any way to disable CEC at uboot level?

User avatar
tobetter
Posts: 7360
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 411 times
Been thanked: 1120 times
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by tobetter »

Can you share the output of /proc/cmdline after booting?

EDIT: you can set NULL to "cec_func_config" in the boot.ini or config.ini. So eventually when you run "cat /proc/cmdline" you must not have "hdmitx=cec*".

EDIT: I found the same topic in the CoreELEC forum.
https://discourse.coreelec.org/t/comman ... -ini/11994

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

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by rooted »

According to the thread tobetter linked you can try a newer version of libcec by doing this and rebooting:

Code: Select all

 touch /storage/.config/libcec-4.0.5.conf 

maikvitesse
Posts: 2
Joined: Mon Jul 27, 2020 8:12 pm
languages_spoken: english dutch
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by maikvitesse »

Already had disabled CEC in kodi and in the config.ini file.
This did not solve the issue for me.
I will try your suggestions tomorrow! thanks for the help so far.

Raybuntu
Posts: 1418
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by Raybuntu »

This might not be entirely a uboot problem. You can disable CEC through config.ini but you also need to disable libcec.
I am also affected by this issue and it normally happens when the device is not in poweroff or suspend but running.

arekm
Posts: 4
Joined: Fri Feb 06, 2015 4:47 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by arekm »

I also have this problem. Rebooting N2 doesn't always fix the problem unfortunately which makes this problem a big pain.

In my case LG C9 connected to Onkyo TX-NR686 and N2 connected to C9.

When this issue happens my Onkyo starts thinking that it is getting analog audio (shows that on LCD after pressing "I" on remote) which looks like (my guess) N2 is sending some audio related configuration information over CEC which switches mode in Onkyo to that wrong one.

Didn't figure out a way to prevent N2 from doing that.

arekm
Posts: 4
Joined: Fri Feb 06, 2015 4:47 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by arekm »

As a workaround I'm using such script to get audio working again. I need to run it once or twice but it does the job.

Code: Select all

echo "tx 5f:72:01" | cec-client -s
According to https://www.cec-o-matic.com/ this command is "from Audio system" (5) to "broadcast" (f) -> "Set system audio mode" (72) -> "On" (01)

(message ID : 72 - Turns the System Audio Mode On or Off (Directly addressed or Broadcast))

From my observation problem with loosing audio sometimes happens when n2 gets back from suspend to ram - that's when n2/kernel/kodi sends something over cec which confuses my onkyo.

/storage/arekm/restart-cec.sh:

Code: Select all

#!/bin/sh

echo "tx 5f:72:01" | cec-client -s
sleep 5
echo "tx 5f:72:01" | cec-client -s
/storage/.config/system.d/restart-cec.service

Code: Select all

[Unit]
Description=restart cec
After=suspend.target

[Service]
User=root
Type=oneshot
ExecStart=/storage/arekm/restart-cec.sh
TimeoutSec=0
StandardOutput=syslog

[Install]
WantedBy=suspend.target
Enable service:

Code: Select all

# systemctl enable restart-cec.service
These users thanked the author arekm for the post:
odroid (Mon Feb 15, 2021 11:07 am)

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

Re: Odroid N2 + Coreelec "hijackes" ARC signal

Post by rooted »

That's a respectable workaround, good job.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest