[mythtv-firehose] mythtv/master commit: e090e9969 by Mark Kendall (mark-kendall)
noreply at mythtv.org
Wed Oct 26 08:07:38 UTC 2011
Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-10-26T01:07:17-07:00
Push Date: 2011/10/26 01:07:24 -0700
New Revision: e090e9969c87136d4f6793988107a62ef249fe78
Add libCEC support.
This adds initial support for CEC HDMI devices which allow bidirectional
communication and control between CEC capable devices.
There is a lot going on here, so I'll add a wiki page at some point.
- will turn the display device on and switch to MythTV's HDMI input when
MythTV is started (configurable).
- the HDMI input is identified as 'MythTV'.
- will turn the display off when exiting (configurable).
- 'advanced' selection of HDMI port (physical address), CEC logical
address and libCEC device (all default to 'auto').
- there is no settings UI. I will wait and see if we get new, libmythui
settings pages before 0.25 (otherwise I'll add some old style settings
- added 2 new actions for powering the display on and off.
- incoming keypresses from the display's remote control are mapped to
standard keypresses. Certain functions are unmpapped (no obvious meaning
in a MythTV context) and others have slightly unusual mappings to ensure
each button has a unique keypress (and hence maximise the potential for
customisation - but does limit 'out of the box' functionality). There is
still some limited overlap (e.g. M) but most map to conventional,
default MythTV bindings. Use the Key Editor to tweak.
- no CEC commands (e.g. display telling MythTV to power off) are
currently handled - either because there is no obvious way to handle
them (menu language, power off) or I haven't seen them.
There is a lot of potential for additional functionality, both within
MythTV and libCEC itself, so this will no doubt be a moving feast for a
while. The usefulness of CEC will largely depend on how much individual
manufacturers have 'tailored' their CEC implementations. For me, with a
Toshiba display (Regza-Link = CEC), Playstation3 and VESA mounted Ion
box, everything is pretty seemless and largely 'just works'.
N.B. The keymapping code may change depending on other changes in
libmythui (and I may yet tweak the default keybindings).
More information about the mythtv-firehose