deb_libcec.git
12 years agocec: return false from CUSBCECAdapterCommunication::Open() when no thread could be...
Lars Op den Kamp [Mon, 26 Mar 2012 14:25:00 +0000 (16:25 +0200)] 
cec: return false from CUSBCECAdapterCommunication::Open() when no thread could be created

12 years agocec: check whether the destination is valid before setting anything in m_bWaitingForA...
Lars Op den Kamp [Mon, 26 Mar 2012 14:18:43 +0000 (16:18 +0200)] 
cec: check whether the destination is valid before setting anything in m_bWaitingForAck. fixes heap corruption and crash on exit. bugzid: 479

12 years agocec: fixed compiler warning in cec-client
Lars Op den Kamp [Mon, 26 Mar 2012 00:17:10 +0000 (02:17 +0200)] 
cec: fixed compiler warning in cec-client

12 years agocec: fixed - CUSBCECAdapterCommunication::SendCommand() accessed a message that was...
Lars Op den Kamp [Fri, 23 Mar 2012 16:41:19 +0000 (17:41 +0100)] 
cec: fixed - CUSBCECAdapterCommunication::SendCommand() accessed a message that was already deleted

12 years agocec: fix crash on exit after GetDeviceInformation()
Lars Op den Kamp [Fri, 23 Mar 2012 16:01:36 +0000 (17:01 +0100)] 
cec: fix crash on exit after GetDeviceInformation()

12 years agocec: added the firmware version to cec-client's -l / --list-devices command. bugzid...
Lars Op den Kamp [Fri, 23 Mar 2012 10:52:10 +0000 (11:52 +0100)] 
cec: added the firmware version to cec-client's -l / --list-devices command. bugzid: 631

12 years agocec: added the firmware version to libcec_configuration (read-only). bumped server...
Lars Op den Kamp [Fri, 23 Mar 2012 09:57:37 +0000 (10:57 +0100)] 
cec: added the firmware version to libcec_configuration (read-only). bumped server version to 1.6.0. fixed 'unknown server version' message on startup. bugzid: 631

12 years agocec: always wait for thread exit in CThread's desctructor
Lars Op den Kamp [Fri, 23 Mar 2012 09:38:20 +0000 (10:38 +0100)] 
cec: always wait for thread exit in CThread's desctructor

12 years agocec: call Close() when the connection could not be (fully) opened in CUSBCECAdapterCo...
Lars Op den Kamp [Thu, 22 Mar 2012 19:07:24 +0000 (20:07 +0100)] 
cec: call Close() when the connection could not be (fully) opened in CUSBCECAdapterCommunication::Open()

12 years agocec: don't return from the Close() method in CUSBCECAdapterCommunication, because...
Lars Op den Kamp [Thu, 22 Mar 2012 13:55:25 +0000 (14:55 +0100)] 
cec: don't return from the Close() method in CUSBCECAdapterCommunication, because then it libCEC will try to delete it while it's still being used.

12 years agocec: reset m_socket to INVALID_SERIAL_SOCKET_VALUE after closing the connection
Lars Op den Kamp [Thu, 22 Mar 2012 13:03:33 +0000 (14:03 +0100)] 
cec: reset m_socket to INVALID_SERIAL_SOCKET_VALUE after closing the connection

12 years agocec: added guards in CSerialPort
Lars Op den Kamp [Thu, 22 Mar 2012 12:03:08 +0000 (13:03 +0100)] 
cec: added guards in CSerialPort

12 years agocec: fixed - the destructor of CSerialSocket didn't call Close()
Lars Op den Kamp [Thu, 22 Mar 2012 11:15:53 +0000 (12:15 +0100)] 
cec: fixed - the destructor of CSerialSocket didn't call Close()

12 years agocec: update m_iLineTimeout correctly in CUSBCECAdapterCommunication::SetLineTimeout()
Lars Op den Kamp [Thu, 22 Mar 2012 10:44:04 +0000 (11:44 +0100)] 
cec: update m_iLineTimeout correctly in CUSBCECAdapterCommunication::SetLineTimeout()

