aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-06-25 11:30:17 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2018-06-25 12:40:03 +0200
commit7a5b813d779a16d2acd1b9929a8838f3a2a8db72 (patch)
treedc415298e5d5ae41a1c1ff13f565efb3622167a7 /utils/cec-compliance
parentd434b85bc3754ef3e54511ea539957633123911c (diff)
cec-compliance: add warning if a standby was ignored
A STANDBY was sent right after the display reports it was powered on, but that standby was ignored and had to be re-transmitted. Warn if that happens. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/cec-compliance')
-rw-r--r--utils/cec-compliance/cec-test-power.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/cec-compliance/cec-test-power.cpp b/utils/cec-compliance/cec-test-power.cpp
index 94c24371..794ba806 100644
--- a/utils/cec-compliance/cec-test-power.cpp
+++ b/utils/cec-compliance/cec-test-power.cpp
@@ -497,6 +497,12 @@ static int standby_resume_wakeup_view_on(struct node *node, unsigned me, unsigne
int ret = standby_resume_standby(node, me, la, interactive);
+ if (ret && opcode == CEC_MSG_TEXT_VIEW_ON) {
+ ret = standby_resume_standby(node, me, la, interactive);
+ if (!ret)
+ warn("A STANDBY was sent right after the display reports it was powered on, but it was ignored.\n");
+ }
+
if (ret)
return ret;

Privacy Policy