deb_libcec.git
11 years agoensure that we only send 'image view on' when needed
Lars Op den Kamp [Wed, 14 Nov 2012 00:08:04 +0000 (01:08 +0100)] 
ensure that we only send 'image view on' when needed

11 years agoRevert "updated CEC_LATEST_ADAPTER_FW_DATE". Update this after we released the firmware.
Lars Op den Kamp [Tue, 13 Nov 2012 13:25:06 +0000 (14:25 +0100)] 
Revert "updated CEC_LATEST_ADAPTER_FW_DATE". Update this after we released the firmware.

This reverts commit 82a7cf7e6b0dde638f3e6572cf401c10807d733e.

11 years agofixed: mark the TV as 'in transition standby -> on' after sending 'image view on...
Lars Op den Kamp [Tue, 13 Nov 2012 13:14:09 +0000 (14:14 +0100)] 
fixed: mark the TV as 'in transition standby -> on' after sending 'image view on', so we don't spam the TV with 'image view on' command while waiting for it to finish powering up. bugzid: 1603. bugzid: 1609. bugzid: 1592

11 years agoonly mark a device as active source from cache if it's powered on
Lars Op den Kamp [Mon, 12 Nov 2012 23:30:09 +0000 (00:30 +0100)] 
only mark a device as active source from cache if it's powered on

11 years agoupdated CEC_LATEST_ADAPTER_FW_DATE
Lars Op den Kamp [Mon, 12 Nov 2012 20:59:57 +0000 (21:59 +0100)] 
updated CEC_LATEST_ADAPTER_FW_DATE

11 years agosignal all waiting threads when receiving an active source message, cache the current...
Lars Op den Kamp [Mon, 12 Nov 2012 16:42:20 +0000 (17:42 +0100)] 
signal all waiting threads when receiving an active source message, cache the current active source address, so the info doesn't get lost when we don't know the physical address yet. fixes incorrect or slow active source queries

11 years agofixed - request the active source before requesting device information in cec-client...
Lars Op den Kamp [Mon, 12 Nov 2012 15:34:39 +0000 (16:34 +0100)] 
fixed - request the active source before requesting device information in cec-client, or it'll display incorrect information when called the first time

11 years agoupdate the value of CCECProcessor::m_bMonitor when registering a client. SetControlle...
Lars Op den Kamp [Mon, 12 Nov 2012 15:25:25 +0000 (16:25 +0100)] 
update the value of CCECProcessor::m_bMonitor when registering a client. SetControlled() wasn't called on exit, so it took 30 seconds until it was auto-enabled

11 years agomark the adapter as (in)active source for firmware v3+
Lars Op den Kamp [Mon, 12 Nov 2012 15:04:12 +0000 (16:04 +0100)] 
mark the adapter as (in)active source for firmware v3+

11 years agosilence 'unused' warning properly. closes #86
Lars Op den Kamp [Mon, 12 Nov 2012 09:27:23 +0000 (10:27 +0100)] 
silence 'unused' warning properly. closes #86

11 years agofixed - only change the type of the client to 'playback device' instead of 'recorder...
Lars Op den Kamp [Fri, 9 Nov 2012 15:39:34 +0000 (16:39 +0100)] 
fixed - only change the type of the client to 'playback device' instead of 'recorder' for panasonic if the TV is a panasonic. issue #84

11 years agoalways poll the TV if it's marked as not present. issue #83. issue #84
Lars Op den Kamp [Fri, 9 Nov 2012 15:32:55 +0000 (16:32 +0100)] 
always poll the TV if it's marked as not present. issue #83. issue #84

11 years agofixed - only set m_iCurrentButton when the duration isn't known yet. fixes duplicate...
Lars Op den Kamp [Fri, 9 Nov 2012 13:39:38 +0000 (14:39 +0100)] 
fixed - only set m_iCurrentButton when the duration isn't known yet. fixes duplicate key press for vendor remote codes. closes #81

11 years agofixed: delete the right registry key
Martin Ellis [Thu, 8 Nov 2012 20:07:49 +0000 (20:07 +0000)] 
fixed: delete the right registry key

11 years agocosmetics: captialisation of words
Martin Ellis [Thu, 8 Nov 2012 20:07:23 +0000 (20:07 +0000)] 
cosmetics: captialisation of words

