Kodi Community Forum

Full Version: CEC adapter being told to wake imporperly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. My setup has worked fine with the pulse 8 for several years and then in the past 2 months this started happening. It wasn't present I don't believe until the official kodi 16 drop. I think it was fine in the RCs.

So PC is always on. If I move the Arrow keys in kodi it "wakes" it which powers on the TV and AVR.
Kodi is set to ignore when the TV and avr power off.

All of the sudden now when I power off (I hit power on the TV and this kills the AVR as well. About 2 seconds go by and Kodi decides it wants to be active source for no reason and it turns on only my AVR. The TV doesn't respond. This could actually be a failsafe in the TV since its a plasma and it does take a few seconds for even the remote to turn it on after it has been off. But I do not know why Kodi requests the active source. The screensaver isn't active yet and its not getting stopped. I have tried changing all the settings and nothing matters.

I am using Ubuntu 14.04 up to date with dist-upgrade. Any Ideas? What is this 8 that requests active source below? I have also tried this on a fresh userdata and it yields the same results.

22:40:12 T:140030021310208 DEBUG: CecLogMessage - >> 0f:36
22:40:12 T:140030021310208 DEBUG: CecLogMessage - TV (0): power status changed from 'on' to 'standby'
22:40:12 T:140030021310208 DEBUG: CecLogMessage - >> TV (0) -> Broadcast (F): standby (36)
22:40:12 T:140030021310208 DEBUG: CecLogMessage - >> 50:8c
22:40:12 T:140030813992960 DEBUG: NotifyXRREvent - notify display reset event
22:40:12 T:140030813992960 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr
22:40:12 T:140029987739392 DEBUG: GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
22:40:12 T:140030021310208 DEBUG: CecLogMessage - >> 50:89:10:70:00:01
22:40:13 T:140030021310208 DEBUG: CecLogMessage - >> 0f:87:00:80:45
22:40:13 T:140030021310208 DEBUG: CecLogMessage - << Playback 3 (B) -> Broadcast (F): vendor id Panasonic (8045)
22:40:13 T:140030021310208 DEBUG: CecLogMessage - << bf:87:00:80:45
22:40:13 T:140030021310208 DEBUG: CecLogMessage - >> TV (0) -> Broadcast (F): device vendor id (87)
22:40:13 T:140030021310208 DEBUG: CecLogMessage - >> 0f:36
22:40:14 T:140029987739392 DEBUG: GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
22:40:14 T:140030813992960 DEBUG: NotifyXRREvent - notify display reset event
22:40:15 T:140030813992960 DEBUG: RecreateWindow - current output: HDMI3, mode: 0x4c, refresh: 60.000
22:40:15 T:140030813992960 DEBUG: OnLostDevice - notify display change event
22:40:15 T:140030813992960 DEBUG: CWinSystemX11::RefreshGlxContext: refreshing context
22:40:15 T:140030393861888 DEBUG: CActiveAE - display reset event
22:40:15 T:140030813992960 INFO: GL: Maximum texture width: 8192
22:40:15 T:140030385469184 INFO: CActiveAESink::OpenSink - initialize sink
22:40:15 T:140030813992960 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
22:40:15 T:140030385469184 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=PCH,DEV=1
22:40:15 T:140030385469184 INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=1"
22:40:15 T:140030385469184 INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=1,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
22:40:15 T:140030385469184 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
22:40:15 T:140030385469184 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
22:40:15 T:140030385469184 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: FL FR)
22:40:15 T:140030385469184 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
22:40:15 T:140030385469184 DEBUG: Output Device : HDA Intel PCH (PCH)
22:40:15 T:140030385469184 DEBUG: Sample Rate : 44100
22:40:15 T:140030385469184 DEBUG: Sample Format : AE_FMT_S32NE
22:40:15 T:140030385469184 DEBUG: Channel Count : 2
22:40:15 T:140030385469184 DEBUG: Channel Layout: FL,FR
22:40:15 T:140030385469184 DEBUG: Frames : 2048
22:40:15 T:140030385469184 DEBUG: Frame Samples : 4096
22:40:15 T:140030385469184 DEBUG: Frame Size : 8
22:40:15 T:140030393861888 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
22:40:18 T:140030021310208 DEBUG: CecLogMessage - >> 8f:85
22:40:18 T:140030021310208 DEBUG: CecLogMessage - >> 8 requests active source
22:40:18 T:140030021310208 DEBUG: CecLogMessage - << Playback 3 (B) -> broadcast (F): active source (1200)
22:40:18 T:140030021310208 DEBUG: CecLogMessage - << bf:82:12:00
22:40:18 T:140030021310208 DEBUG: CecLogMessage - >> Playback 2 (8) -> Broadcast (F): request active source (85)

22:40:18 T:140029987739392 DEBUG: GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
22:40:18 T:140030813992960 DEBUG: NotifyXRREvent - notify display reset event
22:40:18 T:140030813992960 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr
22:40:19 T:140029987739392 DEBUG: GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
22:40:19 T:140030813992960 DEBUG: NotifyXRREvent - notify display reset event
22:40:19 T:140030813992960 DEBUG: RecreateWindow - current output: HDMI3, mode: 0x4c, refresh: 60.000
22:40:19 T:140030813992960 DEBUG: OnLostDevice - notify display change event
22:40:19 T:140030813992960 DEBUG: CWinSystemX11::RefreshGlxContext: refreshing context

By the way the new logging system is clutch and convenient. Thanks Devs!