From c78bb202ed1ea693555c1874619cc7b14d93cc94 Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz Date: Fri, 26 Apr 2024 17:14:31 +0200 Subject: [PATCH] fix: fix picam controls logging on bookworm Signed-off-by: Patrick Gehrsitz --- libs/hwhandler.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/hwhandler.sh b/libs/hwhandler.sh index 32ad9448..8c4651ec 100755 --- a/libs/hwhandler.sh +++ b/libs/hwhandler.sh @@ -101,8 +101,8 @@ get_libcamera_controls() { sed 's/device//g;/^SNAPSHOT/q' | sed '/^SNAPSHOT/d' | \ sed '/^CAMERA/d;/- property/d' | sed '/camera-streamer Version:/d' | \ sed 's/- available option: //g' | sed '/^$/d;' | \ - sed 's/([0-9]*[a-z,0-9]\,//g' | sed '/type=7/d;/type=4/d' | \ - sed 's/type=1/ (bool/g;s/type=3/ (int/g;s/type=5/ (float/g' | \ + sed 's/([0-9]*[a-z,0-9]\, /(/g' | sed '/type=7/d;/type=4/d;/type=Rectangle/d' | \ + sed 's/type=1/bool/g;s/type=3/int/g;s/type=5/float/g' | sed 's/type=//g;' | \ sed 's/\[/min=/g;s/\.\./ max=/g;s/\]$//g' else log_msg "WARN: 'libcamera' device option can not be displayed, because"