{"id":18541,"url":"https://patchwork.libcamera.org/api/patches/18541/?format=json","web_url":"https://patchwork.libcamera.org/patch/18541/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20230419085821.2682901-3-kieran.bingham@ideasonboard.com>","date":"2023-04-19T08:58:20","name":"[libcamera-devel,2/3] libcamera: properties: Provide a Devices camera property","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7775d07dabb4940841acd0306a90bd2b8184dffc","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18541/mbox/","series":[{"id":3844,"url":"https://patchwork.libcamera.org/api/series/3844/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3844","date":"2023-04-19T08:58:18","name":"libcamera: Add new Camera devices property","version":1,"mbox":"https://patchwork.libcamera.org/series/3844/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18541/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18541/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 47AE9C32A4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 19 Apr 2023 08:58:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4558A627BC;\n\tWed, 19 Apr 2023 10:58:33 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CBAFD627B7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Apr 2023 10:58:30 +0200 (CEST)","from Monstersaurus.tail69b4.ts.net\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2CE4E1180;\n\tWed, 19 Apr 2023 10:58:24 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1681894713;\n\tbh=JS0aK5EJnbYvFpYM5ottKPKOfn/6KsgdlR8Suygsv7Q=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=yjICudSdq/bBXha+JecrdoGuL7MFR1z8z0eae8CZWb5Lk9rkfQv4bOS/21HxEPSie\n\tkeUzawaquqvaLCzOtlNW8Riv3kF8PxBcvz8+oFEDbjjt3u6m3d7xFLzD7B4a1LxWqw\n\taFoKlxRuHED/NhG96L/yJgGmT1UgMLrJIPCPDs97vZc/AhS5Y5ttK6661NI0rphqvg\n\tKTjQ0gNu8G3DkIrhVl+RkZDY4ZwVxtbAOSAtm7TRF8wmOr/YTAzRU9pgcIx/2vdIMM\n\tFhYe8/8/EZoPFGl89eSoI/t2TwREhipzFN0U3ind1NhOSPDep5TTSJoVNppx66hV8i\n\t3h/6LRw7XGTew==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1681894704;\n\tbh=JS0aK5EJnbYvFpYM5ottKPKOfn/6KsgdlR8Suygsv7Q=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=cUdQNjj8B59N8/E6oFnyGyo02bnKMoC0J4L6FmYfd/BlZ5eNWsj8NILKCmZt+Ne1W\n\tD6+92AWoyhcarY+m1fzeSk1JHygj3noJTcpwiTJ+PNyWqeQzrcein13/nMPlMpjLV1\n\tS3zpV5fn3ee63v0mCWnXbxaRQvquSqXp3BVpBS7I="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"cUdQNjj8\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 19 Apr 2023 09:58:20 +0100","Message-Id":"<20230419085821.2682901-3-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20230419085821.2682901-1-kieran.bingham@ideasonboard.com>","References":"<20230419085821.2682901-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 2/3] libcamera: properties: Provide a\n\tDevices camera property","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Provide a new Camera property that allows pipeline handlers to list any\ndevices used to operate the device. This allows other frameworks and\ndaemons such as Pipewire to better understand the resources consumed by\na Camera and consider ignoring those resources when enumerating camera\ndevices on a system.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/property_ids.yaml | 8 ++++++++\n 1 file changed, 7 insertions(+)","diff":"diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex cb55e0ed2283..5b511ea934f7 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -690,6 +690,13 @@ controls:\n         that is twice that of the full resolution mode. This value will be valid\n         after the configure method has returned successfully.\n \n+  - Devices:\n+      type: dev_t\n+      size: [n]\n+      description: |\n+        A list of integer values of type dev_t denoting major and minor device\n+        number of the underlying devices used in the operation of this camera.\n+\n   # ----------------------------------------------------------------------------\n   # Draft properties section\n \n","prefixes":["libcamera-devel","2/3"]}