HDMI-CEC works only sometimes.

Antworten
Nachricht
Autor
TheM
Beginners
Beginners
Beiträge: 9
Registriert: 04 Aug 2020 11:18

HDMI-CEC works only sometimes.

#1

Beitrag von TheM »

Hello

Box is zgemma h9s, open atv 7.3. TV is Telefunken (I don't know model)
I enabled CEC on both devices.

All I try to accomplish is so that TV turns on/off with the box so I don't have to use second remote.

Currently it works sometimes. Sometimes when turning off the box, it does turn on, and off when off. But other times it does not (box goes off but tv not).
From my observations it's like it looses the link, once it stops working it doesn't come back untill I off/on tv with tv remote.
Are there any options I could play with to make it reliable?

In code below TV turned on with the box but it didn't turn off with it.

Code: Alles auswählen

16:25:09.0278 Rx: 16:25:09  <Standby>                   <  36 00 
16:25:09.2750 Tx: 16:25:09  <Image View On>             >  04                                                 [0x00]
16:25:09.5260 Tx: 16:25:09  <Active Source>             >  82 10 00                                           [0x0F]
16:25:16.7221 Rx: 16:25:16  <Report Power Status>       <  90 00
16:25:16.9421 Rx: 16:25:16  <Report Physical Address>   <  84 00
16:25:19.1420 Rx: 16:25:19  <Request Active Source>     <  85 B6
16:25:19.3931 Tx: 16:25:19  <Active Source>             >  82 10 00                                           [0x0F]
16:25:19.6261 Rx: 16:25:19  <Give Physical Address>     <  83 01
16:25:19.6441 Tx: 16:25:19  <Report Physical Address>   >  84 10 00 04                                        [0x0F]
16:25:19.9236 Rx: 16:25:19  <Feature Abort>             <  00 82
16:25:19.9891 Rx: 16:25:19  <Give OSD Name>             <  46 01
16:25:20.0661 Rx: 16:25:20  <Give Device Power Status>  <  8F 01
16:25:20.2401 Tx: 16:25:20  <Set OSD Name>              >  47 zgemmah9s                                       [0x0E]
16:25:20.4912 Tx: 16:25:20  <Report Power Status>       >  90 00                                              [0x0E]
16:25:20.8141 Rx: 16:25:20  <Set Menu Language>         <  32 70
16:25:20.9021 Rx: 16:25:20                              <  C3 01
16:25:22.4431 Rx: 16:25:22  <Request Active Source>     <  85 01
16:25:22.6942 Tx: 16:25:22  <Active Source>             >  82 10 00                                           [0x0F]
16:25:24.2701 Rx: 16:25:24  <Request Active Source>     <  85 01
16:25:24.5212 Tx: 16:25:24  <Active Source>             >  82 10 00                                           [0x0F]
16:25:25.8890 Rx: 16:25:25  <Set Stream Path>           <  86 10
16:25:25.8896 [   ] streaming path has changed... to our address: True
16:25:26.1404 Tx: 16:25:26  <Active Source>             >  82 10 00                                           [0x0F]
16:25:27.4621 Rx: 16:25:27  <Give Device Power Status>  <  8F 01
16:25:27.7139 Tx: 16:25:27  <Report Power Status>       >  90 00                                              [0x0E]
16:26:08.3924 Tx: 16:26:08  <Standby>                   >  36                                                 [0x00]
16:26:23.2091 Tx: 16:26:23  <Image View On>             >  04                                                 [0x00]
16:26:23.4600 Tx: 16:26:23  <Active Source>             >  82 10 00                                           [0x0F]
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1580
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 416 Mal
Kontaktdaten:

#2

Beitrag von s3n0 »

Hi.

The speed of sending commands during communication also causes frequent problems, so you can try to change that as well (in the HDMI CEC configuration). You can try changing the default setting and adding +100ms to the default CEC sending interval.

Keep debugging enabled in the HDMI CEC configuration and when something goes wrong, go check the logs to see if the command was sent at all.

After enabling the debug-log file, it will be saved here: "/home/root/logs/Enigma2-hdmicec-XXXXXXX.log".

You can also activate the function of sending CEC commands directly with Linux Shell in the HDMI CEC configuration. The path "/tmp/hdmicec_cmd" will be used as the output port / socket for testing purposes. You can then use Linux Shell to send commands to HDMI CEC if debug / test mode is active in HDMI CEC:

Code: Alles auswählen

echo "0F:36" > /tmp/hdmicec_cmd          # (STANDBY Broadcast-to-all) leads to "TV remains on"
echo "00:36" > /tmp/hdmicec_cmd          # (STANDBY Adressed-to-device 0.0.0.0) leads to "TV remains on"


The HDMI CEC format can be found on the internet. Many TV manufacturers also use their own HDMI CEC commands. Unfortunately, not all HDMI CEC commands are always standardized, although they should be.

The first byte (first 8 bits) means the address of the sender, the second byte the address of the receiver. Then 3 and 4 means a specific command. The end of the line must be followed by the character of the end of the line (however, this character will be sent automatically in the echo command by default). F in the hexadecimal number system or 1111 1111 in the binary system means that the command will be sent everywhere and not only to a specific HDMI-address of the device.

The problem is that many TV manufacturers also use their own protocols and rules for CEC communication. For example, the older LG-Simplink protocol does not work until the devices are "paired". So it is possible that the problem will be somewhere in this case.
TheM
Beginners
Beginners
Beiträge: 9
Registriert: 04 Aug 2020 11:18

#3

Beitrag von TheM »

Thanks for answer.

Currently interval was 250ms, I changed it to 500ms and I will observe if it helps.
Antworten

Zurück zu „English Section“