Permalink
Browse files

cec: libCEC 1.7.1 support and fixes. libCEC 1.6.1+ is needed when usi…

…ng 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 and firmware revision date 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'
  * display a warning if the port cannot be opened because of permission problems or when the port is busy
  * map NEXT_FAVORITE, DOT and AN_RETURN to XINPUT_IR_REMOTE_TITLE (context menu)
  * added libCEC 1.7.0 support, which adds physical address autodetection for AMD graphics cards, and some nVidia cards on Linux. when the address is autodetected, then the 'HDMI port number' and 'connected to HDMI device' settings will be hidden
  * 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
  * fixed - ignore OnScreensaverDeactivated message if it was triggered by a shutdown/suspend command. If the screensaver is activated and hence the tv is in standby, a shutdown command will first deactivate the screensaver and then start the shutdown. The tv will be turned on but immediately send a standby command which may be ignored if it is still powering on.
  * fixed - don't crash when XBMC was compiled with libCEC support, but libcec.dll/.so/.dylib can't be loaded. display a kaitoast warning instead.
  * fixed - re-check the menu language and audiosystem status after the user changes settings
  * fixed - keypress handling. handle diagonal buttons properly
  * fixed - include system.h in Peripheral.h, or HAVE_LIBCEC may not be defined
  * fixed - don't reinit the connection when libCEC detected that the connection was lost, but just display a warning message. the OS will detect that the device has been removed and will already close the connection
  * fixed - ensure that the callbacks are reset to NULL before setting them
  * win32 - pthreadVC2.dll is no longer needed and not included in the zip anymore, so don't try to copy it
  • Loading branch information...
opdenkamp committed Apr 16, 2012
1 parent 4413104 commit ea9f2f01e3fcc8aafd1fec5fe6f132c279888871
Showing with 2,038 additions and 586 deletions.
  1. +2 −2 addons/skin.confluence/720p/DialogPeripheralManager.xml
  2. +1 −1 configure.in
  3. +31 −7 language/Afrikaans/strings.po
  4. +31 −7 language/Arabic/strings.po
  5. +31 −7 language/Basque/strings.po
  6. +31 −7 language/Bosnian/strings.po
  7. +31 −7 language/Bulgarian/strings.po
  8. +45 −21 language/Catalan/strings.po
  9. +31 −7 language/Chinese (Simple)/strings.po
  10. +31 −7 language/Chinese (Traditional)/strings.po
  11. +31 −7 language/Croatian/strings.po
  12. +31 −7 language/Czech/strings.po
  13. +31 −7 language/Danish/strings.po
  14. +34 −10 language/Dutch/strings.po
  15. +31 −7 language/English (US)/strings.po
  16. +32 −6 language/English/strings.po
  17. +31 −7 language/Esperanto/strings.po
  18. +31 −7 language/Finnish/strings.po
  19. +31 −3 language/French/strings.po
  20. +31 −7 language/German/strings.po
  21. +31 −7 language/Greek/strings.po
  22. +31 −7 language/Hebrew/strings.po
  23. +31 −7 language/Hindi (Devanagiri)/strings.po
  24. +31 −7 language/Hungarian/strings.po
  25. +31 −7 language/Icelandic/strings.po
  26. +31 −7 language/Indonesian/strings.po
  27. +31 −7 language/Italian/strings.po
  28. +31 −7 language/Japanese/strings.po
  29. +31 −7 language/Korean/strings.po
  30. +31 −7 language/Lithuanian/strings.po
  31. +31 −7 language/Maltese/strings.po
  32. +31 −7 language/Norwegian/strings.po
  33. +31 −7 language/Polish/strings.po
  34. +31 −7 language/Portuguese (Brazil)/strings.po
  35. +31 −7 language/Portuguese/strings.po
  36. +31 −7 language/Romanian/strings.po
  37. +31 −7 language/Russian/strings.po
  38. +31 −7 language/Serbian (Cyrillic)/strings.po
  39. +31 −7 language/Serbian/strings.po
  40. +31 −7 language/Slovak/strings.po
  41. +31 −7 language/Slovenian/strings.po
  42. +31 −7 language/Spanish (Mexico)/strings.po
  43. +31 −7 language/Spanish/strings.po
  44. +31 −7 language/Swedish/strings.po
  45. +31 −7 language/Thai/strings.po
  46. +31 −7 language/Turkish/strings.po
  47. +31 −7 language/Ukrainian/strings.po
  48. +0 −1 project/BuildDependencies/scripts/libcec_d.bat
  49. +1 −1 project/BuildDependencies/scripts/libcec_d.txt
  50. +8 −7 system/peripherals.xml
  51. +1 −1 tools/darwin/depends/libcec/Makefile
  52. +8 −6 xbmc/Application.cpp
  53. +2 −2 xbmc/Application.h
  54. +1 −0 xbmc/peripherals/Peripherals.h
  55. +1 −0 xbmc/peripherals/bus/PeripheralBus.cpp
  56. +24 −12 xbmc/peripherals/devices/Peripheral.cpp
  57. +6 −4 xbmc/peripherals/devices/Peripheral.h
  58. +524 −188 xbmc/peripherals/devices/PeripheralCecAdapter.cpp
  59. +46 −34 xbmc/peripherals/devices/PeripheralCecAdapter.h