11 years agoMerge branch 'master' into release
Lars Op den Kamp [Wed, 31 Oct 2012 14:58:41 +0000 (15:58 +0100)] 
Merge branch 'master' into release

11 years agochangelog updated for 2.0.3
Lars Op den Kamp [Wed, 31 Oct 2012 14:57:57 +0000 (15:57 +0100)] 
changelog updated for 2.0.3

11 years agoincreased double tap timeout to 250ms
Lars Op den Kamp [Wed, 31 Oct 2012 14:55:42 +0000 (15:55 +0100)] 
increased double tap timeout to 250ms

11 years agorenamed CuBox and NXP* to TDA995x
Lars Op den Kamp [Wed, 31 Oct 2012 14:45:14 +0000 (15:45 +0100)] 
renamed CuBox and NXP* to TDA995x

11 years agoadded bootstrap script. updated README
Lars Op den Kamp [Wed, 31 Oct 2012 14:37:15 +0000 (15:37 +0100)] 
added bootstrap script. updated README

11 years agobump version number to 2.0.3 and updated changelog
Lars Op den Kamp [Wed, 31 Oct 2012 11:05:53 +0000 (12:05 +0100)] 
bump version number to 2.0.3 and updated changelog

11 years agofixed - LG doesn't send routing changes, and marks the TV as active source when switc...
Lars Op den Kamp [Wed, 31 Oct 2012 12:36:03 +0000 (13:36 +0100)] 
fixed - LG doesn't send routing changes, and marks the TV as active source when switching to another source that's not been selected in the simplink menu instead. this change keeps libCEC marked as powered on and keep the deck state set to CEC_DECK_INFO_OTHER_STATUS_LG. fixes keypresses not working after switching to another source and back to libCEC's hdmi port via the source select menu instead of the simplink menu. github issue #71

11 years agolog what data we received exactly when we receive an response from the pi's firmware...
Lars Op den Kamp [Wed, 31 Oct 2012 10:08:59 +0000 (11:08 +0100)] 
log what data we received exactly when we receive an response from the pi's firmware that doesn't match any command that we sent. issue #77

11 years agofixed - some TVs send keypresses to us without making us the active source. mark...
Lars Op den Kamp [Thu, 25 Oct 2012 12:26:23 +0000 (14:26 +0200)] 
fixed - some TVs send keypresses to us without making us the active source. mark us as active source when this happens. issue #71

11 years agofix for LG models that send a vendor key up after a normal key down. issue #71
Lars Op den Kamp [Thu, 25 Oct 2012 12:14:54 +0000 (14:14 +0200)] 
fix for LG models that send a vendor key up after a normal key down. issue #71

11 years agorespond with CEC_ABORT_REASON_INVALID_OPERAND when receiving a keypress without a...
Lars Op den Kamp [Thu, 25 Oct 2012 11:58:12 +0000 (13:58 +0200)] 
respond with CEC_ABORT_REASON_INVALID_OPERAND when receiving a keypress without a parameter

11 years agolog unhandled vendor remote keycodes in the log, so they get logged without debugging...
Lars Op den Kamp [Thu, 25 Oct 2012 11:56:43 +0000 (13:56 +0200)] 
log unhandled vendor remote keycodes in the log, so they get logged without debugging enabled

11 years agofixed typo in stop+pause combo key
Lars Op den Kamp [Thu, 25 Oct 2012 10:12:25 +0000 (12:12 +0200)] 
fixed typo in stop+pause combo key

11 years agofixed - don't respond with an abort message when receiving a vendor remote button...
Lars Op den Kamp [Thu, 25 Oct 2012 08:51:51 +0000 (10:51 +0200)] 
fixed - don't respond with an abort message when receiving a vendor remote button command

11 years agofixed - don't try to set controlled mode when using firmware version 1 and crash...
Lars Op den Kamp [Tue, 23 Oct 2012 13:28:53 +0000 (15:28 +0200)] 
fixed - don't try to set controlled mode when using firmware version 1 and crash. closes #76

11 years agoMerge pull request #73 from warped-rudi/Pulse-Eight
Lars Op den Kamp [Fri, 19 Oct 2012 08:01:22 +0000 (01:01 -0700)] 
Merge pull request #73 from warped-rudi/Pulse-Eight

