hdmi-cec ?

Moderators: mdrjr, odroid

hdmi-cec ?

Unread postby vbarba » Tue Mar 01, 2016 9:31 pm

Hi,

Could anybody confirm if ODROID-C2 is hdmi-cec capable?

Regards,
Victor
vbarba
 
Posts: 1
Joined: Tue Mar 01, 2016 9:06 pm
languages_spoken: english

Re: hdmi-cec ?

Unread postby XeoSal » Tue Mar 01, 2016 10:18 pm

Yes, it is.
ODROBIAN Jessie (C1/C1+/C0) (C2) (XU3/XU4) | RetroGaming Arcade (C1/C1+/C0) (XU3/XU4) | Repository (Debian/Ubuntu) (HowTo?)
User avatar
XeoSal
 
Posts: 921
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4

Re: hdmi-cec ?

Unread postby c1champ182 » Fri Mar 18, 2016 2:39 am

Is it supported out of the box with the Ubuntu 16.04 (v1.1) image? I'm not seeing /dev/CEC as noted here viewtopic.php?f=52&t=2973#p26404

Any help getting
Code: Select all
 cec-client --list-devices
to return a device would be much appreciated.
c1champ182
 
Posts: 3
Joined: Fri Mar 18, 2016 2:25 am
languages_spoken: english
ODROIDs: C2

Re: hdmi-cec ?

Unread postby OverSun » Fri Mar 18, 2016 3:24 am

The CEC on C1 and C2 is a keyboard emulation driver. It doesn't need a device and the library. The kernel take care about everything and propagate the device to the system as an event device, same as keyboard. You can find several of them in /dev/input/, one with the name event would be the CEC controls.
User avatar
OverSun
 
Posts: 1255
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english

Re: hdmi-cec ?

Unread postby c1champ182 » Fri Mar 18, 2016 12:03 pm

Could you elaborate? I'm trying to control my TV with my C2.

The commnad
Code: Select all
echo "d 10" > /sys/devices/virtual/amhdmitx/amhdmitx0/cec
that I found else where on the forum did not turn off my TV as expected.
viewtopic.php?f=112&t=16023&p=116883#p116947
c1champ182
 
Posts: 3
Joined: Fri Mar 18, 2016 2:25 am
languages_spoken: english
ODROIDs: C2

Re: hdmi-cec ?

Unread postby OverSun » Fri Mar 18, 2016 4:10 pm

You also probably need to add hdmitx=cecf to command line of your kernel on boot, because this command was forgotten for linux. With it the cec is negotiated between TV and the device on boot.
User avatar
OverSun
 
Posts: 1255
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english

Re: hdmi-cec ?

Unread postby AiKA » Thu Jun 02, 2016 9:11 pm

Hi,
I'm currently using a rpi with Kodi (OSMC) controlled only with my tv remote. I've only defined the mappings of some keys (in Keymaps.xml) and now I can navigate the menu, play/pause movie, see info, use context menu etc.
Is it possible with Odroid-C2 too?
Thank you for any answer!
AiKA
 
Posts: 1
Joined: Thu Jun 02, 2016 8:46 pm
languages_spoken: italiano

Re: hdmi-cec ?

Unread postby Raybuntu » Tue Jun 07, 2016 12:50 am

AiKA wrote:Hi,
I'm currently using a rpi with Kodi (OSMC) controlled only with my tv remote. I've only defined the mappings of some keys (in Keymaps.xml) and now I can navigate the menu, play/pause movie, see info, use context menu etc.
Is it possible with Odroid-C2 too?
Thank you for any answer!


Yes you can use everything in kodi. We have a full libcec compatible kernel driver in linux.
BTC: 13M7sUBpS9uVpo4mzukV9CH8HGg7vDUC7Y
Raybuntu
 
Posts: 1163
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2

Re: hdmi-cec ?

Unread postby Silver_C » Tue Sep 12, 2017 12:50 pm

Where can I find a list of all the CEC commands
I can use echo d > ..... to turn off my TV

I want to be able to turn the volume up and down on my TV
Silver_C
 
Posts: 3
Joined: Tue Sep 12, 2017 9:11 am
languages_spoken: english
ODROIDs: C2

Re: hdmi-cec ?

Unread postby rpcameron » Tue Sep 12, 2017 3:02 pm

Silver_C wrote:Where can I find a list of all the CEC commands
I can use echo d > ..... to turn off my TV

I want to be able to turn the volume up and down on my TV

http://www.cec-o-matic.com

Although, IIRC, TVs do not generally support CEC for volume, those are only defined for being passed along to receivers.

Also, TVs are generally the root of the CEC tree, so what is available is dependent upon your TV. Also, deifferent devices support different feature sets, so it is wholly dependent upon all of the devices you're using.
rpcameron
 
Posts: 251
Joined: Sat Apr 30, 2016 7:24 am
languages_spoken: english
ODROIDs: C2

Re: hdmi-cec ?

Unread postby Silver_C » Wed Sep 13, 2017 10:04 pm

Cheers,
My last reply didn't post.

from that webpage 10:36 should put the tv to sleep. What is the link between cec o matic codes and the "d"?
Silver_C
 
Posts: 3
Joined: Tue Sep 12, 2017 9:11 am
languages_spoken: english
ODROIDs: C2

Re: hdmi-cec ?

Unread postby Raybuntu » Wed Sep 13, 2017 10:22 pm

@Silver_C please use cec-client then you don't need to fiddle with some obsolete interfaces. If you still want to know why here is my explanation I posted almost 2 years (!) ago:
viewtopic.php?f=112&t=16023&p=116883#p116921
But again for the C2 we are using hdmi 2.0 driver and not the hdmi 1.4
BTC: 13M7sUBpS9uVpo4mzukV9CH8HGg7vDUC7Y
Raybuntu
 
Posts: 1163
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2

Re: hdmi-cec ?

Unread postby Silver_C » Thu Sep 14, 2017 7:25 pm

Thanks again, I got mislead by my google searches. And those were codes that seemed to work...

cec-client does not run out of the box on my android installation.

Should i need to install it? Something like here
viewtopic.php?f=94&t=21384


Cheers
Silver_C
 
Posts: 3
Joined: Tue Sep 12, 2017 9:11 am
languages_spoken: english
ODROIDs: C2


Return to General Chat

Who is online

Users browsing this forum: namok and 2 guests