From patchwork Thu Oct 27 22:41:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne via libcamera-devel X-Patchwork-Id: 17711 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 7068DC3286 for ; Thu, 27 Oct 2022 22:41:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 12C1662FB6; Fri, 28 Oct 2022 00:41:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1666910517; bh=4cI9I6aGIOl/wLNk3I1U3Yfc+1NNIOB1z7c/6t0GvHc=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=D8DTlI3TB8UEL2WtJs70xfpewTUQIMNOQSEgBuVzcP26JGsP6F6VAy6EGUQdPn1N+ +VZNq1hO/nQioRyesZzlKHn36fsXWxu2zVAFOHk7k4nSfb1LynkL9qZ4Ykv/ytJ7Si +Fq66XCAsnOMbqYqkaxJ13bv4xDYWzefgZWeTjGQ5SSEawbXdd+pg7KKS3Uw6vY6rV jCk87anL3OmhSTlmZuqoHIqMMddVPW7MY5++NZ4+oJL1WjV1kglNd+c///lTFjcGJ4 DAE4SUQFMUG+r/3Jg276qPaJGW82kq/Xc0eTeJSfUoJO7tC6KaBxUmF0b4wIoCfSLo 1QhkQfar/f+TQ== Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 72FB662FBB for ; Fri, 28 Oct 2022 00:41:48 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=rothemail-net.20210112.gappssmtp.com header.i=@rothemail-net.20210112.gappssmtp.com header.b="XiwNwYcS"; dkim-atps=neutral Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-13bd19c3b68so4298373fac.7 for ; Thu, 27 Oct 2022 15:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothemail-net.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=5HEr0S3jZfrnOtGqtZpN55hkD+04x7ylR0jwpsDxAMs=; b=XiwNwYcSqZ9hK1FALN6aOeP0k0UNWetZr2TyBTfZ6bHqFmAgWJHRUAw39VQHQKVtIA /AP49VgsptEcRdWh+h/9Yj9uJXqyOvFPFHE3MQYCPkCMz5AJIxqTJ9jt3EpA26Se3Pyx FszVLPMIYXxA0QXKu+BSwflxrqQmkar8FUrrqzLo1bdl+Xe/Jcc6R3Na90uTfAlvqLCm KSssNPqjc2v/npW1T3k2X3T5PIrxBH4Tx6vn5q1wEpMnIXtFbWi2rWaAGblnm6yYPaKq GQnLIrV5P1nHWH1a7+VvQepr4OTnlNnaky53eUE9Q36xNQgR5yaK16amtIUuthC2qpK3 5aIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5HEr0S3jZfrnOtGqtZpN55hkD+04x7ylR0jwpsDxAMs=; b=o73gL6Po74uuzHmIhOhI7oEx8rm5myXBkr+kQ9GbvWuPC1zumenh3wG0nWhYQhCmAO nKb/hn8ENkicd5Dy4dJAd73CNlPheU8W+N1hyqs54ID3q7vNeq/6AtN2pxrJp4P6Bzho qD5df7Lk11JvzOsdQNz3vUN1kUK/2TCFm6/Eh+Z8GfTGTqGd+lvMrgana6DMOvuQL13g a+CSicjAlXDp9+Zf+JIvK4mTBdnKHmoaLatdZUlOHKeKY2s+aliecmA9ZIvfxa8SAZGE RweLYMFE8sItoRHN4LjuQZwB90yhwVgQUR87S8/rjKSHFIr2UaF0t2gguEj8l6VY5onx SVxQ== X-Gm-Message-State: ACrzQf2eWvIWjFlgsq2GeAreokX9jb7r7YDX9KesyE6Sz7E1HqO82yKG Te4FbDnZulG72b/835WtDJYBAQnY6okU6V+d X-Google-Smtp-Source: AMsMyM5S7Ys2RHufpCx0JNiZnT1g5p5Wxudi2YuDWwjjVWpf7y3oxktsxwsevtesyW+q+Lh8mC9w0A== X-Received: by 2002:a05:6870:169e:b0:136:7f6a:1de0 with SMTP id j30-20020a056870169e00b001367f6a1de0mr7554022oae.71.1666910506391; Thu, 27 Oct 2022 15:41:46 -0700 (PDT) Received: from nroth-pc.attlocal.net ([2600:1700:20:20c0:6a4b:7aa7:dda2:75cb]) by smtp.gmail.com with ESMTPSA id r20-20020a056830419400b006619533d1ddsm976825otu.76.2022.10.27.15.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 15:41:46 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Thu, 27 Oct 2022 17:41:35 -0500 Message-Id: <20221027224135.348115-11-nicholas@rothemail.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027224135.348115-1-nicholas@rothemail.net> References: <20221027224135.348115-1-nicholas@rothemail.net> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 10/10] android: libcamera: add useful debug prints X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Nicholas Roth via libcamera-devel From: Nicolas Dufresne via libcamera-devel Reply-To: libcamera-devel@lists.libcamera.org Cc: nicholas@rothemail.net Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nicholas Roth I identified opportunities to make libcamera's log output easier to understand while working to get it working on my Android device as a HAL. These additional logging statements came out of that and will hopefully prove useful to Android distribution maintainers with the same goal as mine and to users who attempt to debug tools like Waydroid. Signed-off-by: Nicholas Roth --- src/android/.camera_hal_config.cpp.swp | Bin 16384 -> 0 bytes src/android/camera_capabilities.cpp | 12 +++++++++--- src/android/camera_hal_manager.cpp | 3 ++- src/libcamera/.v4l2_subdevice.cpp.swp | Bin 0 -> 40960 bytes 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 src/android/.camera_hal_config.cpp.swp create mode 100644 src/libcamera/.v4l2_subdevice.cpp.swp GIT binary patch literal 40960 zcmeI53wR_~b>|!Wh!qy~jK+G5XFM}BrB+EQ z-0E(+x<@0+lg9@RgjYzGBsh-4Ys11WY`(C>Bwu(K+iQqJ0wl0x!!D5EEI1gj4VXX( z?C+d=tGcSX<T~nn3BTaw3YE&~irjp@$$?D{2nXu5h3xKU zWUlJ(>y@w1?YzQy_D{^ppPN6M9N6T*CI>b-u*rc<4s3E@lLMO^*yO;E2nTAF3o<`X zTc2**8)^hkv){wd^X&I-`*|q!{CxX;#(oM-`3c|eFkdrw*w4STpW*X!?e|yO&%^dX z`25FgdeMIVZR+_2HvNSCJYX9XzJHEQU$CDKq@LU4&5unEY;s_e1DhP!vF*4i*t^eRb|H!`aq5R(2>HO&anf#Hy-hAKTzTO^Z&5_@oVM1q* zbI?EO6-Ud}Ww$n7S||?;43~@LdUd2!D9`()#UrzaoKw!Jo=h{*Lq}$J=lc)uR;s&% zYM9a%+1Vq9Qe?xFcF0n-BT2GRN;_n!T8eCx(hga}$-ewf%iaEnyPDP(Y2{{$bR(@D z(uSi+(y_F5NE@yuNypOKB8|B989pP*owMd^I~0+K7(w%`9eP7kV|#b=1J$dLgf&Ng zcP3I#PaYcU3}i!{k=)mxpBNGP{X3waOg>u$>}_4Z-jTCVK;L1hc(VGE)(+{tV^f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K}gU@#D^bV;dv4h3UnAUEAbDjop{T)Nfm=ElETv_AtGvo-*7PJL|NX$D#|5Q(NdE zS@Wg)Y}m5=DYJ3dp!B|OCL+yD(#zijEMXcvmuQ+O5Andr;Ws7aPB zhIQ95cTb82t9;{X8?#TgyUmo0Hdo%1l^7BO1C~ifQbWEpj_lBFm=hZ3P3+xk>baho zIue?|b<8v!yNNmRV}nW-!>1x^E}TCd5%rb!iaE(zD`W!9IS0yWsgW|Q1rNUw zo=>^ci22(OWYJLjnKP8+g2X!Mj4jtCQX#eKB`4j`(junHaM1D(q&V(C<)nV8!!yP% zd86J8BW+AqISd_tJHsghD zP}P;vmb;*r*y^&9WswV=Z3rdHm$L=2!cNKmd)U*Z3j-!?`=CzDfGIZ7C1#-EV~e%` zaSJYmR^W#vg1v$SWoRP=X`#8B4b4!p8MxW9IuB_ELr~mMx5u z_Mjm%jM-ozEM}b97N9K>4I^D}IE#y8bGg<^Kt+WA9^Z z$4@`FC$Rsifr$PLr}(X`{kof3S00?T4GBafWQfCBM*ipH?tIFQW>_&W5N~37&6l%c z(HyN@w~d$1X(;qUqVYcqr7=22`D8il5qCsyczDR9F{ zg2uLyNhIteIw!UTvXUC;f1NPm9($UcjYhRCKltvb#W;#_;7s;N@dn#12r@5zFg9ZG zs03C7ToJhOMap!_9@kTRb&j=}Nwi|m%sDJF^Wr9;r!>6ITGq*i$B}>rWRj_p3QL_E z?hfOGWKqO#=FOXRe%Y9fWm9fXl#RlEt-gF~at W$#MR$r^2aO^U3kT68cjq^Zx<5#nCGO literal 0 HcmV?d00001 diff --git a/src/android/.camera_hal_config.cpp.swp b/src/android/.camera_hal_config.cpp.swp deleted file mode 100644 index e6b7220ae345f309242d3d97dd369fe783e65ed6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI3TWlOx8OMjVp)92r1zy@baI!}3uI0VhQLAcVTe8<{XVs1E_!2dw)@pX@r)RYPYR0O1|Patvof9IUp z8SmQ81(1-Km44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4$Y zFDt@|B%TmHK0UhCjk739v28Cb&VQ;kd$)6 zF-DkFOr7MhWrWx;xqIDi3e|03tPI5eSiKVn1;k_|H@sVh5Oj|+$gFkCp`45A_>sZC z_dBM^eSa81L5DZt^KWn_h8hh*1O)$i&%HA?j=7MJ#&{2#$nYQX@;nq?J+lL!`h;WE PK!gP7+;cZs4r~7c$v(c4 diff --git a/src/android/camera_capabilities.cpp b/src/android/camera_capabilities.cpp index 64bd8dde..ef0d10d0 100644 --- a/src/android/camera_capabilities.cpp +++ b/src/android/camera_capabilities.cpp @@ -374,14 +374,20 @@ void CameraCapabilities::computeHwLevel( camera_metadata_enum_android_info_supported_hardware_level hwLevel = ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_FULL; - if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) + if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) { + LOG(HAL, Info) << noFull << "missing manual sensor"; hwLevel = ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED; + } - if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING)) + if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING)) { + LOG(HAL, Info) << noFull << "missing manual post processing"; hwLevel = ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED; + } - if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE)) + if (!caps.count(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BURST_CAPTURE)) { + LOG(HAL, Info) << noFull << "missing burst capture"; hwLevel = ANDROID_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED; + } found = staticMetadata_->getEntry(ANDROID_SYNC_MAX_LATENCY, &entry); if (!found || *entry.data.i32 != 0) { diff --git a/src/android/camera_hal_manager.cpp b/src/android/camera_hal_manager.cpp index 7512cc4e..b229e2d5 100644 --- a/src/android/camera_hal_manager.cpp +++ b/src/android/camera_hal_manager.cpp @@ -140,7 +140,8 @@ void CameraHalManager::cameraAdded(std::shared_ptr cam) */ if (!isCameraExternal && !halConfig_.exists()) { LOG(HAL, Error) - << "HAL configuration file is mandatory for internal cameras"; + << "HAL configuration file is mandatory for internal cameras." + << " Camera " << cam->id() << "failed to load"; return; } diff --git a/src/libcamera/.v4l2_subdevice.cpp.swp b/src/libcamera/.v4l2_subdevice.cpp.swp new file mode 100644 index 0000000000000000000000000000000000000000..f4985643e69f6e8d105e41e293e919c72eb82f99