Added adapter ID interface for NXP (CuBox)

11 years agoAdded adapter ID interface
warped-rudi [Fri, 19 Oct 2012 05:56:19 +0000 (07:56 +0200)] 
Added adapter ID interface

11 years agofixed - new combo key handling broke samsung's vendor specific remote buttons. github...
Lars Op den Kamp [Thu, 18 Oct 2012 14:45:54 +0000 (16:45 +0200)] 
fixed - new combo key handling broke samsung's vendor specific remote buttons. github issue #54

11 years agofixed handling of active route changes. github issue #56 and issue #58
Lars Op den Kamp [Thu, 18 Oct 2012 13:58:17 +0000 (15:58 +0200)] 
fixed handling of active route changes. github issue #56 and issue #58

11 years agoadded CCECDeviceMap::GetChildrenOf()
Lars Op den Kamp [Thu, 18 Oct 2012 13:50:07 +0000 (15:50 +0200)] 
added CCECDeviceMap::GetChildrenOf()

11 years agoadded CCECTypeUtils::PhysicalAddressIsIncluded()
Lars Op den Kamp [Thu, 18 Oct 2012 11:51:42 +0000 (13:51 +0200)] 
added CCECTypeUtils::PhysicalAddressIsIncluded()

11 years agoMerge branch 'master' into release
Lars Op den Kamp [Mon, 15 Oct 2012 15:27:38 +0000 (17:27 +0200)] 
Merge branch 'master' into release

11 years agoMerge branch 'development'. closes #67
Lars Op den Kamp [Mon, 15 Oct 2012 12:11:32 +0000 (14:11 +0200)] 
Merge branch 'development'. closes #67

11 years agofixed typo. closes #69
Lars Op den Kamp [Mon, 15 Oct 2012 12:08:21 +0000 (14:08 +0200)] 
fixed typo. closes #69

11 years agobumped version and updated changelog
Lars Op den Kamp [Mon, 15 Oct 2012 11:52:37 +0000 (13:52 +0200)] 
bumped version and updated changelog

11 years agoupdate the device status to CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON after sendin...
Lars Op den Kamp [Mon, 15 Oct 2012 11:34:35 +0000 (13:34 +0200)] 
update the device status to CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON after sending an image view on command and the status isn't 'on' yet

11 years agobit less bus and log spamming while waiting for the tv to power up
Lars Op den Kamp [Mon, 15 Oct 2012 11:26:45 +0000 (13:26 +0200)] 
bit less bus and log spamming while waiting for the tv to power up

11 years agofixed - reset CVLCommandHandler::m_bCapabilitiesSent when the TV goes to standby
Lars Op den Kamp [Mon, 15 Oct 2012 11:03:26 +0000 (13:03 +0200)] 
fixed - reset CVLCommandHandler::m_bCapabilitiesSent when the TV goes to standby

11 years agofixed - don't keep spamming the bus with a vendor command when an active source switc...
Lars Op den Kamp [Mon, 15 Oct 2012 11:02:09 +0000 (13:02 +0200)] 
fixed - don't keep spamming the bus with a vendor command when an active source switch is pending for panasonic, but only send it when needed

11 years agoless debug logging by default
Lars Op den Kamp [Mon, 15 Oct 2012 10:15:23 +0000 (12:15 +0200)] 
less debug logging by default

11 years agofixed - updating the device status after a poll was broken and could reset the status...
Lars Op den Kamp [Mon, 15 Oct 2012 10:13:09 +0000 (12:13 +0200)] 
fixed - updating the device status after a poll was broken and could reset the status of devices that were marked as handled by libCEC to 'not present'

11 years agoMerge branch 'master' into release
Lars Op den Kamp [Thu, 11 Oct 2012 15:14:12 +0000 (17:14 +0200)] 
Merge branch 'master' into release

11 years agoMerge branch 'development'
Lars Op den Kamp [Thu, 11 Oct 2012 14:55:12 +0000 (16:55 +0200)] 
Merge branch 'development'

11 years agobump to 2.0.1 and updated changelog
Lars Op den Kamp [Thu, 11 Oct 2012 13:48:52 +0000 (15:48 +0200)] 
bump to 2.0.1 and updated changelog