@@ -117,7 +117,7 @@
<posy>50</posy>
<width>520</width>
<height>20</height>
- <label>$LOCALIZE[35501]: [COLOR=grey2]$INFO[ListItem.Property(Class)][/COLOR]</label>
+ <label>$LOCALIZE[35501]: [COLOR=grey2]$INFO[ListItem.Property(Class)][/COLOR] $LOCALIZE[19114]: [COLOR=grey2]$INFO[ListItem.Property(Version)][/COLOR]</label>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
@@ -173,7 +173,7 @@
<posy>50</posy>
<width>520</width>
<height>20</height>
- <label>$LOCALIZE[35501]: [COLOR=grey2]$INFO[ListItem.Property(Class)][/COLOR]</label>
+ <label>$LOCALIZE[35501]: [COLOR=grey2]$INFO[ListItem.Property(Class)][/COLOR] $LOCALIZE[19114]: [COLOR=grey2]$INFO[ListItem.Property(Version)][/COLOR]</label>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
View
@@ -1258,7 +1258,7 @@ if test "x$use_libcec" != "xno"; then
# libcec is dyloaded, so we need to check for its headers and link any depends.
if test "x$use_libcec" != "xno"; then
- PKG_CHECK_MODULES([CEC],[libcec >= 1.5.0],,[use_libcec="no";AC_MSG_RESULT($libcec_disabled)])
+ PKG_CHECK_MODULES([CEC],[libcec >= 1.7.0],,[use_libcec="no";AC_MSG_RESULT($libcec_disabled)])
if test "x$use_libcec" != "xno"; then
INCLUDES="$INCLUDES $CEC_CFLAGS"
@@ -8862,21 +8862,17 @@ msgid "Put devices in standby mode when activating screensaver"
msgstr ""
msgctxt "#36011"
-msgid "Could not detect the CEC port. Set it up manually."
+msgid "Could not detect the CEC com port. Set it up manually."
msgstr ""
msgctxt "#36012"
-msgid "Could not initialise the CEC adapter. Check your settings."
+msgid "Could not initialise the CEC adapter. Please check your settings."
msgstr ""
msgctxt "#36013"
msgid "Unsupported libCEC interface version. %d is greater than the version XBMC supports (%d)"
msgstr ""
-msgctxt "#36014"
-msgid "Put this PC in standby mode when the TV is switched off"
-msgstr ""
-
msgctxt "#36015"
msgid "HDMI port number"
msgstr ""
@@ -8886,7 +8882,7 @@ msgid "Connected"
msgstr ""
msgctxt "#36017"
-msgid "Adapter found, but libCEC is not available"
+msgid "Could not initialise the CEC adapter: libCEC was not found on your system."
msgstr ""
msgctxt "#36018"
@@ -8921,3 +8917,31 @@ msgctxt "#36025"
msgid "Send 'inactive source' command when stopping XBMC"
msgstr ""
+msgctxt "#36026"
+msgid "Put devices in standby mode when putting the PC in standby"
+msgstr ""
+
+msgctxt "#36027"
+msgid "This device needs servicing"
+msgstr ""
+
+msgctxt "#36028"
+msgid "Ignore"
+msgstr ""
+
+msgctxt "#36029"
+msgid "When the TV is switched off"
+msgstr ""
+
+msgctxt "#36030"
+msgid "Connection lost"
+msgstr ""
+
+msgctxt "#36031"
+msgid "This user does not have permissions to open the CEC adapter"
+msgstr ""
+
+msgctxt "#36032"
+msgid "The port is busy. Only one program can access the CEC adapter"
+msgstr ""
+
View
@@ -8862,21 +8862,17 @@ msgid "Put devices in standby mode when activating screensaver"
msgstr "وضع الأجهزة في وضع الاستعداد عند تنشيط شاشة التوقف"
msgctxt "#36011"
-msgid "Could not detect the CEC port. Set it up manually."
+msgid "Could not detect the CEC com port. Set it up manually."
msgstr ""
msgctxt "#36012"
-msgid "Could not initialise the CEC adapter. Check your settings."
+msgid "Could not initialise the CEC adapter. Please check your settings."
msgstr ""
msgctxt "#36013"
msgid "Unsupported libCEC interface version. %d is greater than the version XBMC supports (%d)"
msgstr ""
-msgctxt "#36014"
-msgid "Put this PC in standby mode when the TV is switched off"
-msgstr ""
-
msgctxt "#36015"
msgid "HDMI port number"
msgstr "HDMI رقم منفذ"
@@ -8886,7 +8882,7 @@ msgid "Connected"
msgstr "متصل"
msgctxt "#36017"
-msgid "Adapter found, but libCEC is not available"
+msgid "Could not initialise the CEC adapter: libCEC was not found on your system."
msgstr "غير متوفر libcec تم العثور على الارتباط, ولكن"
msgctxt "#36018"
@@ -8921,3 +8917,31 @@ msgctxt "#36025"
msgid "Send 'inactive source' command when stopping XBMC"
msgstr ""
+msgctxt "#36026"
+msgid "Put devices in standby mode when putting the PC in standby"
+msgstr ""
+
+msgctxt "#36027"
+msgid "This device needs servicing"
+msgstr ""
+
+msgctxt "#36028"
+msgid "Ignore"
+msgstr ""
+
+msgctxt "#36029"
+msgid "When the TV is switched off"
+msgstr ""
+
+msgctxt "#36030"
+msgid "Connection lost"
+msgstr ""
+
+msgctxt "#36031"
+msgid "This user does not have permissions to open the CEC adapter"
+msgstr ""
+
+msgctxt "#36032"
+msgid "The port is busy. Only one program can access the CEC adapter"
+msgstr ""
+
View
@@ -8862,21 +8862,17 @@ msgid "Put devices in standby mode when activating screensaver"
msgstr ""
msgctxt "#36011"
-msgid "Could not detect the CEC port. Set it up manually."
+msgid "Could not detect the CEC com port. Set it up manually."
msgstr ""
msgctxt "#36012"
-msgid "Could not initialise the CEC adapter. Check your settings."
+msgid "Could not initialise the CEC adapter. Please check your settings."
msgstr ""
msgctxt "#36013"
msgid "Unsupported libCEC interface version. %d is greater than the version XBMC supports (%d)"
msgstr ""
-msgctxt "#36014"
-msgid "Put this PC in standby mode when the TV is switched off"
-msgstr ""
-
msgctxt "#36015"
msgid "HDMI port number"
msgstr ""
@@ -8886,7 +8882,7 @@ msgid "Connected"
msgstr ""
msgctxt "#36017"
-msgid "Adapter found, but libCEC is not available"
+msgid "Could not initialise the CEC adapter: libCEC was not found on your system."
msgstr ""
msgctxt "#36018"
@@ -8921,3 +8917,31 @@ msgctxt "#36025"
msgid "Send 'inactive source' command when stopping XBMC"
msgstr ""
+msgctxt "#36026"
+msgid "Put devices in standby mode when putting the PC in standby"
+msgstr ""
+
+msgctxt "#36027"
+msgid "This device needs servicing"
+msgstr ""
+
+msgctxt "#36028"
+msgid "Ignore"
+msgstr ""
+
+msgctxt "#36029"
+msgid "When the TV is switched off"
+msgstr ""
+
+msgctxt "#36030"
+msgid "Connection lost"
+msgstr ""
+
+msgctxt "#36031"
+msgid "This user does not have permissions to open the CEC adapter"
+msgstr ""
+
+msgctxt "#36032"
+msgid "The port is busy. Only one program can access the CEC adapter"
+msgstr ""
+
@@ -8862,21 +8862,17 @@ msgid "Put devices in standby mode when activating screensaver"
msgstr ""
msgctxt "#36011"
-msgid "Could not detect the CEC port. Set it up manually."
+msgid "Could not detect the CEC com port. Set it up manually."
msgstr ""
msgctxt "#36012"
-msgid "Could not initialise the CEC adapter. Check your settings."
+msgid "Could not initialise the CEC adapter. Please check your settings."
msgstr ""
msgctxt "#36013"
msgid "Unsupported libCEC interface version. %d is greater than the version XBMC supports (%d)"
msgstr ""
-msgctxt "#36014"
-msgid "Put this PC in standby mode when the TV is switched off"
-msgstr ""
-
msgctxt "#36015"
msgid "HDMI port number"
msgstr ""
@@ -8886,7 +8882,7 @@ msgid "Connected"
msgstr ""
msgctxt "#36017"
-msgid "Adapter found, but libCEC is not available"
+msgid "Could not initialise the CEC adapter: libCEC was not found on your system."
msgstr ""
msgctxt "#36018"
@@ -8921,3 +8917,31 @@ msgctxt "#36025"
msgid "Send 'inactive source' command when stopping XBMC"
msgstr ""
+msgctxt "#36026"
+msgid "Put devices in standby mode when putting the PC in standby"
+msgstr ""
+
+msgctxt "#36027"
+msgid "This device needs servicing"
+msgstr ""
+
+msgctxt "#36028"
+msgid "Ignore"
+msgstr ""
+
+msgctxt "#36029"
+msgid "When the TV is switched off"
+msgstr ""
+
+msgctxt "#36030"
+msgid "Connection lost"
+msgstr ""
+
+msgctxt "#36031"
+msgid "This user does not have permissions to open the CEC adapter"
+msgstr ""
+
+msgctxt "#36032"
+msgid "The port is busy. Only one program can access the CEC adapter"
+msgstr ""
+
@@ -8862,21 +8862,17 @@ msgid "Put devices in standby mode when activating screensaver"
msgstr "Сложи устройствата на стендбай, когато се активира скрийнсейвър"
msgctxt "#36011"
-msgid "Could not detect the CEC port. Set it up manually."
+msgid "Could not detect the CEC com port. Set it up manually."
msgstr "Не мога да открия порт CEC. Настройте ръчно."
msgctxt "#36012"
-msgid "Could not initialise the CEC adapter. Check your settings."
+msgid "Could not initialise the CEC adapter. Please check your settings."
msgstr "Не мога да открия адаптер CEC."
msgctxt "#36013"
msgid "Unsupported libCEC interface version. %d is greater than the version XBMC supports (%d)"
msgstr "Неподдържана libcec интерфейс версия. %d е по-голяма от поддържаната от XBMC (%d)"
-msgctxt "#36014"
-msgid "Put this PC in standby mode when the TV is switched off"
-msgstr "Компютъра на стендбай, когато телевизора е изключен"
-
msgctxt "#36015"
msgid "HDMI port number"
msgstr "HDMI номер"
@@ -8886,7 +8882,7 @@ msgid "Connected"
msgstr "Свързан"
msgctxt "#36017"
-msgid "Adapter found, but libCEC is not available"
+msgid "Could not initialise the CEC adapter: libCEC was not found on your system."
msgstr "Адаптера е намерен, но libcec не е достъпен"
msgctxt "#36018"
@@ -8921,3 +8917,31 @@ msgctxt "#36025"
msgid "Send 'inactive source' command when stopping XBMC"
msgstr ""
+msgctxt "#36026"
+msgid "Put devices in standby mode when putting the PC in standby"
+msgstr ""
+
+msgctxt "#36027"
+msgid "This device needs servicing"
+msgstr ""
+
+msgctxt "#36028"
+msgid "Ignore"
+msgstr ""
+
+msgctxt "#36029"
+msgid "When the TV is switched off"
+msgstr ""
+
+msgctxt "#36030"
+msgid "Connection lost"
+msgstr ""
+
+msgctxt "#36031"
+msgid "This user does not have permissions to open the CEC adapter"
+msgstr ""
+
+msgctxt "#36032"
+msgid "The port is busy. Only one program can access the CEC adapter"
+msgstr ""
+
Oops, something went wrong.

0 comments on commit ea9f2f0

Please sign in to comment.