Code Monkey home page Code Monkey logo

cec-lirc's People

Contributors

ballle98 avatar

Watchers

 avatar

Forkers

rac00n

cec-lirc's Issues

Add support for Kodi

seems like there can only be one CEC client. Turning on CEC support in Kodi will disable cec-lirc.

  1. add player to get user controls
  2. relay these to kodi

Not always detecting when TV was on and turning on audio

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.