Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4123984ybx; Mon, 4 Nov 2019 08:12:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwNewlWrO7rmiUwWqayDAthAwvTuAXfhJpD6MSXyMkDA7sAlRmTjPXjbP+D0t/g6PaeIgLZ X-Received: by 2002:a17:906:4cca:: with SMTP id q10mr23969960ejt.242.1572883969778; Mon, 04 Nov 2019 08:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572883969; cv=none; d=google.com; s=arc-20160816; b=XPDMsAGv8zEZwfsPPLnny6w64zr2gruVkrQdMYhEqxnvWjv5c4XtGMwbYVZQOD3CBD 2Wott+u9czNFtFJ/fY0qN86dlXT2zMDLsBprZps+kSL+dI/GWh6GBCmLsOj0jHX2Ee3u C2MJWICkUpg3hvY+CQ2Q54StcFVL05VYqG02sYZs50p4bfwJ/W1GWk3C9EUPJsY0zm3g nYip1J6FpaDoGpIGIVnvTFrDkO/WZJCuA5qzTfpFXehZTsUMTCguiLLn+hODg9qhkhtr MxgjLQBN227uxQGNbv+Y6ndeJyKroEQ9WCt+RtgNmh7ImzdtXKEAP6f+zf73yGZ71Ah3 LuHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=7ij556YeDER+c8pDmoYiemhFAz1hwvSQYE8WB2sm5QA=; b=Qf6CD2bnqVHdY4HsFS8NsgXLIR74qmm/PLT9MWDT5+aKyB6C8QaBnPiSFgyl05c2RJ CM12kxVkAE4xs0XJZohbQjhxztYqO32781IFm9zrbzXflC2/9YY1FavT8/1ZyXqHmz3W niYKJc9K9pqrAzWIaQAc71CdMB5JX+k1OOlvv2YJlZcwKXxsEN0qoLmgeKeOlBH4g3p4 CNuy8vw3oEQr1/zOM+kkdTyRp8Arhu42PuBvi7JHaO4YlXfdG0Ymi77JoUqdnGC1u8L8 HevvUFL5Tx+W45lqCPqDT89PsXYHN69iRwV8SPKJWpxXhf5csVr4G1zTvkkjj0cvc03W S1wA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id um11si11413961ejb.263.2019.11.04.08.12.25; Mon, 04 Nov 2019 08:12:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729041AbfKDQLQ (ORCPT + 99 others); Mon, 4 Nov 2019 11:11:16 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:44431 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727838AbfKDQLQ (ORCPT ); Mon, 4 Nov 2019 11:11:16 -0500 Received: from rabammel.molgen.mpg.de (rabammel.molgen.mpg.de [141.14.30.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 8C69020225AE2; Mon, 4 Nov 2019 17:11:11 +0100 (CET) Subject: Re: USB devices on Dell TB16 dock stop working after resuming To: Mario Limonciello , Mika Westerberg Cc: Andreas Noever , Michael Jamet , Yehezkel Bernat , Christian Kellner , linux-kernel@vger.kernel.org, Anthony Wong References: <5d2b39bc-5952-c2b6-63b3-bce28122ffd5@molgen.mpg.de> <20191104142459.GC2552@lahna.fi.intel.com> <20191104144436.GD2552@lahna.fi.intel.com> <20191104154446.GH2552@lahna.fi.intel.com> From: Paul Menzel Message-ID: Date: Mon, 4 Nov 2019 17:11:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms000701090708010009000403" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms000701090708010009000403 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Dear Mika, dear Mario, On 2019-11-04 16:49, Mario.Limonciello@dell.com wrote: >> From: Mika Westerberg >> Sent: Monday, November 4, 2019 9:45 AM >> On Mon, Nov 04, 2019 at 04:44:40PM +0200, Mika Westerberg wrote: >>> On Mon, Nov 04, 2019 at 04:25:03PM +0200, Mika Westerberg wrote: >>>> On Mon, Nov 04, 2019 at 02:13:13PM +0100, Paul Menzel wrote: >>>>> On the Dell XPS 13 9380 with Debian Sid/unstable with Linux 5.3.7 >>>>> suspending the system, and resuming with Dell=E2=80=99s Thunderbolt= TB16 >>>>> dock connected, the USB input devices, keyboard and mouse, >>>>> connected to the TB16 stop working. They work for a few seconds >>>>> (mouse cursor can be moved), but then stop working. The laptop >>>>> keyboard and touchpad still works fine. All firmware is up-to-date >>>>> according to `fwupdmgr`. >>>> >>>> What are the exact steps to reproduce? Just "echo mem > >>>> /sys/power/state" and then resume by pressing power button? GNOME Shell 3.34.1+git20191024-1 is used, and the user just closes the display. So more than `echo mem > /sys/power/state` is done. What distribution do you use? >>> I tried v5.4-rc6 on my 9380 with TB16 dock connected and did a couple= of >>> suspend/resume cycles (to s2idle) but I don't see any issues. >>> >>> I may have older/different firmware than you, though. >> >> Upgraded BIOS to 1.8.0 and TBT NVM to v44 but still can't reproduce th= is >> on my system :/ The user reported the issue with the previous firmwares 1.x and TBT NVM v= 40. Updating to the recent version (I got the logs with) did not fix the issu= e. > Loop Anthony. Anthony can you see if you guys repro this at all too? >=20 > As a potential point of comparison and sometimes pain area, I'm wonderi= ng if > something in userland is poking power states for Paul leading to this. >=20 > Paul what sort of power management policies are you using on your machi= ne?=20 > Anything like: > * powertop --auto-tune,=20 > * TLP > * systemd > 243 (contains some stuff for automatic suspend) I=E2=80=99ll check with the user again, but to my knowledge nothing from = the list is used on the device. Kind regards, Paul --------------ms000701090708010009000403 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC EFowggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYT AkRFMSswKQYDVQQKDCJULVN5c3RlbXMgRW50ZXJwcmlzZSBTZXJ2aWNlcyBHbWJIMR8wHQYD VQQLDBZULVN5c3RlbXMgVHJ1c3QgQ2VudGVyMSUwIwYDVQQDDBxULVRlbGVTZWMgR2xvYmFs Um9vdCBDbGFzcyAyMB4XDTE2MDIyMjEzMzgyMloXDTMxMDIyMjIzNTk1OVowgZUxCzAJBgNV BAYTAkRFMUUwQwYDVQQKEzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVu IEZvcnNjaHVuZ3NuZXR6ZXMgZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERG Ti1WZXJlaW4gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCASIwDQYJKoZIhvcNAQEBBQAD ggEPADCCAQoCggEBAMtg1/9moUHN0vqHl4pzq5lN6mc5WqFggEcVToyVsuXPztNXS43O+FZs FVV2B+pG/cgDRWM+cNSrVICxI5y+NyipCf8FXRgPxJiZN7Mg9mZ4F4fCnQ7MSjL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