This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: cec-follower: add support for 5V events Author: Hans Verkuil <hverk...@xs4all.nl> Date: Fri Apr 11 08:06:31 2025 +0200 This utility was missing support for 5V pin events, and that caused a confusing "unknown event" warning. Also drop the warnings about unexpected events. Signed-off-by: Hans Verkuil <hverk...@xs4all.nl> utils/cec-follower/cec-processing.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=51175a3f8b0e94c43d61d4e36c58675282237e30 diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp index 8801d1070e58..e9baaef01f8a 100644 --- a/utils/cec-follower/cec-processing.cpp +++ b/utils/cec-follower/cec-processing.cpp @@ -98,13 +98,16 @@ static void log_event(struct cec_event &ev, bool wallclock) case CEC_EVENT_PIN_HPD_HIGH: printf("Event: HPD Pin %s\n", ev.event == CEC_EVENT_PIN_HPD_HIGH ? "High" : "Low"); - warn("Unexpected HPD pin event!\n"); + break; + case CEC_EVENT_PIN_5V_LOW: + case CEC_EVENT_PIN_5V_HIGH: + printf("Event: 5V Pin %s\n", + ev.event == CEC_EVENT_PIN_5V_HIGH ? "High" : "Low"); break; case CEC_EVENT_PIN_CEC_LOW: case CEC_EVENT_PIN_CEC_HIGH: printf("Event: CEC Pin %s\n", ev.event == CEC_EVENT_PIN_CEC_HIGH ? "High" : "Low"); - warn("Unexpected CEC pin event!\n"); break; default: printf("Event: Unknown (0x%x)\n", ev.event);