HDMI CEC - turn on only AVR
#1
Question 
Hello community,

i just got my new AVR making my setup completely HDMI based. So now i have:
  1. Intel i3 HTPC running XBMC 13.2 (always on)
  2. PulseEight HDMI-CEC-Adapter
  3. Yamaha RX-V477 AVR
  4. Phillips LCD TV (also supporting CEC)
Now i want the following CEC setup:
  1. When XBMC activates screensaver, TV and AVR should be turned off.
  2. When XBMC deactivates screensaver, turn on the AVR (not TV).
So TV should be turned on expicitly by Remote. This way it should be possible to play Musik via UPNP/App without turning on TV everytime.

Ive set up HDMI-CEC, so it is working. I can control Volume of the AVR and all devices turn off when XBMC goes to standby (screensaver). But when i start playing music with UPNP, the TV is turning on, but AVR stays off.
Any suggestions?

Here is my current Configuration:
Quote:
  • Enabled [yes]
  • Make XBMC the active source when starting [yes]
  • Devices to power when starting XBMC [Amplifier / AVR device]
  • Devices to power off when stopping XBMC [TV and AVR device (explicit)]
  • Send 'inactive source' command when stopping XBMC [yes]
  • Put devices in standby mode when stopping XBMC [yes]
  • Wake devices when deactivating screensaver [yes]
  • When the TV is switched off [Ignore]
  • Put devices in standby mode when putting the PC in standby [yes]
  • Use TV's language setting [no]
  • Pause playback when switching to another source [no]
  • Connectec to HDMI device [Amplifier / AVR device ]
  • HDMI port number [1]
  • Physical address (overrules HDMI port) [0]
  • COM port (leave empty unless needed) [-]
Reply
#2
ok, i think my main problem is that the AVR does not get turned on after standby at all. This must be a XBMC problem, as on my Linux Terminal i can turn my AVR on/off with these commands:
Code:
% echo "on 5" | cec-client -s
% echo "standby 5" | cec-client -s
Beside of that i can to the same with TV:
Code:
% echo "on 0" | cec-client -s
% echo "standby 0" | cec-client -s
When i start XBMC, everything is turned on (no matter what i set in option "Devices to power when starting XBMC")
Reply
#3
Hi,

I have exactly the same problem with my AVR!
Can somebody help?


System: Raspberry 2 with openelec. AVR: Yamaha RX-S600
Reply
#4
I wonder if LukasW has actually sent Pulse-Eight and Email to possibly upgrade the PulseEight HDMI-CEC-Adapter's firmware ?

Reply
#5
Why should i do that? As the commands on linux concole show, adapter and my setup works fine!
IMHO Kodi is the faulty one. I was too busy for checking the code and doing a bug-report, so i disabled CEC for now.
Reply
#6
Or it's Yamaha related... but I think Kodi is the problem here.

Isn't there any support in this forum?
Reply
#7
There was a recent commit to libcec that may help:
https://github.com/Pulse-Eight/libcec/co...08492194b0

That should appear in future builds (for Pi it should be in the Milhouse nightly builds).

In general it's probably best to report CEC issues here. (There aren't many people who understand CEC well enough to help here).
Reply
#8
Thanks for the hint, I'll try it there.
Reply
#9
I have exactly the same issue! And exactly the same Yamaha RX-V477!

As LukasW said, it's not libcec related! you can turn on/off the AVR with cec-client without any problems. It's Kodi related, so asking for new firmware or asking on libcec github will not help...

And... if kodi starts it turns on both tv and avr correctly. The issue is when kodi deactivates screensaver.

