- Thread starter
- #311
Yes, you need the Pulse-Eight CEC adapter to use this plugin.If I want to use the USB remote to control the system and the cec plugin only to switch the tv on and off
- do I then need the cec adapter anyway?
Yes, you need the Pulse-Eight CEC adapter to use this plugin.If I want to use the USB remote to control the system and the cec plugin only to switch the tv on and off
- do I then need the cec adapter anyway?
Hi,
libCEC 3.0 has been released (see blog.pulse-eight.com). I don't know if it is noteworthy (since everything is working fine for me with 2.2), just wanted to drop the info.
Cheers
libcec 3.0.0Changelog for 0.9.6?
[2015-07-27 14:32:01,923] [Log ] [17 ] [DEBUG] - CecRemote: Loading configuration...
[2015-07-27 14:32:01,939] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEREMOVECOMPLETE)
[2015-07-27 14:32:01,970] [Log ] [17 ] [DEBUG] - CecRemote: Configuration not set, abort
[2015-07-27 14:32:01,986] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Philips TV
[2015-07-27 14:32:02,002] [Log ] [17 ] [DEBUG] - CecRemote: Opening connection to CEC-Adapter...
[2015-07-27 14:32:02,033] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEREMOVECOMPLETE)
[2015-07-27 14:32:02,048] [Log ] [17 ] [DEBUG] - CecRemote: Unable to connect, library (libCEC) doesn't exist!
[2015-07-27 14:32:02,064] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Terrahorst
[2015-07-27 14:32:02,095] [Error ] [17 ] [ERROR] - MediaPortal: Unhandled exception occured
[2015-07-27 14:32:02,111] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEREMOVECOMPLETE)
[2015-07-27 14:32:02,142] [Log ] [17 ] [ERROR] - Exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei CecRemote.Base.CecClientBase.GetVendor(CecLogicalAddress device)
bei CecRemote.CecRemoteClient.OnStart()
bei CecRemote.Base.CecClientBase.ReceiveAlert(CecAlert alert, CecParameter data)
bei CecSharp.CecCallbackMethods.CecAlertManaged(libcec_alert alert, libcec_parameter* data) Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. Site : System.String GetVendor(CecSharp.CecLogicalAddress) Source : CecRemote Stack Trace: bei CecRemote.Base.CecClientBase.GetVendor(CecLogicalAddress device)
bei CecRemote.CecRemoteClient.OnStart()
bei CecRemote.Base.CecClientBase.ReceiveAlert(CecAlert alert, CecParameter data)
bei CecSharp.CecCallbackMethods.CecAlertManaged(libcec_alert alert, libcec_parameter* data)
Hello @Tuomaa,
The new client does not support the legathy Windows powermanagement with S3/S4 ect. only "Windows Connected Standby".
I have configured the virtual TVOff button to "Suspend Windows". This lead to a situation where I have to unplug the device from power to let it start again.
Sending the device to Suspend with the MePO GUI leads to the same issue. Sending it to S3 with a batchfile too.
Do you have any ideas about that?
Hello, THX for answering!!Does it have a display?
It seems to me that there could be a solution for this issue ...as far as I know, windows doesn't generate sleep/resume events for it the same way it does for normal S3 etc. sleep states
This is a code example (exe included) that shows how to receive Windows notifications, when a PC is suspended (put into sleep mode) or resumes from sleep.
Basically, it shows how to implement a WM_POWERBROADCAST notification.
On Windows 8, however, WM_POWERBROADCAST is no longer sent to a desktop application, unless it explicitely registers for it. A new Windows 8 sleep mode called "connected standby" (enabled on most tablet PCs with Win8) is responsible for that. The code example re-enables WM_POWERBROADCAST for Windows 8 connected standby as well.
It seems to me that there could be a solution for this issue ...
I'll make some code later to test it and if it doesn't work I look into the other options.ConnectedStandby is synonymous with screen off on an AOAC capable system...