{"id":18624,"url":"https://patchwork.libcamera.org/api/patches/18624/?format=json","web_url":"https://patchwork.libcamera.org/patch/18624/","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":"<20230511225833.361699-4-kieran.bingham@ideasonboard.com>","date":"2023-05-11T22:58:32","name":"[libcamera-devel,v2,3/4] libcamera: properties: Provide a Devices camera property","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7979fdf47e26824e43d09b970807ae3526d8f213","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/18624/mbox/","series":[{"id":3876,"url":"https://patchwork.libcamera.org/api/series/3876/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3876","date":"2023-05-11T22:58:29","name":"libcamera: Add new Camera devices property","version":2,"mbox":"https://patchwork.libcamera.org/series/3876/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18624/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18624/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 33E6EBD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 11 May 2023 22:58:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 86E78633BD;\n\tFri, 12 May 2023 00:58:43 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C2AB5633BA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 May 2023 00:58:39 +0200 (CEST)","from Monstersaurus.local\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 5DE90132F;\n\tFri, 12 May 2023 00:58:31 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1683845923;\n\tbh=vy1Ns1YPPPvE46lJsIlIhPHHpO+Ctd2fzg4jdEeajPk=;\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:Cc:\n\tFrom;\n\tb=vZPC+AFYo+XUOdAmYJI9EgXdx8dZSw6FbIU7Qsf/qLIV7IQmnw/Yy6jgubP/brUel\n\tBoE064Esd28ZfqSjvprvHR5VCmp5XNeYESbCzp49igeelKg7A2MlVkNWPbA7zEZaFJ\n\tS8IaMsPztQTiob7AvJges7miK2fVDt82BEZ/nwBTsQUCBCvH0EiTRFJ8ZxBqab+848\n\t4cBDWV0yVawwBC5dVlAecjzdwwtIW1u02EA4W3LKJ6M0VGGp4WUFf5VNz23Ajov5uS\n\tP7eAF/CU4c89V/Ld3L5LRDZmy5uiZbVGseLKva/w6c5fYkNLuEof2PvWYzYPgRGCRn\n\t5v5bx92jKAong==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1683845911;\n\tbh=vy1Ns1YPPPvE46lJsIlIhPHHpO+Ctd2fzg4jdEeajPk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=WXcm0fiwN4p+6Ky0GluUDvdQc5FnDDmYYznwvOUl4mAWROSohnvKHcq01lDmRgk1R\n\tXZOEmMJLLOT0dI+dLQWxfgqtatR0oaWoI5EUsV8ww2497MQ86YSPFwnhIUDrPU+4sp\n\tt3kN2+9DVDDhr2UPwudxVDNp5cevP3YSRFMBSReg="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"WXcm0fiw\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Thu, 11 May 2023 23:58:32 +0100","Message-Id":"<20230511225833.361699-4-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20230511225833.361699-1-kieran.bingham@ideasonboard.com>","References":"<20230511225833.361699-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 3/4] 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>","Cc":"George Kiagiadakis <george.kiagiadakis@collabora.com>,\n\tRobert Mader <robert.mader@collabora.com>,\n\tWim Taymans <wtaymans@redhat.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, 8 insertions(+)","diff":"diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex cb55e0ed2283..4fed8f862efb 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -690,6 +690,14 @@ 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+\n+  - Devices:\n+      type: int64_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","v2","3/4"]}