Jump to content


Photo

hdmi-cec


  • Please log in to reply
24 replies to this topic

Re: hdmi-cec #21 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 30 March 2012 - 09:12

@openpli: Supply us a patch/driver and we'd be more than happy to add it. In other words ask DMM.

Edited by Sjaaky, 30 March 2012 - 09:12.


Re: hdmi-cec #22 ims

  • PLi® Core member
  • 13,785 posts

+214
Excellent

Posted 30 March 2012 - 12:49

ask DMM for anything is as pouring water on a dry stump ... may be, that there in DMM thinking, that less music for big money is better competitive ;)
Kdo nic nedělá, nic nezkazí!

Re: hdmi-cec #23 askthomas

  • Member
  • 5 posts

0
Neutral

Posted 24 November 2012 - 17:43

Is the DM8000 box suported to HDMI-CEC? Its an dvi port, but mabye it can send CEC code to TV?

Re: hdmi-cec #24 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 24 November 2012 - 18:16

Is the DM8000 box suported to HDMI-CEC? Its an dvi port, but mabye it can send CEC code to TV?


Nope, it cant... one of the many reasons I ditched that box (if i remember correctly due to dvi->hdmi cable pin 19 isnt connected needed for cec support)

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: hdmi-cec #25 EdsterTV

  • New Member
  • 1 posts

0
Neutral

Posted 2 October 2020 - 00:39

​Sorry for re-opening an OLD thread ... and sorry for English reply - but I have an answer.

I found this while looking for a guide to do the same thing.

 

Set up :

Standard DM8000 (which only has a DVI port not a HDMI) running OpenPli 7.3

Sony Bravia TV (2019 model that does CEC HDMI)

Pulse-eight CEC HDMI usb plug​

 

On the command line install the CEC utils:

 

opkg install libcec

 

The kernel driver that turns the HDMI CEC codes (via a fake serial port) into something you can read is not loaded.

you can see this by doing 

 

ls -l / dev / ttyACM *

You will see no devices

 

We need to load a module from the kernel. So look in:

ls -l /lib/modules/3.2-dm8000/kernel/drivers/usb/class/

And we see 

cdc-acm.ko

 

you can load this by doing 

modprobe cdc-acm

 

now you should see a dev / ttyACM0 (or similar)

 

running:

cec-client

will now find the device and show you the commands from the remote (example press the yellow key):

DEBUG: [ 41565] key pressed: F4 (yellow) (74) current(ff) duration(0)

 

Now a fairly easy script will find these lines and turn them into command in the DM8000.

I couldn't find a direct way of entering commands so I used the webif system.

It is already setup that if you are coming from 127.0.0.1 it will allow commands without logging in.

I ran the web pages through NetTools and caught the remote control codes and turned them into a script.

 

So as an example - you press 'yellow' and this happens :

"F4(yellow)")

wget -O /dev/null 'http://127.0.0.1/api...ng&command=400'

;;

 

*** It works ***

if anyone wants the script, let me know and I'll publish it




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users