11 years agolog what we received exactly when logging FIXME
Lars Op den Kamp [Thu, 11 Oct 2012 13:25:27 +0000 (15:25 +0200)] 
log what we received exactly when logging FIXME

11 years agofixed - typo in CVLCommandHandler::VendorPreActivateSourceHook. bugzid: 1087
Lars Op den Kamp [Thu, 11 Oct 2012 13:13:53 +0000 (15:13 +0200)] 
fixed - typo in CVLCommandHandler::VendorPreActivateSourceHook. bugzid: 1087

11 years agofixed - if we failed to get the physical address of the device that we are connected...
Lars Op den Kamp [Thu, 11 Oct 2012 12:58:53 +0000 (14:58 +0200)] 
fixed - if we failed to get the physical address of the device that we are connected to in the config, then try to use the address that was persisted in the eeprom before resetting to the default value, 1.0.0.0. closes #50.

11 years agofixed - don't update the device status of unregistered/broadcast
Lars Op den Kamp [Thu, 11 Oct 2012 12:41:57 +0000 (14:41 +0200)] 
fixed - don't update the device status of unregistered/broadcast

11 years agofixed - log all device status changes
Lars Op den Kamp [Thu, 11 Oct 2012 12:34:43 +0000 (14:34 +0200)] 
fixed - log all device status changes

11 years agolower retry timeout for source switches
Lars Op den Kamp [Thu, 11 Oct 2012 12:14:58 +0000 (14:14 +0200)] 
lower retry timeout for source switches

11 years agocec-client: fixed - wait for the source switch to finish when cec-client is called...
Lars Op den Kamp [Thu, 11 Oct 2012 12:13:22 +0000 (14:13 +0200)] 
cec-client: fixed - wait for the source switch to finish when cec-client is called with the -s switch

11 years agofixed - CCECClient::IsLibCECActiveSource returns false now while the active source...
Lars Op den Kamp [Thu, 11 Oct 2012 12:12:25 +0000 (14:12 +0200)] 
fixed - CCECClient::IsLibCECActiveSource returns false now while the active source command is pending

11 years agofixed - log failed acks and other errors in the debug log again
Lars Op den Kamp [Thu, 11 Oct 2012 12:02:21 +0000 (14:02 +0200)] 
fixed - log failed acks and other errors in the debug log again

11 years agorequest the power status of the TV directly after registering a new client
Lars Op den Kamp [Thu, 11 Oct 2012 11:21:09 +0000 (13:21 +0200)] 
request the power status of the TV directly after registering a new client

11 years agofixed - don't send 'image view on' when the TV is already powering up
Lars Op den Kamp [Thu, 11 Oct 2012 11:19:40 +0000 (13:19 +0200)] 
fixed - don't send 'image view on' when the TV is already powering up

11 years agofixed - don't keep waiting for an updated power status from the TV for Panasonic...
Lars Op den Kamp [Thu, 11 Oct 2012 11:19:04 +0000 (13:19 +0200)] 
fixed - don't keep waiting for an updated power status from the TV for Panasonic, but request a status update once every 5 seconds, or we can possibly wait forever for the tv to send it

11 years agofixed - reset the delayed source switch timeout properly, so we don't spam commands...
Lars Op den Kamp [Thu, 11 Oct 2012 10:59:15 +0000 (12:59 +0200)] 
fixed - reset the delayed source switch timeout properly, so we don't spam commands every second

11 years agofixed - don't change the device status when sending a delayed source switch
Lars Op den Kamp [Thu, 11 Oct 2012 10:56:56 +0000 (12:56 +0200)] 
fixed - don't change the device status when sending a delayed source switch

11 years agodon't send out commands to a device that is marked as not present or handled by libCEC
Lars Op den Kamp [Thu, 11 Oct 2012 10:51:29 +0000 (12:51 +0200)] 
don't send out commands to a device that is marked as not present or handled by libCEC

11 years agofixed - don't keep trying to send 'image view on' commands to the TV when no TV is...
Lars Op den Kamp [Thu, 11 Oct 2012 10:41:26 +0000 (12:41 +0200)] 
fixed - don't keep trying to send 'image view on' commands to the TV when no TV is connected, and just send the 'set active source' command. fixes source switch and debug log spam for people without a TV connected