12 years agocec: fixed - frequency wasn't checked in GetTimeMs(), leading to incorrect wait times...
Lars Op den Kamp [Wed, 21 Mar 2012 15:17:30 +0000 (16:17 +0100)] 
cec: fixed - frequency wasn't checked in GetTimeMs(), leading to incorrect wait times on some windows systems

12 years agocec: Correct handling CEC_USER_CONTROL_CODE_POWER
Mark Kendall [Wed, 21 Mar 2012 11:36:41 +0000 (11:36 +0000)] 
cec: Correct handling CEC_USER_CONTROL_CODE_POWER

This ensures that the power code always operates as a toggle, depending
on the current state, and that SetCurrentButton is always called for a
valid user control code.

Bugzid: 570

12 years agocec: fixed possible crash when in CLibCEC::IsLibCECActiveSource() when libCEC doesn...
Lars Op den Kamp [Tue, 20 Mar 2012 16:08:28 +0000 (17:08 +0100)] 
cec: fixed possible crash when in CLibCEC::IsLibCECActiveSource() when libCEC doesn't know which device is the active source. bugzid: 479

12 years agocec: ensure that the vendor ID is sent before trying to activate any SL device. bugzi...
Lars Op den Kamp [Mon, 19 Mar 2012 15:30:12 +0000 (16:30 +0100)] 
cec: ensure that the vendor ID is sent before trying to activate any SL device. bugzid: 574

12 years agocec: mark the correct device as active source after a stream path change. if the...
Lars Op den Kamp [Mon, 19 Mar 2012 14:21:29 +0000 (15:21 +0100)] 
cec: mark the correct device as active source after a stream path change. if the new address is not found, but the old address is, then mark the old address as inactive. fixes TV switching back to the old active source when it scans for devices. bugzid: 592

12 years agocec: don't log polls and don't cut off messages that start with the ack bit set,...
Lars Op den Kamp [Mon, 19 Mar 2012 14:07:21 +0000 (15:07 +0100)] 
cec: don't log polls and don't cut off messages that start with the ack bit set, but that are not a response (LG). bugzid: 591

12 years agocec: fix ACK handling after d297cbd4fc30bc93836532a9a31027b7e64150b3. bugzid: 591
Lars Op den Kamp [Mon, 19 Mar 2012 13:36:52 +0000 (14:36 +0100)] 
cec: fix ACK handling after d297cbd4fc30bc93836532a9a31027b7e64150b3. bugzid: 591

12 years agocec: wait for MSGEND when data was received when opening the connection. bugzid: 536
Lars Op den Kamp [Mon, 19 Mar 2012 12:05:06 +0000 (13:05 +0100)] 
cec: wait for MSGEND when data was received when opening the connection. bugzid: 536

12 years agocec: poll doesn't have an opcode. bugzid: 591
Lars Op den Kamp [Mon, 19 Mar 2012 11:46:32 +0000 (12:46 +0100)] 
cec: poll doesn't have an opcode. bugzid: 591

12 years agocec: fix gcc 4.7 compilation
Lars Op den Kamp [Mon, 19 Mar 2012 09:09:52 +0000 (10:09 +0100)] 
cec: fix gcc 4.7 compilation

12 years agoadded: -o/--osdname argument for cec-client to set a custom osd name
Bob van Loosen [Fri, 16 Mar 2012 16:59:22 +0000 (17:59 +0100)] 
added: -o/--osdname argument for cec-client to set a custom osd name

12 years agofixed: physical address was not printed correctly in CUSBCECAdapterCommunication...
Bob van Loosen [Thu, 15 Mar 2012 16:09:06 +0000 (17:09 +0100)] 
fixed: physical address was not printed correctly in CUSBCECAdapterCommunication::SetSettingPhysicalAddress

