2020-03-30, 17:00
I'm cross-posting a thread I started in the LibreELEC forum a few days ago around controlling Kodi via CEC from a VIZIO TV. I'm not certain exactly where the answer lies (in Kodi, or in the LibreELEC specific portion of my implementation.) So I'm covering my bases and hoping to tap the Kodi specific knowledge in this forum. Here's the summary from that thread, updated and clarified for Kodi, and a link to the other forum post. I'll keep both threads updated and ensure any resolution is reflected in both for future users.
TL;DR Summary
Here's a link to the original forum thread at LibreELEC where I have more background information and troubleshooting steps complete so far.
CEC Control From VIZIO TV - Change Device Type to Playback (4)
Here are links to previous forum posts implying this solution.
CEC remote on VIZIO P Series Quantum
CEC Control not working - VIZIO E50-E1 - After TV OS Upgrade (4.0.32.2)
And here's a link to my initial log file.
LibreELEC and Kodi Log File
Any help or advice would be greatly appreciated.
TL;DR Summary
- Running the latest version of LibreELEC (9.2.2) and Kodi 18.6 on x86 machine with Pulse Eight USB-CEC adapter.
- CEC remote control worked great for many years. Then I upgraded my VIZIO TV to a VIZIO P55-F1. CEC control stopped working.
- Found forum posts about VIZIO TVs having the same problem with Kodi (on Kodi and OSMC forum.) The solution was to change the CEC device type to Playback (4).
- Specifically, I need to change the adapter's XML config file line "device_type = 1" to "device_type = 4".
- This forces the CEC adapter to register as a playback device instead of a recording device with the TV on the CEC bus.
- Attempted to implement by editing .kodi/userdata/peripheral_data/usb_2548_1002_CEC_Adapter.xml, but changes revert after reboot.
- Attempted to implement by editing /usr/share/kodi/system/peripherals.xml but changes to that file have no impact.
- How do I make changes to .kodi/userdata/peripheral_data/usb_2548_1002_CEC_Adapter.xml persist across reboots? or
- Is there another way to force the CEC adapter (libCEC) to register as a Playback device? or
- How does the .kodi/userdata/peripheral_data/ CEC adapter XML config file get generated?
Here's a link to the original forum thread at LibreELEC where I have more background information and troubleshooting steps complete so far.
CEC Control From VIZIO TV - Change Device Type to Playback (4)
Here are links to previous forum posts implying this solution.
CEC remote on VIZIO P Series Quantum
CEC Control not working - VIZIO E50-E1 - After TV OS Upgrade (4.0.32.2)
And here's a link to my initial log file.
LibreELEC and Kodi Log File
Any help or advice would be greatly appreciated.