HDMI CEC
#1
I did find out this thread: http://forum.armbian.com/index.php/topic...er-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`.
  Reply
#2
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
```
  Reply
#3
I can receive keys from my TV.
  Reply
#4
The next step would be to write Android Driver for HDMI CEC: http://androidxref.com/5.1.1_r6/xref/har...hdmi_cec.h
  Reply
#5
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.
  Reply
#6
Great Work! Please let us know how it works. Is there anyway to add it to the currently available android images?
  Reply
#7
Ideally new images has to be built. It's somehow possible to patch existing installations.
  Reply
#8
I did load CEC kernel driver on Pine A64 linux.
  Reply
#9
(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?
  Reply
#10
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad HDMI to DVI Color issues? leatherlips 5 14,945 10-09-2017, 05:57 AM
Last Post: Luke
  Would HDMI screen for Raspberry PI work? dhewko 1 3,360 07-23-2017, 06:43 AM
Last Post: MarkHaysHarris777
Exclamation HDMI 1024 x 600 mus1c 4 6,079 01-09-2017, 07:30 AM
Last Post: mus1c
  HDMI-DVI aminhb 11 17,157 01-08-2017, 10:52 AM
Last Post: Luke
  HDMI issues rahlquist 35 44,421 12-24-2016, 02:20 AM
Last Post: sboyce
  Monitor no output (through HDMI to DVI adaptor) gam01hr 10 14,517 11-15-2016, 01:46 PM
Last Post: Armbian User
  HDMI to VGA adapter for Android PineA64 tech support setup MarkHaysHarris777 0 2,356 08-06-2016, 12:47 PM
Last Post: MarkHaysHarris777
  hdmi_group CEA or DMT hdmi group specify uEnv.txt MarkHaysHarris777 2 4,895 07-01-2016, 08:23 AM
Last Post: MarkHaysHarris777
  No CEC over HDMI? utdrmac 2 5,513 03-07-2016, 03:05 PM
Last Post: utdrmac
  HDMI 3D, ARC + Ethernet Channels? bigmacattack 4 11,844 01-29-2016, 06:29 PM
Last Post: StefanB

Forum Jump:


Users browsing this thread: 1 Guest(s)