11 years agoMerge branch 'development' into release
Lars Op den Kamp [Tue, 9 Oct 2012 11:17:25 +0000 (13:17 +0200)] 
Merge branch 'development' into release

11 years agoMerge pull request #62 from Fneufneu/freebsd_fix
Lars Op den Kamp [Tue, 9 Oct 2012 11:14:32 +0000 (04:14 -0700)] 
Merge pull request #62 from Fneufneu/freebsd_fix

[FreeBSD] fix unused strDevicePath variable

11 years agofixed darwin compilation
Lars Op den Kamp [Tue, 9 Oct 2012 11:05:29 +0000 (13:05 +0200)] 
fixed darwin compilation

11 years ago[FreeBSD] fix unused strDevicePath variable
Fneufneu [Tue, 9 Oct 2012 09:43:18 +0000 (11:43 +0200)] 
[FreeBSD] fix unused strDevicePath variable

11 years agoMerge branch 'master' into release
Lars Op den Kamp [Mon, 8 Oct 2012 23:06:56 +0000 (01:06 +0200)] 
Merge branch 'master' into release

11 years agoMerge branch 'development'
Lars Op den Kamp [Mon, 8 Oct 2012 19:32:06 +0000 (21:32 +0200)] 
Merge branch 'development'

11 years agoupdated changelog
Lars Op den Kamp [Mon, 8 Oct 2012 19:31:05 +0000 (21:31 +0200)] 
updated changelog

11 years agoMerge remote-tracking branch 'warped-rudi/cubox-stable' into development. Closes #50
Lars Op den Kamp [Mon, 8 Oct 2012 18:24:03 +0000 (20:24 +0200)] 
Merge remote-tracking branch 'warped-rudi/cubox-stable' into development. Closes #50

11 years agodon't get caught in a loop in CVLCommandHandler when the source switch was not allowe...
Lars Op den Kamp [Mon, 8 Oct 2012 16:14:05 +0000 (18:14 +0200)] 
don't get caught in a loop in CVLCommandHandler when the source switch was not allowed and no power status request was sent

11 years agofixed - always send image view on to the tv, don't check the power status
Lars Op den Kamp [Mon, 8 Oct 2012 15:37:58 +0000 (17:37 +0200)] 
fixed - always send image view on to the tv, don't check the power status

11 years agoadded iDoubleTapTimeoutMs to libcec_configuration
Lars Op den Kamp [Mon, 8 Oct 2012 13:54:28 +0000 (15:54 +0200)] 
added iDoubleTapTimeoutMs to libcec_configuration

11 years agofixed - only respond to vendor commands for panasonic if we are the destination
Lars Op den Kamp [Mon, 8 Oct 2012 12:19:31 +0000 (14:19 +0200)] 
fixed - only respond to vendor commands for panasonic if we are the destination

11 years agoremove all pre-v2.0 compatibility checks
Lars Op den Kamp [Mon, 8 Oct 2012 12:12:38 +0000 (14:12 +0200)] 
remove all pre-v2.0 compatibility checks

11 years agocosmetics: format physical address as %x.%x.%x.%x instead of %04x
Lars Op den Kamp [Mon, 8 Oct 2012 11:50:33 +0000 (13:50 +0200)] 
cosmetics: format physical address as %x.%x.%x.%x instead of %04x

11 years agoupdated .gitignore
Lars Op den Kamp [Sun, 7 Oct 2012 23:09:41 +0000 (01:09 +0200)] 
updated .gitignore

11 years agocompile with -Werror
Lars Op den Kamp [Sun, 7 Oct 2012 22:20:44 +0000 (00:20 +0200)] 
compile with -Werror

11 years agoreplaced previous libcec1 packages
Lars Op den Kamp [Sun, 7 Oct 2012 22:14:53 +0000 (00:14 +0200)] 
replaced previous libcec1 packages

11 years agosilence signed overflow warning
Lars Op den Kamp [Sun, 7 Oct 2012 22:13:48 +0000 (00:13 +0200)] 
silence signed overflow warning

11 years agosync StdString.h
Lars Op den Kamp [Sun, 7 Oct 2012 22:06:08 +0000 (00:06 +0200)] 
sync StdString.h

