The Allwinner H3 support on the Orange Pi PC matured a lot over the years, appreciate that! Unfortunately the once perfectly working CEC control somehow degraded in newer versions. I checked the older 10.X standard image available for direct download - working like a charm. In 11.0 and the development branch it is really sluggish for SONY KDL50W805B (works perfect for some older SAMSUNG model):
- In many cases it switches the TV (SONY FullHD, 5y) on and switches to the proper HDMI
- The message that the CEC adapter got recognized takes longer to appear compared to 10.X version (in kodi main screen)
- Sometimes the Orange Pi reacts to key presses on the TV remote, often not. Usually, double presses do not get recognized. If running for a while, nothing happens any more
- When switching off kodi and getting down to the commandline (cec-ctl) it won't react as well
- I checked CPU frequencies and scaling governors if they could have an impact on that - no changes in behavior
Other devices like a Pine Rock64 work with the newest version without problems.
From cec-ctl I get (kodi stopped to avoid blocking of the device):
LibreELEC:~ # cec-ctl -d/dev/cec0 --to 0 --standby
Driver Info:
Driver Name : sun8i-dw-hdmi
Adapter Name : dw_hdmi
Capabilities : 0x0000010e
Logical Addresses
Transmit
Passthrough
Connector Info
Driver version : 6.1.19
Available Logical Addresses: 4
DRM Connector Info : card 0, connector 51
Physical Address : 4.0.0.0
Logical Address Mask : 0x0100
CEC Version : 2.0
Vendor ID : 0x000c03 (HDMI)
OSD Name : 'Playback'
Logical Addresses : 1 (Allow RC Passthrough)
Logical Address : 8 (Playback Device 2)
Primary Device Type : Playback
Logical Address Type : Playback
All Device Types : Playback
RC TV Profile : None
Device Features :
None
Transmit from Playback Device 2 to TV (8 to 0):
STANDBY (0x36)
Sequence: 150 Tx Timestamp: 860.150555s
Tx, Not Acknowledged (4), Max Retries
Display More
I can provide the kodi debug messages for CEC, but they pretty much say the same as for the command line tool.
I checked for differences in the kernel code for CEC, didn't see much changes here from the kernel used in 10.X and the latest ones (I'm not an expert though). I've no idea what might influence the CEC implementation showing such effects Any ideas where to look for a solution/fix?
I'd like to do some minor modifications to the image and thus compile the package by my self. Works perfectly for 11.0 and the latest stuff, but not for 10.X any more.
Thank you!