12 years agobumped version numbers to 1.5.3 and updated changelogs
Lars Op den Kamp [Fri, 16 Mar 2012 09:16:47 +0000 (10:16 +0100)] 
bumped version numbers to 1.5.3 and updated changelogs

12 years agoupdated: OS-X installation requirements and pointer
Martin Ellis [Thu, 15 Mar 2012 20:07:06 +0000 (20:07 +0000)] 
updated: OS-X installation requirements and pointer

12 years agofixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single...
Martin Ellis [Thu, 15 Mar 2012 19:51:38 +0000 (19:51 +0000)] 
fixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single line

12 years agocec: set controlled mode and retry to send the previous command if it failed with...
Lars Op den Kamp [Thu, 15 Mar 2012 12:27:18 +0000 (13:27 +0100)] 
cec: set controlled mode and retry to send the previous command if it failed with MSGCODE_COMMAND_REJECTED

12 years agocec: m_iLineTimeout was never initialised and used. fixes MSGCODE_REJECTED when trans...
Lars Op den Kamp [Thu, 15 Mar 2012 11:05:00 +0000 (12:05 +0100)] 
cec: m_iLineTimeout was never initialised and used. fixes MSGCODE_REJECTED when transmitting a message and incorrect line timeouts being used

12 years agofixed: mac configure compile bugzid: 157
Martin Ellis [Thu, 15 Mar 2012 08:57:22 +0000 (08:57 +0000)] 
fixed: mac configure compile bugzid: 157

12 years agocec-config-gui: fixed application exit when the user clicked 'no' when asked to recon...
Lars Op den Kamp [Wed, 14 Mar 2012 10:42:24 +0000 (11:42 +0100)] 
cec-config-gui: fixed application exit when the user clicked 'no' when asked to reconnect. bugzid: 556

12 years agocec: fixed compiler warning on win32
Lars Op den Kamp [Sat, 10 Mar 2012 09:16:44 +0000 (10:16 +0100)] 
cec: fixed compiler warning on win32

12 years agocec: sizes corrected. bugzid: 553
Lars Op den Kamp [Fri, 9 Mar 2012 14:18:38 +0000 (15:18 +0100)] 
cec: sizes corrected. bugzid: 553

12 years agocec-client: only read persisted EEPROM settings when -r or --rom is provided as cmdli...
Lars Op den Kamp [Fri, 9 Mar 2012 14:10:28 +0000 (15:10 +0100)] 
cec-client: only read persisted EEPROM settings when -r or --rom is provided as cmdline arg. bugzid: 543

12 years agocec-client: set bGetSettingsFromROM to 1 in cec-client. bugzid: 543
Lars Op den Kamp [Fri, 9 Mar 2012 14:06:24 +0000 (15:06 +0100)] 
cec-client: set bGetSettingsFromROM to 1 in cec-client. bugzid: 543

12 years agocec: read the correct packet length when requesting settings from the ROM. bugzid...
Lars Op den Kamp [Fri, 9 Mar 2012 13:43:07 +0000 (14:43 +0100)] 
cec: read the correct packet length when requesting settings from the ROM. bugzid: 543

12 years agocec: read the persisted settings from the ROM, and update it in libcec_configuration...
Lars Op den Kamp [Fri, 9 Mar 2012 13:38:30 +0000 (14:38 +0100)] 
cec: read the persisted settings from the ROM, and update it in libcec_configuration if found. bugzid: 543

12 years agocec: added GetSetting() to CUSBCECAdapterCommunication. bugzid: 543
Lars Op den Kamp [Fri, 9 Mar 2012 11:25:40 +0000 (12:25 +0100)] 
cec: added GetSetting() to CUSBCECAdapterCommunication. bugzid: 543

12 years agocec: fixed the log message when sending a command failed. bugzid: 543
Lars Op den Kamp [Fri, 9 Mar 2012 11:07:10 +0000 (12:07 +0100)] 
cec: fixed the log message when sending a command failed. bugzid: 543

