Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6542310rdb; Tue, 2 Jan 2024 05:34:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0BvO6txYrs1vDzpLyC5hSvozI5SfZaCl6NSFc8y0vpNx3RIIbV+1hXNazpewsLx1h5nH1 X-Received: by 2002:aa7:8104:0:b0:6d9:d29c:8782 with SMTP id b4-20020aa78104000000b006d9d29c8782mr5701702pfi.20.1704202496157; Tue, 02 Jan 2024 05:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704202496; cv=none; d=google.com; s=arc-20160816; b=BEYOg3kTpKsNED7Jv8j+x23Q+/ITFPOCu5mNn7wyKFpUhlNCVpX6CAtOVy7O05kggi VaTMy852Io3OsgS2ryLSuqeix9nrXu00Q2TPQzohA1Oi1l9vlHSo2Kkb3MFZToOW9k0N TEjKzyDuRXyguvK22FfB3Lu3tLExrCqanhrECCIu2Hv2FOre5kVNsOQq96lbwj7xc3Hk Nfiz70p8udTzkBh4Fh41nqWtdiXlc04rr0qG/nUu0rPSV4sVm6saT4u2LPwyVbSejH8T s/HBWNSmA5uHhpiW+EypI+icMvUzL3uNPG7iW5JBxY5qgAbAVgQ1FBlBVYt0b/BVtUTE NGZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=x2rZ8g+c/3mbECOlbizeXmUToCtTl5BkZfxBu+KaNFs=; fh=2VKTZqT3ap2kMm+COMLfnjuzwVEIf3bekDUUxK8HU3s=; b=qioO9r9ux1ziSvpZDHxVo12u6TYDZXRSuE9YixNdAkCxXmaYcbUlP76wvmfNMscG2g Kqey8LmWw74uoE4oKRZ1aKRPDl70Q23zHJSgAKaB37bgyQyRnupbghB4u1MvSBTW8bkC n1BWkeruVYcvtsg18lR9y9S9JCQg7uqpanlPuipYyNG+rb4Eo5Eb11+X6qpdG5iHmsTI 77GGA1U+Qy+Npaa9JfSo2DRHgO9bLVkMY+UM9rocTmPx6VqugdGKa2svRlzW52lYKgCq AYztw4HbR/kfycQV49PlICpG8J3apdUiNREJBdN3jF13vrpZDVJu0UVrtRV4PK6xA78x Ci+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yTF8VXtP; spf=pass (google.com: domain of linux-kernel+bounces-14407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h4-20020a056a00170400b006c339c0cc08si14598630pfc.196.2024.01.02.05.34.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:34:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yTF8VXtP; spf=pass (google.com: domain of linux-kernel+bounces-14407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8282D280EA6 for ; Tue, 2 Jan 2024 13:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B227FC0E; Tue, 2 Jan 2024 13:34:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yTF8VXtP" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1649EFBE4; Tue, 2 Jan 2024 13:34:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A040C433C7; Tue, 2 Jan 2024 13:34:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704202454; bh=UE6bcMz4qLf8bUdr80ygpuEnx8MhX2cnpnCRu9OT7ZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yTF8VXtPs2RrE0XnHxRUfGf1hjvNSPzPkQ7q/4PRmC94ApyAqPygbcAF8BFiidyap pIEVEdc1QprdwpzjkES3NPITp9Y/y+3YBlDFWafEYhd+iD6cgMtyzz2Itnfd6VHpOK B8fID1pllmWVFixsJIvbcPPps1hsGkhokmLAC7ms= Date: Tue, 2 Jan 2024 14:34:11 +0100 From: Greg Kroah-Hartman To: Ricardo Ribalda Cc: Alan Stern , Laurent Pinchart , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] usb: core: Add quirk for Logitech Rallybar Message-ID: <2024010236-handwoven-manicotti-4451@gregkh> References: <20231222-rallybar-v2-1-5849d62a9514@chromium.org> <82bf432c-2a78-4b9c-88ab-ef4f0888e9aa@rowland.harvard.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 02, 2024 at 12:31:53PM +0100, Ricardo Ribalda wrote: > Hi Alan > > On Sat, 23 Dec 2023 at 21:01, Alan Stern wrote: > > > > On Fri, Dec 22, 2023 at 10:55:49PM +0000, Ricardo Ribalda wrote: > > > Logitech Rallybar devices, despite behaving as UVC camera, they have a > > > different power management system than the rest of the other Logitech > > > cameras. > > > > > > USB_QUIRK_RESET_RESUME causes undesired USB disconnects, that make the > > > device unusable. > > > > > > These are the only two devices that have this behavior, and we do not > > > have the list of devices that require USB_QUIRK_RESET_RESUME, so lets > > > create a new lit for them that un-apply the USB_QUIRK_RESET_RESUME > > > quirk. > > > > > > Fixes: e387ef5c47dd ("usb: Add USB_QUIRK_RESET_RESUME for all Logitech UVC webcams") > > > Cc: stable@vger.kernel.org > > > Signed-off-by: Ricardo Ribalda > > > --- > > > > Would it make more sense to do this inside the uvc driver instead of > > creating a new single-purpose list in the core? > > I can try to move it to the uvc driver. But maybe it is better to keep it here: > > The same vid:pid also has other functionality, not only uvc: Sync > agent interface, UPD Interface, ADB interface. > If we apply the quirk to the uvc driver, and the uvc driver is not > loaded, the other functionality will still be broken.... > > I expect to see more devices from Logitech not needing the > RESET_RESUME quirk... so this list will eventually grow. > > Setting/useting RESET_RESUME in two different locations, can make the > code difficult to follow. > > What do you think? Try it in the specific driver first please. thanks, greg k-h