CEC: active source switching not working in Kodi

Not really, best get a cheap UART TTL/USB adapter from eBay and make a log.

Ok for now I will downgrade to a older nightly when it was working… is there a problem with coreelec.pokey.de? Downloads are all corrupted using chrome browser and using edge browser opens a long page of random text instead of downloading builds

I couldn’t get any of the archive builds from coreelec.pokey to install, they all seem to be corrupted so I downloaded stable 9.2.1 and CEC is back to working normally again

You have to give more detail, what is normal? What is with nightly? Wake up? CEC in Kodi?

Normal = CEC works all the time, after switching source on tv and then switching back to CE CEC still works,

Latest nightly= CEC works on first boot, after changing source on tv and then switching back to CE CEC stops working

On latest nightly when CEC stops working if I use kodi mobile remote app on iPhone and go to SYSTEM>INPUT>PERIPHERALS and disable then enable CEC it starts working again until next source switch

Ahh, ok. Then it was never a bl301 issue, it’s a CEC driver and/or libCEC issue.
You can enable debug logging in Kodi settings and enable the debug module libCEC.
Then restart your vim3 and try again with stable.
Then update the system with the nightly tar and try one more time.
After each try you can use this option to upload your debug files (before rebooting):

When finished you can downgrade to stable again and disable debug logging in Kodi.

Yes bl301 is not to blame sorry, I assumed it was since it was the only Other thing I changed and I didn’t suspect the nightly update at the time.

I am away from home now but when i am back I will gather logs and upload them

Thanks for your time and help with this issue I appreciate it!

i have created some debug logs, i used 04/02 nightly and 9.2.1 stable.

first i install 9.2.1 stable, navigate to dubug logging and enable CEClibary i then switch tv source and then switch back to CE, CEC is still working. i navigate to settings/coreelec and upload logs.

i then install 04/02 nightly. i check CEClibary debug logging already activated. i switch tv source and then switch back to CE, CEC is STOPPED working. i use iphone kodi mobile remote app to navigate to settings/coreelec and upload logs

logs for stable 9.2.1 (CEC WORKING) : http://ix.io/2aP3
logs for nightly 04/02 (CEC BROKEN) : http://ix.io/2aP5

hopefully ive done it correctly, if you need any more information or logs just let me know.

2 Likes

Can u please make again a log with 9.2.1, enable debug and libCEC, reboot and then do the test again.
I am missing some information on first log with 9.2.1 as u didn’t reboot before after switching on debug logging.

EDIT:
Please remove your cec config also to get default settings by a ssh connection:

rm /storage/.kodi/userdata/peripheral_data/cec_CEC_Adapter.xml
sync
reboot

Or remove the cec_CEC_Adapter.xml in /userdata/peripheral_data.
thx!

i have made a new log, first i ran ssh command to remove CEC config and it rebooted, i then enabled debugging and rebooted again, CEC working, switched source on TV and then switched back to CE, CEC still working, uploaded logs.

here is the new 9.2.1 log link where CEC works http://ix.io/2aPN
Thanks!

1 Like

And when you update to the nightly, remove the XML and do the test again? Still not working?

updated to nightly, SSH to remove CEC config and reboot, enabled debug logging and CEClibary logging and rebooted, CEC working, switch tv source then switch back to CE, CEC Stopped working.

LOG: http://ix.io/2aQo

Big thx! I will check it tomorrow. Also I will build you a image where I switch back to CECA in the Linux driver as this is a difference in last nightlies. I am not sure if all issues are solved by Amlogic about CECB.

1 Like

Ok thankyou! Just let me know if you need me to test any builds I’ll be happy to :+1:

Please try this image:
https://test.coreelec.org/Portisch/CoreELEC-Amlogic-ng.arm-9.2-devel-1580979818.tar

It’s same as 20200205 except CECA instead of CECB.
So please same log procedure like before :wink:

1 Like

Running on LibreELEC (official): 9.2.0, kernel: Linux ARM 32-bit version 4.19.83
Wrong image used!?!?

thankyou!! CEC Works prefectly again with this build! LOG: http://ix.io/2aP3

1 Like

wrong image used? i download from https://relkai.coreelec.org/ ? i used this build https://mega.nz/#!EPhnwaQZ!bdG3z4Ed-FQEweEeX9kQyAh_A7ZQWJNdR-fcq5jSGpA

my device is Vim3Pro i thought Generic NG Builds are Corect builds to use?

Thank you for testing, maybe I come back if I have another image for testing!
I have to take a look first for this CECA/CECB issue.

Your log showed:

 Kernel: Linux 4.19.83 #1 SMP Sat Nov 23 01:54:59 CET 2019
 Release: LibreELEC 9.2.0

We don’t build images for LibreELEC

Doesn’t matter as the issue is now known!

And you 100% sure u used the image I gave to you?
The log shows CoreELEC (official): 9.2.1