12 years agocec: more cleanups in CUSBCECAdapterCommunication, and re-added SetLineTimeout()...
Lars Op den Kamp [Fri, 9 Mar 2012 10:45:36 +0000 (11:45 +0100)] 
cec: more cleanups in CUSBCECAdapterCommunication, and re-added SetLineTimeout(). bugzid: 543

12 years agocec: set the correct logical address mask before switching to autonomous mode. bugzid...
Lars Op den Kamp [Thu, 8 Mar 2012 19:57:43 +0000 (20:57 +0100)] 
cec: set the correct logical address mask before switching to autonomous mode. bugzid: 543

12 years agocec: cleanups. bugzid: 543
Lars Op den Kamp [Thu, 8 Mar 2012 19:39:22 +0000 (20:39 +0100)] 
cec: cleanups. bugzid: 543

12 years agocec: only wait for multiple 'command accepted' response when sending a transmit comma...
Lars Op den Kamp [Thu, 8 Mar 2012 19:21:42 +0000 (20:21 +0100)] 
cec: only wait for multiple 'command accepted' response when sending a transmit command, and only to 1 in other cases. bugzid: 543

12 years agocec: set the device type in the firmware too for v2 firmwares. bugzid: 543
Lars Op den Kamp [Thu, 8 Mar 2012 19:09:09 +0000 (20:09 +0100)] 
cec: set the device type in the firmware too for v2 firmwares. bugzid: 543

12 years agocec: try to set the other settings of one fails. bugzid: 543
Lars Op den Kamp [Thu, 8 Mar 2012 17:30:49 +0000 (18:30 +0100)] 
cec: try to set the other settings of one fails. bugzid: 543

12 years agocec: persist the configuration before closing the connection. only try to persist...
Lars Op den Kamp [Thu, 8 Mar 2012 17:19:38 +0000 (18:19 +0100)] 
cec: persist the configuration before closing the connection. only try to persist the configuration when talking to a v2 firmware. bugzid: 543

12 years agocec: included the logical addresses in the persisted configuration for v2. bugzid...
Lars Op den Kamp [Thu, 8 Mar 2012 17:12:31 +0000 (18:12 +0100)] 
cec: included the logical addresses in the persisted configuration for v2. bugzid: 543

12 years agocec: implemented the write methods for the v2 configuration. bugzid: 543
Lars Op den Kamp [Thu, 8 Mar 2012 15:25:04 +0000 (16:25 +0100)] 
cec: implemented the write methods for the v2 configuration. bugzid: 543

12 years agocec: added v2 msgcodes. bugzid: 543
Lars Op den Kamp [Thu, 8 Mar 2012 14:29:10 +0000 (15:29 +0100)] 
cec: added v2 msgcodes. bugzid: 543

12 years agocec: ping the adapter every 15 seconds. bugzid: 541
Lars Op den Kamp [Thu, 8 Mar 2012 14:19:44 +0000 (15:19 +0100)] 
cec: ping the adapter every 15 seconds. bugzid: 541

12 years agocec: call SetControlledMode(false) as last command when closing the connection in...
Lars Op den Kamp [Thu, 8 Mar 2012 14:12:30 +0000 (15:12 +0100)] 
cec: call SetControlledMode(false) as last command when closing the connection in v2. bugzid: 542

12 years agofixed: CUSBCECAdapterCommunication::SetControlledMode checked for the wrong sent...
Bob van Loosen [Tue, 6 Mar 2012 16:00:39 +0000 (17:00 +0100)] 
fixed: CUSBCECAdapterCommunication::SetControlledMode checked for the wrong sent state

12 years agoos-x: don't add 0.5 before dividing in GetTimeMs()
Lars Op den Kamp [Sun, 4 Mar 2012 09:45:18 +0000 (10:45 +0100)] 
os-x: don't add 0.5 before dividing in GetTimeMs()

