xbmc/xbmc — pull request #887 by opdenkamp (2012-04-17 00:26:07+00:00)
Title: cec - libCEC 1.6 and firmware v2 support (for wake over CEC)

this PR adds the following:

libCEC 1.6 support and fixes. libCEC 1.6+ is needed when using firmware v2 on the CEC adapter, which adds wake over CEC
* added a new setting to control whether to put the TV in standby when the player is put in standby.
* added some button mappings: all menu related buttons -> menu, previous channel -> teletext, added support for the channels list on samsung, mapped next fav -> menu (when available)
* display the firmware version in the peripheral manager (if available)
* handle the new CEC alert callback (libCEC 1.6+)
* replaced 'Put this PC in standby mode when the TV is switched off' with an enum that allows the user to chose between 'Ignore', 'Suspend' and 'Shutdown'
* fixed - crash when changing settings without libCEC started.
* fixed - range of wake and power-off devices
* fixed - update the correct standby device setting ('standby_devices' not 'wake_devices')
* fixed - don't get the settings from the eeprom, but always use the settings provided in xbmc
* peripherals: added support for enum settings

win32 and darwin deps will need to be pushed to the mirrors before merging this.
win32 can be found here: http://packages.pulse-eight.net/windows/libcec1.6.0.zip
darwin over here: http://packages.pulse-eight.net/pulse/sources/libcec/libcec-1.6.0.tar.gz