Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7424332rwd; Tue, 6 Jun 2023 10:29:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MS3uXQs3FUXPEXyXHxFpLo+J2zMH5TODP/HimqMOaMvWsveXKQFCDdJk8wHRa3Y0vNtfD X-Received: by 2002:a05:622a:1a91:b0:3f6:b918:2351 with SMTP id s17-20020a05622a1a9100b003f6b9182351mr626642qtc.0.1686072540953; Tue, 06 Jun 2023 10:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686072540; cv=none; d=google.com; s=arc-20160816; b=X0YVOtwpMs0AeLy3sQrV+FVm9/e4XiE/Yp3EY7+BIWgS/MowEW9Fl4qIflO/7zqho4 pZNrZAFiQSo0pdJgrol7tcCcK2Jjhbra1JFC2zIESTTvIJ18Xkv9/enNUAZqFIREu52K lZG8Er5fPteDHg9uJVR8hWW8XS8HCm4rCm4nTNF0xZwNkxbdwtt9YHLt7CGt+UIAtVDy 4miGOSHTsyfjP1Q+p/zM+PYgSDzd/uWpbTVjNxRWqIeB4mTdl3zpH2SiP14v1cwXR/EC YVFhdrpHUzoltGf30UgdlklCgSskBNGMQbVOfJTmH+8ST7L1eRnWaWtBhYLa83WWZ6d/ M4JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9kWMNpzb1OnExm1k2s5qtiN+l39px0OT0ai4EbrKVgo=; b=yU92OTBhVBikEscnUvb0o/aZCzXl+g6WdEh6CQuQTAXO80VXLkPNosjq76mTrJzlKU 3/3ldQL/PmkFibuFhVgDn18xYqDIxKf6Cex9FN458LlvqaCEOqLhjk/W7365hfoTd6pF eIljax54HfLW+VZkAM7/4IE4SRG8K48ch9siSyShrLA6jQLuIHF2FjVFYz7cSDnAh0e1 Zi3FKUgtW72C3J7iCUFJLgd8nS8fBAYcfi+KSFyau+FrsPKTJnJzoUL+fD4lVooIcJ33 j5qtTDyQo0ibdTj8riZG6ryyfhizDmCFzjkRfDdoTukLu46bhZNd0z3ecVAn/Oz4OLrg 61nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=O+QnxxNd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020ad45768000000b0062394d4ddabsi6702647qvx.97.2023.06.06.10.28.46; Tue, 06 Jun 2023 10:29:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=O+QnxxNd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237747AbjFFRJb (ORCPT + 99 others); Tue, 6 Jun 2023 13:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237581AbjFFRJ0 (ORCPT ); Tue, 6 Jun 2023 13:09:26 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC2831707; Tue, 6 Jun 2023 10:09:23 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126253223039.31.openmobile.ne.jp [126.253.223.39]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A1C6BAB; Tue, 6 Jun 2023 19:08:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1686071336; bh=CuOX6Q52U6G/HtPqj/s+T6RC4X0NVcHpdj+l4I/Y470=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O+QnxxNdlcROp0r8FoQaoD5hpFqCHpVZwrZ2DZ0WZG2YQiBG/K4M3k8nWXu74iOkg 1H1rOkqWKMm88+++bONoHJeQ1uJY0omcdUTIAI0jpygjr1GAjpKNlYj2+VxWuEHISr 6wsKJG7FTtlBaMHGSuppA0Z7YKOpETrF35YVelPo= Date: Tue, 6 Jun 2023 20:09:19 +0300 From: Laurent Pinchart To: Linux regressions mailing list Cc: linux-media@vger.kernel.org, Poncho , Mauro Carvalho Chehab , LKML , Ricardo Ribalda Subject: Re: Webcam LED control regression Message-ID: <20230606170919.GJ25679@pendragon.ideasonboard.com> References: <468a36ec-c3ac-cb47-e12f-5906239ae3cd@spahan.ch> <5cae4b60-a303-5cf6-9d30-8a723d417467@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5cae4b60-a303-5cf6-9d30-8a723d417467@leemhuis.info> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, CC'ing Ricardo. On Tue, Jun 06, 2023 at 12:40:25PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: > CCing a few people and lists that should be aware of this and might be > able to help. > > On 05.06.23 18:39, Poncho wrote: > > With kernel 6.3, the LED of my C922 Pro Stream Webcam is no longer > > controllable. > > > > With kernel 6.1 v4l2-ctl --all returns: > > > >> led1_mode 0x0a046d05 (menu)   : min=0 max=3 default=0 value=0 (Off) > >>     0: Off > >>     1: On > >>     2: Blink > >>     3: Auto > > > > > > > > but with kernel 6.3 I get: > > > >> led1_mode 0x0a046d05 (menu)   : min=4 max=4 default=0 value=0 > >>     4: > > Thanks for the report. > > FWIW, maybe one of those people that I CCed has an idea what's wrong. If > none of them brings one to the table withing the next two or three days, > you likely have to perform a bisection to find the change that broke > thing for you. I suspect commit 716c330433e3 ("media: uvcvideo: Use standard names for menus") to be the culprit. I'll post a (untested) candidate fix in reply to this e-mail. > For the rest of this mail: > > [TLDR: I'm adding this report to the list of tracked Linux kernel > regressions; the text you find below is based on a few templates > paragraphs you might have encountered already in similar form. > See link in footer if these mails annoy you.] > > > Full output bellow: > > > >> Driver Info: > >>     Driver name      : uvcvideo > >>     Card type        : C922 Pro Stream Webcam > >>     Bus info         : usb-0000:00:14.0-9 > >>     Driver version   : 6.3.5 > >>     Capabilities     : 0x84a00001 > >>         Video Capture > >>         Metadata Capture > >>         Streaming > >>         Extended Pix Format > >>         Device Capabilities > >>     Device Caps      : 0x04200001 > >>         Video Capture > >>         Streaming > >>         Extended Pix Format > >> Media Driver Info: > >>     Driver name      : uvcvideo > >>     Model            : C922 Pro Stream Webcam > >>     Serial           : 6E8DF1BF > >>     Bus info         : usb-0000:00:14.0-9 > >>     Media version    : 6.3.5 > >>     Hardware revision: 0x00000016 (22) > >>     Driver version   : 6.3.5 > >> Interface Info: > >>     ID               : 0x03000002 > >>     Type             : V4L Video > >> Entity Info: > >>     ID               : 0x00000001 (1) > >>     Name             : C922 Pro Stream Webcam > >>     Function         : V4L2 I/O > >>     Flags            : default > >>     Pad 0x01000007   : 0: Sink > >>       Link 0x0200001f: from remote pad 0x100000a of entity 'Processing 3' (Video Pixel Formatter): Data, Enabled, Immutable > >> Priority: 2 > >> Video input : 0 (Camera 1: ok) > >> Format Video Capture: > >>     Width/Height      : 160/90 > >>     Pixel Format      : 'YUYV' (YUYV 4:2:2) > >>     Field             : None > >>     Bytes per Line    : 320 > >>     Size Image        : 28800 > >>     Colorspace        : sRGB > >>     Transfer Function : Rec. 709 > >>     YCbCr/HSV Encoding: ITU-R 601 > >>     Quantization      : Default (maps to Limited Range) > >>     Flags             : Crop Capability Video Capture: > >>     Bounds      : Left 0, Top 0, Width 160, Height 90 > >>     Default     : Left 0, Top 0, Width 160, Height 90 > >>     Pixel Aspect: 1/1 > >> Selection Video Capture: crop_default, Left 0, Top 0, Width 160, > >> Height 90, Flags: Selection Video Capture: crop_bounds, Left 0, Top 0, > >> Width 160, Height 90, Flags: Streaming Parameters Video Capture: > >>     Capabilities     : timeperframe > >>     Frames per second: 30.000 (30/1) > >>     Read buffers     : 0 > >> > >> User Controls > >> > >>                      brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=128 > >>                        contrast 0x00980901 (int)    : min=0 max=255 step=1 default=128 value=128 > >>                      saturation 0x00980902 (int)    : min=0 max=255 step=1 default=128 value=128 > >>         white_balance_automatic 0x0098090c (bool)   : default=1 value=1 > >>                            gain 0x00980913 (int)    : min=0 max=255 step=1 default=0 value=0 > >>            power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2 (60 Hz) > >>                 0: Disabled > >>                 1: 50 Hz > >>                 2: 60 Hz > >>       white_balance_temperature 0x0098091a (int)    : min=2000 max=6500 step=1 default=4000 value=4000 flags=inactive > >>                       sharpness 0x0098091b (int)    : min=0 max=255 step=1 default=128 value=128 > >>          backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=0 value=0 > >> > >> Camera Controls > >> > >>                   auto_exposure 0x009a0901 (menu)   : min=0 max=3 default=3 value=3 (Aperture Priority Mode) > >>                 1: Manual Mode > >>                 3: Aperture Priority Mode > >>          exposure_time_absolute 0x009a0902 (int)    : min=3 max=2047 step=1 default=250 value=250 flags=inactive > >>      exposure_dynamic_framerate 0x009a0903 (bool)   : default=0 value=1 > >>                    pan_absolute 0x009a0908 (int)    : min=-36000 max=36000 step=3600 default=0 value=0 > >>                   tilt_absolute 0x009a0909 (int)    : min=-36000 max=36000 step=3600 default=0 value=0 > >>                  focus_absolute 0x009a090a (int)    : min=0 max=250 step=5 default=0 value=0 flags=inactive > >>      focus_automatic_continuous 0x009a090c (bool)   : default=1 value=1 > >>                   zoom_absolute 0x009a090d (int)    : min=100 max=500 step=1 default=100 value=100 > >>                       led1_mode 0x0a046d05 (menu)   : min=4 max=4 default=0 value=0 > >>                 4:                  led1_frequency 0x0a046d06 (int)    > >> : min=0 max=255 step=1 default=0 value=255 > > To be sure the issue doesn't fall through the cracks unnoticed, I'm > adding it to regzbot, the Linux kernel regression tracking bot: > > #regzbot ^introduced v6.1..v6.3 > #regzbot title media: uvcvideo: Webcam LED control regression > #regzbot ignore-activity > > This isn't a regression? This issue or a fix for it are already > discussed somewhere else? It was fixed already? You want to clarify when > the regression started to happen? Or point out I got the title or > something else totally wrong? Then just reply and tell me -- ideally > while also telling regzbot about it, as explained by the page listed in > the footer of this mail. > > Developers: When fixing the issue, remember to add 'Link:' tags pointing > to the report (the parent of this mail). See page linked in footer for > details. > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > That page also explains what to do if mails like this annoy you. -- Regards, Laurent Pinchart