Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4019510ybx; Mon, 4 Nov 2019 06:34:04 -0800 (PST) X-Google-Smtp-Source: APXvYqybkoypLIXB9DUimFcMNk4ZDOa+WZUj7iN56E/WQLP58Q+kSvyfONZ7FGe+KdIY1lD63Y5A X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr13271814eju.285.1572878044512; Mon, 04 Nov 2019 06:34:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572878044; cv=none; d=google.com; s=arc-20160816; b=aUR6Ip9+LF+CBnrNH39MQFDOuh/NxfI7ZsAMn1TpcqhOetKFq70+o/mGHQ09/53CyU lss/GJVv30s3hxMwKYJupPfAtJh2v1A+H7Wg+Eq8JQryjvklCX/2Qomkv+qHLS5hoTTf w0m8goGjYbk2PiSre10wI968JF8EANVf2uQzieSETiseyoEWahJlBJvqsKFbye9gsJwY 0XQrD19GFH0olRZsrtwfOELq8+I+QDCWgRf9S2iCNiyNQaC3BblFfJS+RUIvejhoROdx fvUEP9QpvqmvKPcfiq3y8ffFh8u5WaLEe0+rIIov7D/VfNP/jOD8wOnJF/VIJJMjl/D5 jWWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pPoc1LYjuuWW85w5om7p6J+XA/2Iiyol16QOP7FwRGU=; b=Rux8vliiup9ge6Nl2PdBlbnqIku788RoWfFn7YgIQXmbwi6yaEUyQVYs7GHXnl43LC SK5NqDNhdXJlUN9EMRd8LSiylLYbbY9URbz32LaZLHPV5MFxPVFH5eq1mkP2LPROaSh9 18d0REZvzWIYCeRZu73MXkUoPJpHfKH48xaLmhnSO/m7bUOqrIEr6xHGm622Nji/937o yP5R97XOHjeIqNAvnCDbjVIYFhadu9dKKiPYJy8x6kkl6f9NDEAgW+yau6DZpkITb+vD H3iUANfioINZVp2RAgU8D0IbubczwXDdqliUoKAfgE4pj2yQiJpd6A9T8vyCobPDHqZc RdAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lyVW5vXO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be23si3479975edb.103.2019.11.04.06.33.41; Mon, 04 Nov 2019 06:34:04 -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=@gmail.com header.s=20161025 header.b=lyVW5vXO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728955AbfKDOcp (ORCPT + 99 others); Mon, 4 Nov 2019 09:32:45 -0500 Received: from mail-io1-f49.google.com ([209.85.166.49]:46771 "EHLO mail-io1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbfKDOco (ORCPT ); Mon, 4 Nov 2019 09:32:44 -0500 Received: by mail-io1-f49.google.com with SMTP id c6so18600150ioo.13 for ; Mon, 04 Nov 2019 06:32:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=pPoc1LYjuuWW85w5om7p6J+XA/2Iiyol16QOP7FwRGU=; b=lyVW5vXOD7ThTrnsn2DY0eCQkEyMbv/U7Sr+YigbWns8kxBBvKvu10euWMUMb+FEpz p6aa2S8RKRnGntEKUz6pOXZ2cUtAXGuDWKTu8yf7GEVv6vM2oTY2WTtLrrMXmZNtjiPM m5fXHEUPf5rgupIGT4bDAVnR6IF8KW3mrmOyZ8+GUblTJVP4a6Ddmp37j5w1fJkXci4b 1GCau1W/kFlYI0tlLtjF3K8UK1FXsFlBj73fgDNl6Siy88f6bZj4wgYmTnLJOibG3qZu VLp7YJEEVsv88yVH+6YFfQLWJ02XKASZEucjQVva2BLQlV6nmVHHTYE99hXyBAAIeXcT GdnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=pPoc1LYjuuWW85w5om7p6J+XA/2Iiyol16QOP7FwRGU=; b=c6t/yp8mfm5njtqGd7lPYC3hzFRGaMctLo6sErRVMQlpDwfz5P53WPj8/4eikLrib1 xqR6+bnVS+W29PZIP1ig1A2tpq5AjjxV3xp5j/oMyZcLygQecYKIkvSWzXtbiv3W2KH6 sM3RolZqeK++Uf2TvdvsavFzS+lvMI5oVu1MMUg0aVs1Bq69ftYjh8qVhSVvh5CSud+g SfRmc/YJEzk1zDyrvOk4Q28tlsnjAaNBw/2ULresC4ZYjbnBiMyNW70Em19TVUcHd3qG j7bEwM+5wShPS2B+lzB5jtn+04SFt0bESSq04x8KNzPj9utBiZ+NJ4gVyRKygWx2P5Mr ojqw== X-Gm-Message-State: APjAAAWtgF5zBF8s3V3Q8BJW3kYsDWOYUC5GCbDIVKRuXmltcFJGWmvm RmfT+2v9pBVaetseGCRXR148MQRVNYwYGkPowZrHLaOc X-Received: by 2002:a6b:7b4d:: with SMTP id m13mr16990964iop.23.1572877962831; Mon, 04 Nov 2019 06:32:42 -0800 (PST) MIME-Version: 1.0 References: <20191104135111.GF28764@mit.edu> In-Reply-To: <20191104135111.GF28764@mit.edu> From: Tom Cook Date: Mon, 4 Nov 2019 14:32:30 +0000 Message-ID: Subject: Re: Power management - HP 15-ds0502na To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 4, 2019 at 1:51 PM Theodore Y. Ts'o wrote: > This is actually the laptop's ACPI and/or EC not supporting > suspend-to-ram at all. Suspend to idle is the new hotness, because it > gives the OS much more control (but also gives the OS much more > opportunity to screw up). The Dell XPS 13 (models 9370 and 9380) > supports both s2idle and s2ram, but s2idle doesn't work well at all on > Linux. (Well, at least not the upstream kernels; the official Dell > Ubuntu kernel and userspace apparently has enough tweaks that it works > well.) s2idle sort of works - the thing appears to go to sleep and wake up okay - but the power savings are not really enough to make it worthwhile. Putting it into s2idle state and putting it in a bag results in a very hot laptop - and of course that makes battery life not great. I'm guessing this is the Ryzen 7 CPU idle states not being very well supported? > > * There are a few devices that appear to be on I2C buses and declared > > in the ACPI tables (eg the fingerprint sensor) which don't show up > > under Linux. They did under Windows, until I blew the Windows > > installation away to install Linux, and I'm assuming that Windows > > found them through the ACPI DSDT. Now thinking it may have been handy > > to keep Windows around for debugging, but that's regrets for you. > > Even if they showed up, it's unclear the device driver would exist for > Linux. Most fingerprint readers have proprietary interfaces and > aren't well supported by Linux in general. Yes, understood. But the first step would be enumerating them through the ACPI tables (if indeed that is how they are announced). > > Is this the right place to raise this? If there's some other place > > that Linux ACPI issues are dealt with, please point me there as I've > > not had any luck googling. > > There is the linux-acpi@vger.kernel.org mailing list and the > linux-pm@vger.kernel.org (pm --> "power management") where you might > try asking about the s2idle. A lot of the issues with s2idle appear > to be very device driver specific, and not about the power management > core, so it's unclear folks on those lists will be able to help. But > it's worth a try... Thanks. Tom