Lars Op den Kamp [Sun, 10 Jun 2012 09:14:45 +0000 (11:14 +0200)]
cec: get the vendor id of the TV before allocating logical addresses, so we can determine if the TV supports the requested device type directly. for panasonic, this means that a playback device will be allocated directly, instead of allocating a recording device first and switching to playback device afterwards, which may possibly confuse the tv
cec: changed - libcec_configuration.bAutodetectAddress is now read-only, and will be set to 1 by libCEC if the PA was autodetected. changed the order in CCECClient::SetPhysicalAddress() so it first checks whether a PA override is set in libcec_configuration.iPhysicalAddress, then checks whether the address can be detected, and if both failed it'll use the HDMI port + base device setting
Lars Op den Kamp [Thu, 31 May 2012 20:51:38 +0000 (22:51 +0200)]
cec: don't respond with a poll from the broadcast address when receiving in CSLCommandHandler::HandleDeviceVendorId(), but use the primary LA of the client as source instead
Lars Op den Kamp [Wed, 16 May 2012 08:38:00 +0000 (10:38 +0200)]
sync the /debian dir with the one in precise (with a couple of changes), because the package name was changed in debian/ubuntu, and the upgrades we provide weren't pulled because of that. provides a transitional libcec -> libcec1 package
Lars Op den Kamp [Mon, 14 May 2012 13:05:34 +0000 (15:05 +0200)]
cec: bump version to 1.6.3. check the client version, not the server version in libcec_configuration::operator==(). added a new setting, bMonitorOnly, which will start a monitor-only client.
Lars Op den Kamp [Mon, 14 May 2012 11:53:15 +0000 (13:53 +0200)]
cec: check if the processor thread is marked as initialised, not if the thread is running. check if the thread is running too, not just if the port is open in CUSBCECAdapterCommunication
Lars Op den Kamp [Thu, 10 May 2012 22:30:16 +0000 (00:30 +0200)]
cec: fixed - ensure that the correct libCEC version is set after initialising the adapter. ensure that we don't crash out when trying to stop a thread that hasn't been started yet
cec: send a feature abort again for all unhandled commands, removed statics, refactored CLibCEC so a client registers itself within CCECProcessor, which then allocates one or more logical addresses for it. This is needed for multi-client support later. bugzid: 466
Lars Op den Kamp [Sat, 28 Apr 2012 00:02:48 +0000 (02:02 +0200)]
cec: don't reset the power state to powered off when not the active source, or the TV will can a power keypress, which will switch off the pc instead of making it the active source
Lars Op den Kamp [Fri, 27 Apr 2012 16:44:00 +0000 (18:44 +0200)]
cec: don't exit libCEC if the physical address couldn't be set when initialising, but revert to the default physical address and display a warning instead
Lars Op den Kamp [Thu, 26 Apr 2012 11:10:56 +0000 (13:10 +0200)]
cec: don't set the power status to 'powered off' when marking the source managed by libcec as inactive, or the tv will might send a power control keycode when making it active again, potentially shutting down the system
Lars Op den Kamp [Thu, 26 Apr 2012 09:29:17 +0000 (11:29 +0200)]
cec: fixed - don't request the PA of devices when handling an incoming CEC command, or it'll block things while waiting for a response. if that response never comes, or comes late, then other incoming commands will be timed out before they are handled
Lars Op den Kamp [Wed, 25 Apr 2012 13:45:29 +0000 (15:45 +0200)]
cec: added the firmware build date to libcec_configuration, so it can be displayed by the client too. added missing strDeviceLanguage setting in CCECProcessor::GetCurrentConfiguration()
Lars Op den Kamp [Wed, 25 Apr 2012 13:21:16 +0000 (15:21 +0200)]
cec: also log the libCEC version in the 'connected to the CEC adapter' log entry, and add the firmware build date to the line if it's available, so all relevant version info is available in 1 log line. log the firmware build date in GMT, not local time