{"id":18615,"url":"https://patchwork.libcamera.org/api/1.1/patches/18615/?format=json","web_url":"https://patchwork.libcamera.org/patch/18615/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20230511224830.356416-3-kieran.bingham@ideasonboard.com>","date":"2023-05-11T22:48:25","name":"[libcamera-devel,v2,1/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/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18615/mbox/","series":[{"id":3873,"url":"https://patchwork.libcamera.org/api/1.1/series/3873/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3873","date":"2023-05-11T22:48:25","name":"[libcamera-devel,v2,1/4] libcamera: properties: Provide a Devices camera property","version":2,"mbox":"https://patchwork.libcamera.org/series/3873/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18615/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18615/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 DD9D7BD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 11 May 2023 22:48:41 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 07838633B6;\n\tFri, 12 May 2023 00:48:39 +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 9B491633A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 May 2023 00:48:35 +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 3124C13D2;\n\tFri, 12 May 2023 00:48:27 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1683845319;\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=qcDiZccL3FTT9w3dBrQ7mYdZWXQScq+/kqgq3M5focpjbZnCpNKfSs0KFSG2xLlTl\n\ttslpJfdJ383Cgtp8gMt704+WC0gsn3Orkc2GyIwnQaOV229jQJ09/hKMojwCRstpTp\n\tmCyZaa3LMMrwPVS2YMGy7Zwc8PNxqcueVKPQtUlRQWJtKcKHbLcXg6LlUHZUkiKIiS\n\tfTdok8vUk6ydbPnuBVFbb2TlHHgTiLtxQHL4Fo958isl9Q9h0LPi5AoLSEjovV8us6\n\tFN0FxEJAYZxApF5ibI/sFrpAsdaLgpem3arpUwyDdtsv97Ooh0+E3Akzh6NIPYAHFN\n\tOjRBPhmOy2HDg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1683845307;\n\tbh=vy1Ns1YPPPvE46lJsIlIhPHHpO+Ctd2fzg4jdEeajPk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=qMRW0FhOW8yFUnhFa14JzX45Wr5v2YmHsSEoUwbEeBTXyGYyagmgEznqta6YuEcQX\n\ttrv/kBgWWXRoGOvI7ITYbGIpiNmEFezPv7tSWTp36dlZG1Dz0j/sPP+kEWtkGGftVs\n\toNeNK7ATVWlyQDDm1ZyQHhpLhtZZAL5+Y0UelHnw="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"qMRW0FhO\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Thu, 11 May 2023 23:48:25 +0100","Message-Id":"<20230511224830.356416-3-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20230511224830.356416-1-kieran.bingham@ideasonboard.com>","References":"<20230511224830.356416-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 1/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","1/4"]}