Jump to content


Photo

HDMI-CEC problems


  • Please log in to reply
227 replies to this topic

Re: HDMI-CEC problems #41 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 22 November 2012 - 20:31

Forwarding the volume keys only works from the tuner to the receiver. I hoped it would work with a television, but as of today, nobody confirmed it actually does.

Re: HDMI-CEC problems #42 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 22 November 2012 - 21:04

On my tv i turned it, but I think, must be restarted gui after changes in setup plugin (and enabled easylink for TV repro in TV, of course). And it is nothing for me, because volume control on my TV is slow.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #43 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 23 November 2012 - 19:37

These are my results so far.


What works;
- Put TV in standby
- Handle standby from TV
- Handle wakeup from TV

What doesn't work;
- Wakeup TV from standby
- Forward volume keys
- Switch TV to correct input


You can try this easy plugin and try, what works and what does not on your device. You will need Webif or Open Webif runing on PC (when you switch to TV) and to know little about hdmi (what Broadc. address use for which command).

What you can try sendf.eg:
Wakeup TV: Blue button ( same as Command: 0x04 - Image View On, Real physical address - Yes, Broadcast address: TV)
Switch TV input to box: Command 0x82, Real physical address - Yes, Broadcast address: All devices
Switch to TV: Command: 0x9d - Inactive Source, Real physical address - Yes, Broadcast address: TV
- do not forget, that before it must be TV waked up and send to DVB-T, because this command set back previous TV source. ( If was not DVB-T, in most cases TV switches to some TV's non HDMI input ... EXT, YPrPb...)

try Get CEC version of TV too

With "Command 0x82" Broadcast address: All devices" and Real physical address - No ... you can set and switch TV inputs.

Attached Files


Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #44 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 23 November 2012 - 20:15

Where standby(0x36) for test :) ?

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: HDMI-CEC problems #45 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 23 November 2012 - 20:20

Standby (0x36) is presented in commands too.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #46 Yada

  • Member
  • 47 posts

+1
Neutral

Posted 23 November 2012 - 20:35

Forwarding the volume keys stops to work after reboot box or restart enigma on my ultimo.
I need to switch off and then switch on to get it to work again or use hdmitest plugin above and send 0x7d to audio device.
Is this intended?

Re: HDMI-CEC problems #47 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 23 November 2012 - 20:35

Yep,sorri
"0x36","0x36 - Standby"

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: HDMI-CEC problems #48 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 23 November 2012 - 20:40

Forwarding the volume keys stops to work after reboot box or restart enigma on my ultimo.
I need to switch off and then switch on to get it to work again or use hdmitest plugin above and send 0x7d to audio device.
Is this intended?


set it in HDMI_CEC and then try set it with tesplugin. 0x7d is presented too.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #49 Yada

  • Member
  • 47 posts

+1
Neutral

Posted 23 November 2012 - 20:56


Forwarding the volume keys stops to work after reboot box or restart enigma on my ultimo.
I need to switch off and then switch on to get it to work again or use hdmitest plugin above and send 0x7d to audio device.
Is this intended?


set it in HDMI_CEC and then try set it with tesplugin. 0x7d is presented too.


Perhaps i expressed myself unclear..
after reboot or restart of enigma the the testplugin work ok with 0x7d. then volume forwarding is ok.
after reboot or restart of enigma also press standby on remote and then same button on remote to start tv and avr do work ok. volume forwarding is ok

Re: HDMI-CEC problems #50 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 24 November 2012 - 16:25

Some cosmetics ( added b.address. for device 3,4), shortcuts for main screen and Monitor too: 0 - standby TV, 1-wakeup TV, 8-Active source, 9-inactive source to TV.
Let me know f.eg. if build-in hdmi-cec support does not work, but manualy controlingwith this plugin works.

Attached Files


Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #51 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 24 November 2012 - 17:32

Nice work.

Screenshot = this means that it will not work?

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: HDMI-CEC problems #52 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 24 November 2012 - 20:02

no, it means that you will enter your own device address.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #53 Yada

  • Member
  • 47 posts

+1
Neutral

Posted 25 November 2012 - 21:10

my setup i VU+ Ultimo connected to AVR input 1 and AVR to TV, so my address is 1.1.0.0
automatic address don't work in PLI or in testplugin.

Problem is if AVR is set in standby when when in input 2 it never wake up with STB connected in input 1.
So i did a little testing with ims test plugin and sent 0x82 with address 1.1.0.0 to broadcast and same result as in PLI plugin

But what do work is in test plugin i sent 0x82 with fake address 1.2.0.0 to broadcast and my AVR switched from input 1 to input 2.
But when i changed back to my setup address 1.1.0.0 and sent same command AVR did't switch back to input 1. (original problem)

Is this correct behavior for my AVR to stop listening on input 1 when set on input 2?
or is some other commands necessary first or after?

Re: HDMI-CEC problems #54 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 25 November 2012 - 22:01

See on HDMI CEC spec. (attached). I am not using HDMI AVR...


v. 03 - little bug in display automatic phys. address and made bigger text for better reading in webif.

Attached Files


Edited by ims, 25 November 2012 - 22:15.

Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #55 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 25 November 2012 - 22:44

Try what will make send 9D with 1.2.0.0 to 05 (or 00) = Inactive source. AVR could return back to last input.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #56 Yada

  • Member
  • 47 posts

+1
Neutral

Posted 26 November 2012 - 19:50

Try what will make send 9D with 1.2.0.0 to 05 (or 00) = Inactive source. AVR could return back to last input.


Great, i will try this evening if i get a moment alone with the STB else i will give it a try tomorrow

Re: HDMI-CEC problems #57 Yada

  • Member
  • 47 posts

+1
Neutral

Posted 27 November 2012 - 22:17

Well did some testing with my AVR and it's a stupid AVR :angry:
Even tried original VU image and VIX and no better there.

The only problem left is:
CEC messages needs send delay (works like a charm with ims HdmiCec.py)
On coldstart, reboot or restart enigma volume forwarding to AVR don't work (With ims testplugin i can manually get it started again).

But with toggle standby then volume forwarding to AVR is ok.

Re: HDMI-CEC problems #58 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 27 November 2012 - 23:05

There is needed queue for sending hdmi messages. I can send you it for test to pm.
Kdo nic nedělá, nic nezkazí!

Re: HDMI-CEC problems #59 bastock

  • Member
  • 5 posts

0
Neutral

Posted 3 December 2012 - 22:23



unzip it and place it to directory /usr/lib/enigma2/python/Components. Then restart enigma and let me know, if it helps ...


Thanks ims,

I placed the file into the ../components dir.
I restart the device, and i can see that the file HdmiCec.py is compiled to .pyo
But i still have the same problems.... :(
- my tv doesn't start when i power on my DM 500 HD


Your TV doesn't wake-up or do not switch to true input after wake-up ?


ims,

I checked my complete setup and i have forgotten to activate the following option on my TV;
'On via link' so blame on me :(

Now it works great with your version of HdmiCec.py where you add 'time.sleep(0.1)' in the code.

Thank you very much....
Bast

Re: HDMI-CEC problems #60 ims

  • PLi® Core member
  • 13,920 posts

+215
Excellent

Posted 3 December 2012 - 23:36

Do not use this version with timesleep more. I rebuilded it with queue for instructions and it is several days merged to Pli. Try set "Minimum send delay" in HDMI-CEC plugins setting to 100ms.
Kdo nic nedělá, nic nezkazí!


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users