Closed ballle98 closed 1 year ago
I'm working on a project here to bridge CEC to LIRC to control the volume on my ancient Yamaha receiver. https://github.com/ballle98/cec-lirc
I'm setting the version to 1.3a to try and avoid issues around ARC (which was added in 1.4) but it's returning 1.4 to my TV
CECConfig.clientVersion = LIBCEC_VERSION_TO_UINT(4, 0, 0); // 1.3a
[09/09/22 08:19:22.0330] LOG4 CEC client registered: libCEC version = 6.0.2, client version = 4.0.0, firmware version = 1, logical address(es) = Audio (5) , physical address: 1.0.0.0, compiled on Linux-5.4.0-72-generic ... , features: P8_USB, DRM, P8_detect, randr, RPi, Exynos, Linux, AOCEC [09/09/22 08:19:22.0330] LOG16 << Audio (5) -> TV (0): OSD name 'CECtoIR' [09/09/22 08:19:22.0330] LOG8 << 50:47:43:45:43:74:6f:49:52 [09/09/22 08:19:22.0570] LOG16 << requesting power status of 'TV' (0) [09/09/22 08:19:22.0570] LOG8 << 50:8f [09/09/22 08:19:22.0721] LOG8 >> 05:a4:0a CECCommand: opcode a4 0 -> 5 [09/09/22 08:19:22.0721] LOG16 sending abort with opcode a4 and reason 'unrecognised opcode' to TV [09/09/22 08:19:22.0721] LOG16 << transmitting abort message [09/09/22 08:19:22.0721] LOG8 << 50:00:a4:00 [09/09/22 08:19:22.0721] LOG16 >> TV (0) -> Audio (5): UNKNOWN (A4) [09/09/22 08:19:22.0901] LOG8 >> 05:9f CECCommand: opcode 9f 0 -> 5 [09/09/22 08:19:22.0901] LOG16 << Audio (5) -> TV (0): cec version 1.4 [09/09/22 08:19:22.0901] LOG8 << 50:9e:05 [09/09/22 08:19:22.0901] LOG16 >> TV (0) -> Audio (5): get cec version (9F)
Figured it out
CECConfig.clientVersion = LIBCEC_VERSION_CURRENT; CECConfig.cecVersion = CEC_VERSION_1_3A;
I'm working on a project here to bridge CEC to LIRC to control the volume on my ancient Yamaha receiver. https://github.com/ballle98/cec-lirc
I'm setting the version to 1.3a to try and avoid issues around ARC (which was added in 1.4) but it's returning 1.4 to my TV
CECConfig.clientVersion = LIBCEC_VERSION_TO_UINT(4, 0, 0); // 1.3a