12 years agofixed: compile
Bob van Loosen [Sat, 3 Mar 2012 22:26:52 +0000 (23:26 +0100)] 
fixed: compile

12 years agofixed: struct timespec now values weren't set correctly on osx
Bob van Loosen [Sat, 3 Mar 2012 16:36:28 +0000 (17:36 +0100)] 
fixed: struct timespec now values weren't set correctly on osx

12 years agoos-x: fixed GetTimeMs() on OS-X (hopefully). credits @bobo1on1
Lars Op den Kamp [Sat, 3 Mar 2012 16:17:37 +0000 (17:17 +0100)] 
os-x: fixed GetTimeMs() on OS-X (hopefully). credits @bobo1on1

12 years agoMerge pull request #27 from Fneufneu/master
Lars Op den Kamp [Sat, 3 Mar 2012 16:01:42 +0000 (08:01 -0800)] 
Merge pull request #27 from Fneufneu/master

FreeBSD support

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Sat, 3 Mar 2012 14:33:18 +0000 (15:33 +0100)] 
Merge branch 'master' into release

12 years agoupdated changelog and bumped version numbers for v1.5.2
Lars Op den Kamp [Sat, 3 Mar 2012 14:22:17 +0000 (15:22 +0100)] 
updated changelog and bumped version numbers for v1.5.2

12 years agowin32: removed StdString::Trim() call in cec-config. windows doesn't like it for...
Lars Op den Kamp [Sat, 3 Mar 2012 14:17:37 +0000 (15:17 +0100)] 
win32: removed StdString::Trim() call in cec-config. windows doesn't like it for some reason and it's just cosmetics. fixes compiler error on windows.

12 years agocec: default to firmware version 1 after 3 tries. some versions might not send this...
Lars Op den Kamp [Sat, 3 Mar 2012 14:09:55 +0000 (15:09 +0100)] 
cec: default to firmware version 1 after 3 tries. some versions might not send this info.

12 years agoadded 'libtool' to the prereq's for linux
Lars Op den Kamp [Thu, 1 Mar 2012 10:14:25 +0000 (11:14 +0100)] 
added 'libtool' to the prereq's for linux

12 years agofix OS-X compilation
Lars Op den Kamp [Wed, 29 Feb 2012 16:08:20 +0000 (17:08 +0100)] 
fix OS-X compilation

12 years agoMerge branch 'master' into release
Lars Op den Kamp [Wed, 29 Feb 2012 00:10:32 +0000 (01:10 +0100)] 
Merge branch 'master' into release

12 years agochangelog cosmetics
Lars Op den Kamp [Wed, 29 Feb 2012 00:10:18 +0000 (01:10 +0100)] 
changelog cosmetics

12 years agocec: fix linux compilation after the last commit
Lars Op den Kamp [Wed, 29 Feb 2012 00:08:29 +0000 (01:08 +0100)] 
cec: fix linux compilation after the last commit

12 years agocec: fix access violation when starting the bootloader directly on windows
Lars Op den Kamp [Tue, 28 Feb 2012 23:33:43 +0000 (00:33 +0100)] 
cec: fix access violation when starting the bootloader directly on windows

12 years agoadded changelog for v1.5.1
Lars Op den Kamp [Tue, 28 Feb 2012 20:19:51 +0000 (21:19 +0100)] 
added changelog for v1.5.1

12 years agocec: check the adapter ping and firmware before starting the reader thread, so we...
Lars Op den Kamp [Tue, 28 Feb 2012 18:49:13 +0000 (19:49 +0100)] 
cec: check the adapter ping and firmware before starting the reader thread, so we really leave the com port alone for a second when it fails because of a busy error

12 years agocec: use the correct Sleep() method in CCECProcessor::OpenConnection(). the thread...
Lars Op den Kamp [Tue, 28 Feb 2012 18:05:25 +0000 (19:05 +0100)] 
cec: use the correct Sleep() method in CCECProcessor::OpenConnection(). the thread hasn't been started there yet, so the sleep wasn't working. fixes 'device or resource busy' when plugging in the adapter. issue was reported on the forums

