http://www.project-insanity.org/blog/20 ... -and-xbmc/
problem is, can't get it working with neither cec-client nor xbmc
[root@alarm]# cec-client -l
Found devices: 1
device: 1
com port: i.MX
vendor id: 0471
product id: 1001
firmware version: 0
type: i.MX
[root@alarm]# cec-client
No device type given. Using 'recording device'
CEC Parser created - libCEC version 2.1.4
no serial port given. trying autodetect:
path: /dev/mxc_hdmi_cec
com port: i.MX
opening a connection to the CEC adapter...
DEBUG: [ 45] unregistering all CEC clients
DEBUG: [ 46] Broadcast (F): osd name set to 'Broadcast'
NOTICE: [ 47] connection opened
DEBUG: [ 47] processor thread started
DEBUG: [ 47] << Broadcast (F) -> TV (0): POLL
TRAFFIC: [ 47] << f0
DEBUG: [ 149] >> POLL sent
DEBUG: [ 149] TV (0): device status changed into 'present'
DEBUG: [ 149] << requesting vendor ID of 'TV' (0)
TRAFFIC: [ 149] << f0:8c
DEBUG: [ 1219] expected response not received (87: device vendor id)
TRAFFIC: [ 1219] << f0:8c
DEBUG: [ 2389] expected response not received (87: device vendor id)
NOTICE: [ 2389] registering new CEC client - v2.1.4
DEBUG: [ 2389] detecting logical address for type 'recording device'
DEBUG: [ 2389] trying logical address 'Recorder 1'
DEBUG: [ 2389] << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [ 2389] << 11
ERROR: [ 2449] Write: sent command error !
TRAFFIC: [ 2449] << 11
ERROR: [ 2549] Write: sent command error !
DEBUG: [ 2549] >> POLL not sent
DEBUG: [ 2549] using logical address 'Recorder 1'
DEBUG: [ 2549] Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG: [ 2549] Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG: [ 2549] Recorder 1 (1): vendor = Pulse Eight (001582)
DEBUG: [ 2549] Recorder 1 (1): CEC version 1.4
DEBUG: [ 2549] AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG: [ 2550] Recorder 1 (1): osd name set to 'CECTester'
DEBUG: [ 2550] Recorder 1 (1): menu language set to 'eng'
DEBUG: [ 2550] SetDevicePhysicalAddress - not setting invalid physical address 0000
NOTICE: [ 2550] setting HDMI port to 1 on device TV (0)
DEBUG: [ 2550] Recorder 1 (1): physical address changed from ffff to 1000
DEBUG: [ 2550] << Recorder 1 (1) -> broadcast (F): physical adddress 1000
TRAFFIC: [ 2550] << 1f:84:10:00:01
NOTICE: [ 2689] CEC client registered: libCEC version = 2.1.4, client version = 2.1.4, firmware version = 0, logical address(es) = Recorder 1 (1) , base device: TV (0), HDMI port number: 1, physical address: 1.0.0.0, host: armv7l-unknown-linux-gnueabihf, features: 'P8 USB' 'P8 USB detect' 'i.MX6', git revision: ea25675, compiled on: Mon Mar 3 07:39:36 UTC 2014 by alarm@alarm on Linux 3.0.35_4.1.0-5-ARCH+ (armv7l)
DEBUG: [ 2689] << Recorder 1 (1) -> TV (0): OSD name 'CECTester'
TRAFFIC: [ 2689] << 10:47:43:45:43:54:65:73:74:65:72
DEBUG: [ 3109] << requesting power status of 'TV' (0)
TRAFFIC: [ 3109] << 10:8f
DEBUG: [ 4179] expected response not received (90: report power status)
TRAFFIC: [ 4179] << 10:8f
DEBUG: [ 5329] expected response not received (90: report power status)
waiting for input
xbmc.log:
00:00:37 T:1114046464 NOTICE: Register - new cec device registered on cec->i.MX: CEC Adapter (0471:1001)
00:00:37 T:1333785648 NOTICE: Thread CECAdapter start, auto delete: false
00:00:37 T:1344271408 NOTICE: Thread PeripBusCEC start, auto delete: false
00:00:37 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 1)
00:00:37 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:38 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 2)
00:00:38 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:39 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 3)
00:00:39 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:40 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 4)
00:00:40 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:41 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 5)
00:00:41 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:42 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 6)
00:00:42 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:43 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 7)
00:00:43 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:44 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 8)
00:00:44 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:45 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 9)
00:00:45 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
00:00:46 T:1333785648 ERROR: CecLogMessage - could not open a connection (try 10)
00:00:46 T:1333785648 ERROR: CecLogMessage - Close: Unable to stop device
18:45:43 T:1333785648 ERROR: CecLogMessage - could not start CEC communications
18:45:43 T:1333785648 ERROR: OpenConnection - could not opening a connection to the CEC adapter
18:45:53 T:1333785648 ERROR: CecLogMessage - SetLogicalAddresses: HDMICEC_IOC_SETLOGICALADDRESS failed !