path: root/utils/cec-compliance/cec-compliance.h
diff options
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-18 13:42:47 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-18 13:42:47 +0200
commit9f1d1e0cf8dbdcfb8bc6d817734d85417960a054 (patch)
tree793af01d46f580c96d9d6acdc50831ce570b4e21 /utils/cec-compliance/cec-compliance.h
parent68fd71f0c8ec4c37513bdc5af09262270aafd606 (diff)
cec-compliance: wake up remote device if needed
Until now, if the remote device was in standby the test would just abort with a message that the remote device should be woken up manually. This patch changes this to attempt to automatically wake up the remote device. Basically it adds the 'Wake up' to the core tests, but it is only run if the remote device was in standby, otherwise it is skipped. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance/cec-compliance.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h
index 2ef5a1f5..34ed9a81 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -472,6 +472,7 @@ extern const vec_remote_subtests audio_rate_ctl_subtests;
// cec-test-power.cpp
bool util_interactive_ensure_power_state(struct node *node, unsigned me, unsigned la, bool interactive,
__u8 target_pwr);
+int standby_resume_wakeup(struct node *node, unsigned me, unsigned la, bool interactive);
extern const vec_remote_subtests standby_subtests;
extern const vec_remote_subtests one_touch_play_subtests;
extern const vec_remote_subtests power_status_subtests;

Privacy Policy