12 years agocosmetic replace tab by space
Fneufneu [Tue, 28 Feb 2012 07:22:25 +0000 (08:22 +0100)] 
cosmetic replace tab by space

12 years agocec-config-gui: added support for the new 'send inactive source' setting
Lars Op den Kamp [Tue, 28 Feb 2012 01:58:15 +0000 (02:58 +0100)] 
cec-config-gui: added support for the new 'send inactive source' setting

12 years agoLibCecSharp: implemented support for the new 'send inactive source' setting
Lars Op den Kamp [Tue, 28 Feb 2012 01:48:01 +0000 (02:48 +0100)] 
LibCecSharp: implemented support for the new 'send inactive source' setting

12 years agoLibCecSharp: recreate the delegates properly when (re)connecting to LibCecSharp
Lars Op den Kamp [Tue, 28 Feb 2012 01:43:05 +0000 (02:43 +0100)] 
LibCecSharp: recreate the delegates properly when (re)connecting to LibCecSharp

12 years agoLibCecSharp: more cosmetics
Lars Op den Kamp [Tue, 28 Feb 2012 01:23:58 +0000 (02:23 +0100)] 
LibCecSharp: more cosmetics

12 years agocec-config-gui: set cbPortNumber enabled when the physical address override isn't...
Lars Op den Kamp [Tue, 28 Feb 2012 01:08:14 +0000 (02:08 +0100)] 
cec-config-gui: set cbPortNumber enabled when the physical address override isn't checked instead

12 years agocec-config-gui: cosmetics
Lars Op den Kamp [Tue, 28 Feb 2012 01:06:53 +0000 (02:06 +0100)] 
cec-config-gui: cosmetics

12 years agocec-config-gui: fix 'enabled' status of cbPortNumber now that libCEC no longer unsets...
Lars Op den Kamp [Tue, 28 Feb 2012 00:50:40 +0000 (01:50 +0100)] 
cec-config-gui: fix 'enabled' status of cbPortNumber now that libCEC no longer unsets the autodetect bool

12 years agocec: just dlclose()/FreeLibrary() after starting the bootloader
Lars Op den Kamp [Mon, 27 Feb 2012 22:35:00 +0000 (23:35 +0100)] 
cec: just dlclose()/FreeLibrary() after starting the bootloader

12 years agocec: added a command to the interface to start the bootloader directly, without going...
Lars Op den Kamp [Mon, 27 Feb 2012 22:03:33 +0000 (23:03 +0100)] 
cec: added a command to the interface to start the bootloader directly, without going through all checks. bugzid: 218

12 years agocec: added an 'send inactive source' option to libcec_configuration, only supported...
Lars Op den Kamp [Mon, 27 Feb 2012 20:25:46 +0000 (21:25 +0100)] 
cec: added an 'send inactive source' option to libcec_configuration, only supported by client/server 1.5.1 and up. bugzid: 439

12 years agocec: ensure that the connection is really closed before retrying to connect. bugzig...
Lars Op den Kamp [Mon, 27 Feb 2012 19:57:41 +0000 (20:57 +0100)] 
cec: ensure that the connection is really closed before retrying to connect. bugzig: 436

12 years agocec: don't wait for the full timeout to pass in CCECProcessor::OpenConnection(),...
Lars Op den Kamp [Mon, 27 Feb 2012 19:40:08 +0000 (20:40 +0100)] 
cec: don't wait for the full timeout to pass in CCECProcessor::OpenConnection(), but retry to connect 2 times. fixes 'port busy' errors when initialising libCEC

12 years agocec: fix configuration updates from libCEC. bugzid: 459
Lars Op den Kamp [Mon, 27 Feb 2012 19:10:00 +0000 (20:10 +0100)] 
cec: fix configuration updates from libCEC. bugzid: 459

