{"id":3789,"url":"https://patchwork.libcamera.org/api/1.1/covers/3789/?format=json","web_url":"https://patchwork.libcamera.org/cover/3789/","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":"<20200513172950.72685-1-email@uajain.com>","date":"2020-05-13T17:29:57","name":"[libcamera-devel,v2,0/5] Introduce UVC hotplug support","submitter":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/people/1/?format=json","name":"Umang Jain","email":"email@uajain.com"},"mbox":"https://patchwork.libcamera.org/cover/3789/mbox/","series":[{"id":903,"url":"https://patchwork.libcamera.org/api/1.1/series/903/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=903","date":"2020-05-13T17:29:57","name":"Introduce UVC hotplug support","version":2,"mbox":"https://patchwork.libcamera.org/series/903/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/3789/comments/","headers":{"Return-Path":"<bounces+15657259-5c31-libcamera-devel=lists.libcamera.org@em7280.uajain.com>","Received":["from o1.f.az.sendgrid.net (o1.f.az.sendgrid.net [208.117.55.132])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C1B5460DE6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 May 2020 19:29:59 +0200 (CEST)","by filter0084p3las1.sendgrid.net with SMTP id\n\tfilter0084p3las1-1974-5EBC2E95-96\n\t2020-05-13 17:29:57.470694555 +0000 UTC m=+2402889.608201556","from mail.uajain.com (unknown)\n\tby ismtpd0007p1hnd1.sendgrid.net (SG) with ESMTP\n\tid NOHhAgjzSQ6x4FT7YbDLGw Wed, 13 May 2020 17:29:56.976 +0000 (UTC)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=uajain.com\n\theader.i=@uajain.com header.b=\"PqT3CoYf\"; \n\tdkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=uajain.com;\n\th=from:subject:mime-version:to:cc:content-transfer-encoding:\n\tcontent-type;\n\ts=s1; bh=K0QOQzJod/eKkvfQJjyeyoD1kwbMtJd+HZd63TzZIEI=;\n\tb=PqT3CoYfrjQUFXVjjYPTGb4OBdVaajzGYz8/9UHBQA4RQmjYTz4dyFxbjkPWh50/Y3tp\n\tFREiMJxloBdcJ5NVox1AatcaRAc66SoFZAmUxgTeAmWq4TqGhN47nk8FC442TJ+YWMtjff\n\tvNGyINVII67r1R9KDNCO1OMB8uQIb3Apo=","From":"Umang Jain <email@uajain.com>","Date":"Wed, 13 May 2020 17:29:57 +0000 (UTC)","Message-Id":"<20200513172950.72685-1-email@uajain.com>","Mime-Version":"1.0","X-SG-EID":"1Q40EQ7YGir8a9gjSIAdTjhngY657NMk9ckeo4dbHZDiOpywc/L3L9rFqlwE4KPcHIuSzkf5/M5SksOT1pntGzUknbqKtzsN7gNbS+iTSutvZBT3xpO/THqNSVE66GYAEg47c8QcyzCQtKIJaUriLM3JBn+Is+YjhD+UOUPGlxvQzBO7lpTanOSbU3IIF9rcWrjUoFcHMel5q8dDgyqPZoH67QpignyD/Opav6clygkgJKF+nEKEOYHMClNWFOtA","To":"libcamera-devel <libcamera-devel@lists.libcamera.org>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=us-ascii","Subject":"[libcamera-devel] [PATCH v2 0/5] Introduce UVC hotplug support","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>","X-List-Received-Date":"Wed, 13 May 2020 17:30:01 -0000"},"content":"Hi all, \n\nAfter a while, working through the reviews and gripping few\nconcepts along the way, this is the second iteration of\nthe initial hotplug support, I submitted for review at [1]\n\n[1]: https://u15657259.ct.sendgrid.net/ls/click?upn=8H1KCc2bev8KdIveckpOEBeWjI3THEr-2F8W-2FrEpvXj1ekoJbGR9Ivjkfu-2BLRbGop4lLFTSSW-2BR7XzFtf418GE1MWhYN2yDdtgpIDma1I7Xxo50CYA-2FzGdn8vdeIY5M9vLkoyz_C3wFy2Q4UgRsRLDAYieRZ5Z3EhAWyy0-2FkOzyYc6FPc1dn6ROcAJqKXb9hjP566uPvKbTBxONXI-2BCZL7pLzOWeYqZxVpLQFvCIQZO9BAhCDIK-2FLR5rbAomN4ygqeqT9lRXHCCjJnCJFOYydaTLVCyOhnIK8Yi7XerNc7G2lc-2FvskrBjGSVHMgg41o-2BmhmHuHFlv2Hw-2Bj5uHtcueHBoF1VumNlotoZ9IUhIoLNNo9ZS9kX58IlHcI0IbfF9B57rwUk\n\nUmang Jain (5):\n  libcamera: camera_manager: Refactor device enumeration into separate\n    function\n  libcamera: device_enumerator: Emit a signal when a new device is\n    hotplugged\n  libcamera: camera_manager: Introduce signals when a camera is\n    added/removed\n  qcam: main_window: Introduce hotplug support\n  tests: Introduce hotplug hot-unplug unit test\n\n include/libcamera/camera_manager.h        |   6 +-\n src/libcamera/camera_manager.cpp          |  54 ++++++--\n src/libcamera/device_enumerator.cpp       |  12 ++\n src/libcamera/include/device_enumerator.h |   4 +\n src/libcamera/pipeline_handler.cpp        |   2 +-\n src/qcam/main_window.cpp                  |  83 ++++++++++++\n src/qcam/main_window.h                    |   6 +\n test/hotplug-cameras.cpp                  | 152 ++++++++++++++++++++++\n test/meson.build                          |   1 +\n 9 files changed, 309 insertions(+), 11 deletions(-)\n create mode 100644 test/hotplug-cameras.cpp"}