Here's a debug log when screensaver is activated, Kodi sends "wake up" to both devices (TV and Audio)
Code:
09:33:16 T:140611773638400   DEBUG: CecLogMessage - << putting 'TV' (0) in standby mode
09:33:16 T:140611773638400   DEBUG: CecLogMessage - << 10:36
09:33:16 T:140611773638400   DEBUG: CecLogMessage - << putting 'Audio' (5) in standby mode
09:33:16 T:140611773638400   DEBUG: CecLogMessage - << 15:36
09:33:17 T:140611706844928   DEBUG: CecLogMessage - >> 0f:36
09:33:17 T:140611706844928   DEBUG: CecLogMessage - >> TV (0) -> Broadcast (F): standby (36)
09:33:17 T:140611706844928   DEBUG: CecLogMessage - TV (0): power status changed from 'on' to 'standby'

Here's a debug log when screensaver is deactivated, Kodi only wakes up TV, nothing more Sad
Code:
09:35:13 T:140611773638400   DEBUG: CecLogMessage - Recorder 1 (1) was already marked as active source
09:35:13 T:140611773638400   DEBUG: CecLogMessage - TV (0): power status changed from 'standby' to 'in transition from standby to on'
09:35:13 T:140611773638400   DEBUG: CecLogMessage - >> source activated: Recorder 1 (1)
09:35:13 T:140611773638400   DEBUG: CecLogMessage - sending active source message for 'Recorder 1'
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << powering on 'TV' (0)
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << 10:04
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << Recorder 1 (1) -> broadcast (F): active source (1100)
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << 1f:82:11:00
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): menu state 'activated'
09:35:13 T:140611773638400   DEBUG: CecLogMessage - << 10:8e:00
Reply
#10
I did some research. It's not kodi fault... its libcec stuff. Why?

I've started playing some sound on HDMI using mplayer and used cec-client to fiddle with cec-commands.

looks like you have to send '15:70:11:00' (see meaning below) to the Yamaha/AVR to create correct routing of sound to it.

Doing 'as' only only power ups the devices, sound is routed by default to the TV

Explanation:
15 - "from device 1 to device 5" (Recorder to Audio)
70 - "A device implementing System Audio Control and which has volume control RC buttons (eg TV or STB) requests to use System Audio Mode to the amplifier"
11:00 - the cec address (1.1.0.0 in 'scan' command format) of the device which is streaming audio

in other words: Hey AVR, Recorder tells you to grab audio stream from 11:00 (which is Recorder - see below)

Code:
warren ~ % cec-client -d 1
log level set to 1
No device type given. Using 'recording device'
CEC Parser created - libCEC version 3.0.1
no serial port given. trying autodetect:
path:     /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3
com port: /dev/ttyACM0

opening a connection to the CEC adapter...
waiting for input
scan
requesting CEC bus information ...
CEC bus information
===================
device #0: TV
address:       0.0.0.0
active source: no
vendor:        Samsung
osd string:    TV
CEC version:   unknown
power status:  standby
language:      pol


device #1: Recorder 1
address:       1.1.0.0
active source: no
vendor:        Pulse Eight
osd string:    CECTester
CEC version:   1.4
power status:  on
language:      eng


device #5: Audio
address:       1.0.0.0
active source: no
vendor:        Yamaha
osd string:    RX-V477
CEC version:   1.4
power status:  standby
language:      ???


currently active source: unknown (-1)
as
tx 15:70:11:00

waiting for input
scan
requesting CEC bus information ...
CEC bus information
===================
device #0: TV
address:       0.0.0.0
active source: no
vendor:        Samsung
osd string:    TV
CEC version:   1.4
power status:  on
language:      pol


device #1: Recorder 1
address:       1.1.0.0
active source: yes
vendor:        Pulse Eight
osd string:    CECTester
CEC version:   1.4
power status:  on
language:      eng


device #5: Audio
address:       1.0.0.0
active source: no
vendor:        Yamaha
osd string:    RX-V477
CEC version:   1.4
power status:  on
language:      ???


currently active source: Recorder 1 (1)
Reply

Logout Mark Read Team Forum Stats Members Help
HDMI CEC - turn on only AVR0