Hi Lars, On 07/11/2016 11:41 AM, Lars Op den Kamp wrote: > Hi Hans, > > just did a quick scan of this patch. > > The code should work on any firmware >= v2 revision 8, though older > versions may return 0 when the build date is requested. I believe I > added that in v3. Might want to add a !=0 check before writing to the log. > > The CEC adapter has an "autonomous mode", used when it's not being > controlled by our userspace application or this kernel driver. It'll > respond to some basic CEC commands that allow the PC to be woken up by TV. > If the adapter doesn't receive a MSGCODE_PING for 30 seconds when it's > in "controlled mode", then it'll revert to autonomous mode and it'll > reset all states internally. Ah, that was rather obscure. Good to know. What I do now (and that seems to work) is that in the pulse8_setup I turn off the autonomous mode and then write that new setting to the EEPROM. After that it looks like the autonomous mode stays off. Is that correct? The autonomous mode really doesn't work well with the framework as it is today. CEC framework support for 'wakeup on CEC command' is something that is planned for the future. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html