![]() |
HDMI CEC - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: HDMI Port (https://forum.pine64.org/forumdisplay.php?fid=36) +---- Thread: HDMI CEC (/showthread.php?tid=2021) Pages:
1
2
|
HDMI CEC - ayufan - 08-14-2016 I did find out this thread: http://forum.armbian.com/index.php/topic/1407-wiphdmi-cec-driver-for-h3/ It implements HDMI CEC driver for Allwinner H3 which appears to be very similar to Allwinner A64. I tried to compile that and I even started receiving some messages from my TV. I was unable to send anything, but maybe someone is willing to try this two branches and fix it themselves: https://github.com/ayufan-pine64/build-pine64-image https://github.com/ayufan-pine64/linux-pine64 You have to compile Linux kernel, compile .dts and patch libcec with this patch: http://sunxi.das-eckchen.de/sunxi_libcec.patch. When you `modprobe hdmi_cec` you should start seeing something on `dmesg` and when execute `cec-client`. RE: HDMI CEC - ayufan - 08-15-2016 I managed to advertise HDMI-CEC from Pine and run cec-client. Yay! ``` CEC bus information =================== device #0: TV address: 0.0.0.0 active source: no vendor: Samsung osd string: TV CEC version: 1.3a power status: on language: eng device #1: Recorder 1 address: 2.0.0.0 active source: yes vendor: Pulse Eight osd string: CECTester CEC version: 1.4 power status: on language: eng ``` RE: HDMI CEC - ayufan - 08-15-2016 I can receive keys from my TV. RE: HDMI CEC - ayufan - 08-15-2016 The next step would be to write Android Driver for HDMI CEC: http://androidxref.com/5.1.1_r6/xref/hardware/libhardware/include/hardware/hdmi_cec.h RE: HDMI CEC - ayufan - 08-15-2016 I wrote really simple driver which implements Android HDMI-CEC controller: https://github.com/ayufan-pine64/android-hdmi-cec-sunxi I did not yet have a time to test it. RE: HDMI CEC - rakib-hasan - 08-17-2016 Great Work! Please let us know how it works. Is there anyway to add it to the currently available android images? RE: HDMI CEC - ayufan - 08-18-2016 Ideally new images has to be built. It's somehow possible to patch existing installations. RE: HDMI CEC - ayufan - 08-22-2016 I did load CEC kernel driver on Pine A64 linux. RE: HDMI CEC - Ghost - 08-22-2016 (08-22-2016, 01:25 PM)ayufan Wrote: I did load CEC kernel driver on Pine A64 linux. Nice one! Perhaps you can help in getting this functionality implemented in a future OS build? RE: HDMI CEC - ayufan - 08-22-2016 My Android HW driver does work. System does connect with TV. Trying now to see if I can control system from TV. I also did manage to modify existing Android installation, instead of compiling the full fledged system. Still having a full system image seems to be better choice. I can control my TV from Android. However, there's a big delay in controls, but it does work. |