11 years agofixed typo that disabled the start application button in the ui
Lars Op den Kamp [Sun, 7 Oct 2012 19:05:26 +0000 (21:05 +0200)] 
fixed typo that disabled the start application button in the ui

11 years agoadded new settings from xbmc to LibCecTray
Lars Op den Kamp [Sun, 7 Oct 2012 19:02:02 +0000 (21:02 +0200)] 
added new settings from xbmc to LibCecTray

11 years agoupdated changelog
Lars Op den Kamp [Sun, 7 Oct 2012 16:54:05 +0000 (18:54 +0200)] 
updated changelog

11 years agofixed - no more delay up to 2 seconds when exiting libCEC
Lars Op den Kamp [Sun, 7 Oct 2012 15:08:42 +0000 (17:08 +0200)] 
fixed - no more delay up to 2 seconds when exiting libCEC

11 years agofall back to the primary client when CCECProcessor::HandleLogicalAddressLost() and...
Lars Op den Kamp [Sun, 7 Oct 2012 13:10:12 +0000 (15:10 +0200)] 
fall back to the primary client when CCECProcessor::HandleLogicalAddressLost() and no client could be found

11 years agorpi: current firmware first sends a change to logical address 'broadcast' and then...
Lars Op den Kamp [Sun, 7 Oct 2012 12:20:23 +0000 (14:20 +0200)] 
rpi: current firmware first sends a change to logical address 'broadcast' and then signals us that the address was lost. libCEC then failed to re-register, because it didn't know any client at this address

11 years agoprevent double taps by not sending the same key press twice within 200ms
Lars Op den Kamp [Sun, 7 Oct 2012 10:07:47 +0000 (12:07 +0200)] 
prevent double taps by not sending the same key press twice within 200ms

11 years agochanged some log levels from NOTICE to DEBUG, so the non-debugging output is less...
Lars Op den Kamp [Sun, 7 Oct 2012 09:37:38 +0000 (11:37 +0200)] 
changed some log levels from NOTICE to DEBUG, so the non-debugging output is less spammy

11 years agofixed return values of cec_get_adapter_vendor_id() and cec_get_adapter_product_id()
Lars Op den Kamp [Sun, 7 Oct 2012 09:29:35 +0000 (11:29 +0200)] 
fixed return values of cec_get_adapter_vendor_id() and cec_get_adapter_product_id()

11 years agoexit LibCecTray when we detect that XBMC was started
Lars Op den Kamp [Sun, 7 Oct 2012 00:46:26 +0000 (02:46 +0200)] 
exit LibCecTray when we detect that XBMC was started

11 years agofixed duplicate entry and entry for 'unknown' in the button config list
Lars Op den Kamp [Sat, 6 Oct 2012 18:56:41 +0000 (20:56 +0200)] 
fixed duplicate entry and entry for 'unknown' in the button config list

11 years agofixed - show/hide toggle when hiding the app via the taskbar
Lars Op den Kamp [Sat, 6 Oct 2012 18:44:14 +0000 (20:44 +0200)] 
fixed - show/hide toggle when hiding the app via the taskbar

11 years agostore inactive source setting
Lars Op den Kamp [Sat, 6 Oct 2012 18:39:41 +0000 (20:39 +0200)] 
store inactive source setting

11 years agosave the correct xml file in LibCecTray, so XBMC picks up the correct config
Lars Op den Kamp [Sat, 6 Oct 2012 15:55:23 +0000 (17:55 +0200)] 
save the correct xml file in LibCecTray, so XBMC picks up the correct config

11 years agoadded GetAdapterProductId()+GetAdapterVendorId()/cec_get_adapter_product_id()+cec_get...
Lars Op den Kamp [Sat, 6 Oct 2012 12:39:07 +0000 (14:39 +0200)] 
added GetAdapterProductId()+GetAdapterVendorId()/cec_get_adapter_product_id()+cec_get_adapter_vendor_id()

11 years agoload and save the 2548:1002 config for XBMC too. try to create the profile directory...
Lars Op den Kamp [Sat, 6 Oct 2012 12:12:45 +0000 (14:12 +0200)] 
load and save the 2548:1002 config for XBMC too. try to create the profile directory if the tray tool was started before starting XBMC for the first time