12 years agocec: set the server version in the LibCEC's constructor, since this is checked by...
Lars Op den Kamp [Mon, 27 Feb 2012 19:09:24 +0000 (20:09 +0100)] 
cec: set the server version in the LibCEC's constructor, since this is checked by clients. fixes 'invalid libCEC version' popup when inserting the adapter

12 years agoInitial FreeBSD support
Fneufneu [Mon, 27 Feb 2012 17:07:37 +0000 (18:07 +0100)] 
Initial FreeBSD support

simply try to use ttyU*

12 years agoplatform: use gettimeofday() on darwin in GetAbsTime(), as it is specified in OS...
Lars Op den Kamp [Mon, 27 Feb 2012 14:32:13 +0000 (15:32 +0100)] 
platform: use gettimeofday() on darwin in GetAbsTime(), as it is specified in OS-X dev guide

12 years agocec: don't send an updated configuration back when initialising. let the client call...
Lars Op den Kamp [Mon, 27 Feb 2012 13:23:36 +0000 (14:23 +0100)] 
cec: don't send an updated configuration back when initialising. let the client call the GetCurrentConfiguration() method. bugzid: 459

12 years agocec: don't send an updated configuration when libCEC hasn't been initialised fully...
Lars Op den Kamp [Mon, 27 Feb 2012 13:15:26 +0000 (14:15 +0100)] 
cec: don't send an updated configuration when libCEC hasn't been initialised fully. bugzid: 459

12 years agocec: don't try to transmit when the processor is being stopped.
Lars Op den Kamp [Mon, 27 Feb 2012 13:09:17 +0000 (14:09 +0100)] 
cec: don't try to transmit when the processor is being stopped.

12 years agocosmetics
Lars Op den Kamp [Sun, 26 Feb 2012 23:51:58 +0000 (00:51 +0100)] 
cosmetics

12 years agocec: also add commands to unsupported features when receiving CEC_ABORT_REASON_REFUSED
Lars Op den Kamp [Sun, 26 Feb 2012 23:50:25 +0000 (00:50 +0100)] 
cec: also add commands to unsupported features when receiving CEC_ABORT_REASON_REFUSED

12 years agocec: link to rt. fixes compilation after c4609291c334e2f5f5b87b8dc37e68a958bfb378
Lars Op den Kamp [Sun, 26 Feb 2012 23:44:10 +0000 (00:44 +0100)] 
cec: link to rt. fixes compilation after c4609291c334e2f5f5b87b8dc37e68a958bfb378

12 years agocec: and now correct
Lars Op den Kamp [Sun, 26 Feb 2012 22:41:09 +0000 (23:41 +0100)] 
cec: and now correct

12 years agocec: fixed return value of CUSBCECAdapterCommunication::ParseMessage(). fixes message...
Lars Op den Kamp [Sun, 26 Feb 2012 22:38:59 +0000 (23:38 +0100)] 
cec: fixed return value of CUSBCECAdapterCommunication::ParseMessage(). fixes messages not being parsed in certain occasions

12 years agofixed: the timeout value of pthread_cond_timedwait has to be referenced to CLOCK_REALTIME
Bob van Loosen [Sun, 26 Feb 2012 22:16:58 +0000 (23:16 +0100)] 
fixed: the timeout value of pthread_cond_timedwait has to be referenced to CLOCK_REALTIME

12 years agofixed: use CLOCK_MONOTONIC for timing info, since gettimeofday is affected by ntp...
Bob van Loosen [Sun, 26 Feb 2012 22:03:13 +0000 (23:03 +0100)] 
fixed: use CLOCK_MONOTONIC for timing info, since gettimeofday is affected by ntp and by manually adjusting the system time

12 years agocec: added a timeout to StopThread()
Lars Op den Kamp [Sun, 26 Feb 2012 22:17:21 +0000 (23:17 +0100)] 
cec: added a timeout to StopThread()