8.95.5 CEC not working


#1

CEC no working on latest 8.95.5 it was perfect for previous releases, I am getting a continued message pulse-eight CEC adapter and I can not get it to work.


#2

Same here. After booting I can press a direction key on my remote and the cursor reacts (with delay but it’s working). After a few seconds it doesn’t work anymore. But I get no error message.
A few months ago when I started with TV box and CoreELEC I could control the TV box with my AV receiver remote. It was working great (as far as I remember). But I mean that with the last releases of CoreELEC controlling the TV box with the AV Receiver remote control went more and more bad. I had timing delay and the cursor jumped two or three times though I pressed only once.
When I use my wireless keyboard controling the TV box works still fine.


#3

dmesg|grep -i cec|pastebinit


#4

Sorry, if I am coming late to the party, but what is the purpose of the CEC? I get notification that it’s connected every time I turn on my box, but I don’t know what it does.


#5

Have a look here https://en.m.wikipedia.org/wiki/Consumer_Electronics_Control


#6

Also it would be interesting to know what device you are using.
And I’d like to see u-boot environment variables:

fw_printenv


#7

Same annoyng messages about CEC since the 8.95.5 update on 2 different tv (LG and Panasonic Viera). Please correct CEC


#8

We can’t correct it when you don’t provide any useful information.
What box are you using and logs, and the extra information that Ray asked for.


#9

Hi,

I’m also experiencing issues with CEC on 8.95.5 (Odroid C2).

Usually the Odroid turns on, when the TV is turned on with the TV remote, but not anymore. TV turns on, but Odroid remains off. Only unplug/replug power will turn it on. TV remote pass through works fine once booted into Kodi.

Downgrading to 8.95.4.3 makes the power on via CEC work again.


#10

I can confirm this. Thanks for reporting I’ll look into it.

Your reply is annoying. I will not correct this. The CEC message is very important and it was patched out for whatever reason.

Further comments without logs will be ignored.


#11

Mamma mia!
Thanks anyway
:slight_smile:


#12

CEC wakeup for Odroid C2 is fixed. It should appear in the next nightly. At least it’s working on my LG OLED. If there are still problems just let me know.


#13

Hi Ray
I have the TV box X96 (S905X, 2GB, 16GB). My AV receiver is Yamaha RX-S600.

I have now made a fresh install back to 8.95.3. It was my hope that here CEC is working. But even with 8.95.3 my cursor doesn’t work as aspected when I press a button on my remote.

So with 8.95.3 when I put in “dmesg|grep -i cec|pastebinit” I get this

/storage/Downloads$ dmesg|grep -i cec|pastebinit
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0100 498 0 0 100 498 0 341 0:00:01 0:00:01 --:–:-- 341 98 516 50 9 100 498 4 251 0:00:04 0:00:01 0:00:03 255100 516 100 18 100 498 8 231 0:00:02 0:00:02 --:–:-- 239
http://ix.io/1ubu

When I put in “fw_printenv” I get this
/storage/Downloads$ fw_printenv
EnableSelinux=permissive
aml_dt=gxl_p212_2g
baudrate=115200
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,2160p60hz420 maxcpus=4 vout=2160p60hz420,enable hdmimode=2160p60hz420 cvbsmode=576cvbs hdmitx=,rgb0 cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.hardware=amlogic mac=c4:4e:ac:22:47:6c androidboot.mac=c4:4e:ac:22:47:6c
bootcmd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else run bootfromsd; run bootfromusb; fi; run storeboot
bootdelay=1
bootfromnand=0
bootfromsd=mmcinfo; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi
bootfromusb=usb start 0; if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi
bootup_offset=0x11d5738
bootup_size=0x3f4848
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi;
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=16
display_color_bg=0
display_color_fg=0xffff
display_color_index=16
display_height=2160
display_layer=osd1
display_width=3840
dtb_mem_addr=0x1000000
ethact=dwmac.c9410000
ethaddr=00:15:18:01:81:31
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=0
gatewayip=10.18.9.1
hdmimode=2160p60hz420
hdmitx_rgb=0
hostname=arm_gxbb
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
ipaddr=10.18.9.97
jtag=apao
loadaddr=1080000
mac=c4:4e:ac:22:47:6c
maxcpus=4
netmask=255.255.255.0
outputmode=2160p60hz420
preboot=run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run upgrade_key;run upgrade_adc_key;run switch_bootmode;
reboot_mode=normal
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi
recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
sddtb=if fatload mmc 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_mem_addr; fi
serverip=10.18.9.113
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig},rgb${hdmitx_rgb} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
storeboot=if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then run try_auto_burn; fi;fi;fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_adc_key=saradc open 0; if saradc get_in_range 0 0x50; then msleep 50; if saradc get_in_range 0 0x50; then echo update by key…; run update; fi;fi;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi;
upgrade_step=2
usb_burning=update 1000
usbdtb=if fatload usb 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_mem_addr; fi
wipe_cache=successful
wipe_data=successful


#14

Your box doesn’t have a cec value set. This is quite common for generic S905 boxes. It should fix it with:

fw_setenv cecconfig cec3f
reboot

#15

I have a S912 mecool bb2 pro box. CEC had been working perfectly along all previous builds released till this last one.


#16

No log no help. Have you even considered what is written by me one post before yours?


#18

CEC on my setup completely hijacks my AVR and does not allow any other devices to use ARC.

with CEC disabled ARC works for other devices but only if the coreELEC box (KM8 Pro) is powered on.

Makes no sense to me.


#19

It makes sense to me. Especially as this is a know problem for almost 3 years now.


#20

I see.

Been using an Intel NUC for the last 3 years which was flawless for 1080p content.

I guess this box will need to stay on so I can use ARC.


#21

Or you disable cec completely.

fw_setenv cecconfig cec0