Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2333737imu; Thu, 10 Jan 2019 12:16:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ppX9ZqhXyIQlfpOyk/f6xKZ0P6yqekfroYBk6IG4NdF22Ey3EjBlr9NZ8dEpmi3RmZodX X-Received: by 2002:a63:f65:: with SMTP id 37mr10582980pgp.238.1547151416092; Thu, 10 Jan 2019 12:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547151416; cv=none; d=google.com; s=arc-20160816; b=wjOP3ggvfHLGOjCaVzkIADZXiSQa/+xKYkVChgz0kSfH2Di4ZjLxjM9tp8MsMHtYrU RRUR3p2Yhy4iFe0Hrx4XE7kxNLNsycn5aLqiGzY6Fq+JIrwvGv/zX56PO+pNz5UOaYfh E6k3KJG9olUxF3uhjF/4zgzDHKxfcCEFm7C18bDOVZgHXuHWpiykb1E0QYreP15Sjybp ARENaf5+Vmpc9xGe/nbyZ1/w/4DO5Yf4nb3NSwB2HOpvCIc3CyT/np6rX9wRM65p7UsW lxrXDc6tapiFacI6ijfiMjNKMoAJVHwl0D5Kv21lb/aD44bksa25pJl15lMmnSfg9x4b iV9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mC1UYyNkxjhfXR+fI7Xv+DZHUBAMno2SWvT2ljgA1jA=; b=q5K9ZKW+RMdvxYxy5EQ1CIEXd5p2sfEpyX9Sse/vbnFv6IStOs+lsI9dgLrUoHVNEH Pf+BL1lzSnO/30u/4lrUACP9HGFyeCdWpfidd6r4h8Zxwb/UggCef1RxSpJqiojRfaZU ZzNhM0OuXf8JavL8VbZ+kwOLEuX1bH8pLDxlS+c75PLzZy6wJWiKQszWGpW07JTPdvUI tztxMFUE7I3N/dwxHbqLGxLUMpM3bBxZJ+nN56w/kuwaNRCM1A5zO4tdeppZo+cg2sl3 EN454cPAdcDbbh7Swc2ZSKxZl/W6Gg18iU//QdsDLpPaoKVAk0wFSrQ2wVtoiQcQ+7KG xzNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=V9kHZiJH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si5624684pls.83.2019.01.10.12.16.38; Thu, 10 Jan 2019 12:16:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=V9kHZiJH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729180AbfAJOgO (ORCPT + 99 others); Thu, 10 Jan 2019 09:36:14 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:42078 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728499AbfAJOgO (ORCPT ); Thu, 10 Jan 2019 09:36:14 -0500 Received: by mail-qt1-f194.google.com with SMTP id d19so13019494qtq.9 for ; Thu, 10 Jan 2019 06:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mC1UYyNkxjhfXR+fI7Xv+DZHUBAMno2SWvT2ljgA1jA=; b=V9kHZiJHswrNAcQIIck34bLY9E/hy2VXPOJzEFedgo3kn9E5DO3nH2ydHzAS4KNiqR ixAgJpS6vOCARi+nQnGMlifZ+DP7Msy+HqqJA0aPxHcPwVVJaORQyIgPZ+Db6YBjsJ27 NmXpEmuTstw6s1cyLQ0xunDv9HUrhqf30TvTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mC1UYyNkxjhfXR+fI7Xv+DZHUBAMno2SWvT2ljgA1jA=; b=ndekuTZkD4nAEX2eKuNNY3IGIxIcIUAfL5jPQzdNCpVxDhbqnM+4O1sJ0bs2voLEed ZdDCN4tSJ2Nt6oNvP8M6hzRIYgqQav6kcavYKWp0bLQkJduAQuOodBMTo/Ri2CeE06MW brq2WEpvUUQNyJH1cT26lyPiQCoau7Rzps75/AaDr88sZ+Fcdh4cxOMT9s4JtsGqJp9R HHkWxFR/dZ0mWuUO/IUoBnXSU3DD+RVgyGStX7yEorwBowtV/KkyxIRd+xcG4WEWZ3FC 2VzezSaeDoKS3BzJfntvv5i9rKxuO7hEEqNmgzybTmTbqdXjRZZeIuaHFptVNJ3IPbdl 9Xbg== X-Gm-Message-State: AJcUukdXlATRV9ZtWlnT+Jz/Dw1rWYJ4SbHOMn5KSz4P9bFrDQDgTqKl MiMoD1+55GF5h7HWTDNksS3nmg== X-Received: by 2002:a37:bd5:: with SMTP id 204mr9073704qkl.242.1547130972980; Thu, 10 Jan 2019 06:36:12 -0800 (PST) Received: from google.com ([2620:0:1003:510:59af:10e9:2d49:6b0a]) by smtp.gmail.com with ESMTPSA id f36sm36718254qtb.67.2019.01.10.06.36.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 06:36:12 -0800 (PST) Date: Thu, 10 Jan 2019 09:36:10 -0500 From: Kyle Williams To: Mathias Nyman Cc: Alan Stern , linux-usb@vger.kernel.org, Greg Kroah-Hartman , Kai-Heng Feng , Jack Stocker , Michael =?iso-8859-1?Q?Niew=F6hner?= , Nico Sneck , Tim Anderson , Danilo Krummrich , linux-kernel@vger.kernel.org Subject: Re: [PATCH] USB: quirks: add NO_LPM quirk for Logitech Flare|Meetup|Brio|Rally Message-ID: <20190110143610.GA142026@google.com> References: <20181207221841.GA161210@google.com> <9d5fc873-fc6d-797c-f1cb-573a784123b9@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d5fc873-fc6d-797c-f1cb-573a784123b9@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 10, 2018 at 03:50:17PM +0200, Mathias Nyman wrote: > On 08.12.2018 00:18, Kyle Williams wrote: > > On Tue, Dec 04, 2018 at 04:36:18PM -0500, Alan Stern wrote: > > > On Tue, 4 Dec 2018, Kyle Williams wrote: > > > > > > > Description: Some USB device / host controller combinations seem to have > > > > problems with Link Power management. In particular it is described that > > > > the combination of certain Logitech devices and other powered media > > > > devices such as the Atrus device causes 'not enough bandwidth for > > > > new device state'error. > > > > > > > > This patch creates quirk entries for the tested Logitech device > > > > indicating LPM should remain disabled for the device. > > > > > > > > Signed-off-by: Kyle Williams > > > > --- > > > > drivers/usb/core/quirks.c | 16 ++++++++++++++++ > > > > 1 file changed, 16 insertions(+) > > > > > > > > diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c > > > > index 0690fcff0ea2..9403edee4797 100644 > > > > --- a/drivers/usb/core/quirks.c > > > > +++ b/drivers/usb/core/quirks.c > > > > @@ -246,6 +246,22 @@ static const struct usb_device_id usb_quirk_list[] = { > > > > /* Logitech Harmony 700-series */ > > > > { USB_DEVICE(0x046d, 0xc122), .driver_info = USB_QUIRK_DELAY_INIT }, > > > > > > > > + /* Logitech Flare */ > > > > + { USB_DEVICE(0x046d, 0x0876), .driver_info = USB_QUIRK_NO_LPM }, > > > > > > This entry is out of order with the preceding entry. And some of the > > > new entries below are out of order with each other (entries are > > > supposed to be sorted by Vendor ID, then Product ID). > > > > > > Also, perhaps instead of adding all these new entries, we should set > > > the NO_LPM quirk flag for all Logitech devices? > > > > > > Alan Stern > > Setting USB_QUIRK_NO_LPM for all Logitech devices instead of specific > > ones seem to be a better solution as there are a lot of other devices > > that have the issue as well > > > > Kyle Williams > > I recently found a cause for the "not enough bandwidth for new device state" error. > Patch just got applied to v4.20-rc6 > 0472bf0 xhci: Prevent U1/U2 link pm states if exit latency is too long > > Does it work for your Logitech devices? > > -Mathias > Hey Mathias, The fix specified solved the issues reported for all of the listed products. Cheers, ~Kyle