ballle98 / cec-lirc Goto Github PK
View Code? Open in Web Editor NEWHDMI CEC to IR remote bridge
HDMI CEC to IR remote bridge
seems like there can only be one CEC client. Turning on CEC support in Kodi will disable cec-lirc.
According to spec the routing change 0x80 means the initiator is on
CECCommand: opcode 90 0 -> 5
CECCommand: lirc_send_one KEY_SUSPEND
[12/07/23 12:53:01.0691] LOG16 TV (0): power status changed from 'unknown' to 'standby'
[12/07/23 12:53:01.0691] LOG16 expected response received (90: report power status)
[12/07/23 12:53:01.0691] LOG16 >> TV (0) -> Audio (5): report power status (90)
[12/07/23 12:53:01.0691] LOG4 << putting 'Audio' (5) in standby mode
[12/07/23 12:53:01.0692] LOG16 not sending command 'standby': destination device 'Audio' marked as handled by libCEC
[12/07/23 12:53:38.0098] LOG8 >> 0f:80:00:00:30:00
CECCommand: opcode 80 0 -> f
[12/07/23 12:53:38.0098] LOG16 TV (0): power status changed from 'standby' to 'on'
[12/07/23 12:53:38.0098] LOG16 making Audio (5) the active source
[12/07/23 12:53:38.0098] LOG4 >> source activated: Audio (5)
[12/07/23 12:53:38.0099] LOG16 sending active source message for 'Audio'
[12/07/23 12:53:38.0099] LOG4 << powering on 'TV' (0)
[12/07/23 12:53:38.0099] LOG8 << 50:04
[12/07/23 12:53:38.0099] LOG16 >> TV (0) -> Broadcast (F): routing change (80)
[12/07/23 12:53:38.0189] LOG4 << Audio (5) -> broadcast (F): active source (3000)
[12/07/23 12:53:38.0189] LOG8 << 5f:82:30:00
[12/07/23 12:53:38.0399] LOG16 << Audio (5) -> TV (0): menu state 'activated'
[12/07/23 12:53:38.0399] LOG8 << 50:8e:00
[12/07/23 12:53:38.0489] LOG16 << 5 -> 0: set system audio mode '7f'
[12/07/23 12:53:38.0489] LOG8 << 50:72:01
[12/07/23 12:53:38.0729] LOG8 >> 0f:86:30:00
CECCommand: opcode 86 0 -> f
[12/07/23 12:53:38.0730] LOG16 >> TV (0) sets stream path to physical address 3000
[12/07/23 12:53:38.0730] LOG16 Audio (5) was already marked as active source
[12/07/23 12:53:38.0730] LOG4 >> source activated: Audio (5)
[12/07/23 12:53:38.0730] LOG4 << Audio (5) -> broadcast (F): active source (3000)
[12/07/23 12:53:38.0730] LOG8 << 5f:82:30:00
[12/07/23 12:53:38.0730] LOG16 >> TV (0) -> Broadcast (F): set stream path (86)
[12/07/23 12:53:38.0970] LOG8 >> 0f:80:20:00:30:00
CECCommand: opcode 80 0 -> f
[12/07/23 12:53:38.0970] LOG16 Audio (5) was already marked as active source
[12/07/23 12:53:38.0970] LOG4 >> source activated: Audio (5)
[12/07/23 12:53:38.0970] LOG16 sending active source message for 'Audio'
[12/07/23 12:53:38.0970] LOG4 << powering on 'TV' (0)
[12/07/23 12:53:38.0970] LOG8 << 50:04
[12/07/23 12:53:38.0970] LOG16 >> TV (0) -> Broadcast (F): routing change (80)
[12/07/23 12:53:39.0090] LOG4 << Audio (5) -> broadcast (F): active source (3000)
[12/07/23 12:53:39.0090] LOG8 << 5f:82:30:00
[12/07/23 12:53:39.0270] LOG16 << Audio (5) -> TV (0): menu state 'activated'
[12/07/23 12:53:39.0270] LOG8 << 50:8e:00
[12/07/23 12:53:39.0361] LOG16 << 5 -> 0: set system audio mode '7f'
[12/07/23 12:53:39.0361] LOG8 << 50:72:01
[12/07/23 12:53:39.0511] LOG8 >> 0f:86:30:00
CECCommand: opcode 86 0 -> f
[12/07/23 12:53:39.0511] LOG16 >> TV (0) sets stream path to physical address 3000
[12/07/23 12:53:39.0511] LOG16 Audio (5) was already marked as active source
[12/07/23 12:53:39.0511] LOG4 >> source activated: Audio (5)
[12/07/23 12:53:39.0511] LOG4 << Audio (5) -> broadcast (F): active source (3000)
[12/07/23 12:53:39.0511] LOG8 << 5f:82:30:00
[12/07/23 12:53:39.0511] LOG16 >> TV (0) -> Broadcast (F): set stream path (86)
[12/07/23 12:53:39.0632] LOG8 >> 05:46
CECCommand: opcode 46 0 -> 5
[12/07/23 12:53:39.0632] LOG16 << Audio (5) -> TV (0): OSD name 'CECtoIR'
[12/07/23 12:53:39.0632] LOG8 << 50:47:43:45:43:74:6f:49:52
[12/07/23 12:53:39.0632] LOG16 >> TV (0) -> Audio (5): give osd name (46)
[12/07/23 12:53:39.0872] LOG8 >> 05:46
CECCommand: opcode 46 0 -> 5
Link with https://eclipse.dev/paho/
try using libconfig or something similar to get config from /etc - https://hyperrealm.github.io/libconfig/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.