Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp239328imm; Thu, 16 Aug 2018 19:31:12 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx8fBqQv8hRxnzkIGfstH9EzeYrQ71ZYddEnUwDatQbnFt7I3t7t/EBKirwJvgRPW96Ii6A X-Received: by 2002:a63:ec43:: with SMTP id r3-v6mr30422380pgj.295.1534473072498; Thu, 16 Aug 2018 19:31:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534473072; cv=none; d=google.com; s=arc-20160816; b=vOsrvB3wadp/mNTOrdiX5bo2SlyM6SIE0QyhuoZnJDtTAeo/I4B14i9Xc7WkX3tFDw kI4lm8Fo3mjL7xWxywcCFxTd5GPIkomzq8JufJAQ2URXFxXZGYAaeS0Yb40mIVzSAMFS BXBaVmKU/rEEIJuS4tPrKqMetfaxFq8e6EtDEsarRJsrEQCvuO65EwnwuLTmcPh2rv6+ K+JqKuxuahrR83/UZ4rWeVJOIZmyy1qc3G6k+UjGSrv3yjKBxAA3uZ1b01Nrl9frYUl7 sFjsGkpmt1TSfBmdNAfd7Tn8mNEzW1eUO1kqs9fUV97P9FZpUxkXrQPMsRxPCKp98jbS 7pVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=3xAZxOAFo0UqRNdimb9YklHhNzn+2NYfBiJYDQ1hRx4=; b=WsSC9l6hEZH7HRsdpPlhHaoHHUNioiVkJ6KhzZQUQqxVY9b5ktZaRu1K95VHj2H37Y FufiX4E2FvmmmCUsocwI7OA6R8XfyRi1KhB1nXxvi6WGZXFdZeBfc3DY14iSVs2zNtSh sYmZbIammZWcNS8sgG9ojXTGtwCI2MwVvWhOLmq6rO3TgqJPum7V4/ipf7gaHlwkBVDm xS7TBfkPkj0SYGLMbfMPipPKwXZdZB6wWlLJ/NlGkZK0eXsg3a0KJLUdyn+tTeMrsBQb xEGsQavf36L2XySuq15nerc1ahoBi/xq+NPy+i6UnVCkPD88x/769VKmCBhdsNto/vk1 IfNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=vqP4e5Kv; 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 i15-v6si994559pfk.146.2018.08.16.19.30.57; Thu, 16 Aug 2018 19:31:12 -0700 (PDT) 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=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=vqP4e5Kv; 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 S1726300AbeHQFbQ (ORCPT + 99 others); Fri, 17 Aug 2018 01:31:16 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:34697 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbeHQFbP (ORCPT ); Fri, 17 Aug 2018 01:31:15 -0400 Received: by mail-oi0-f66.google.com with SMTP id 13-v6so11650671ois.1 for ; Thu, 16 Aug 2018 19:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3xAZxOAFo0UqRNdimb9YklHhNzn+2NYfBiJYDQ1hRx4=; b=vqP4e5KvaNUOU94z/RBc+WZEBo6E+3qpxy4SbPby8jXnVx23tofNyd78b43W+zJw0w 1hSSuFLPPxnfYiiZq880y6MQ4aOLAEru6Jc9pzDgtbwMuP8VMnI4Tto3GbTzqVgaL4BO fR2cAHrV/Ak5YqhTVFCaR5l/9t27HI1XiJ0SG/czn/bbVcFvhpFrHvnYfL0CDOu9NkPt KZeMLxXpJd5Ivd6X6ITge1B/tZRffAVOBGOiVvdkvwEZA+WWtJNloT+WvUcGmsGIOmqY /QABrg4H43OrxREXvc8ZfGRwbe1B4MhQlZiwZtzjMM3haTQDGWpupOaAjoXadOFWaEoD /U6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3xAZxOAFo0UqRNdimb9YklHhNzn+2NYfBiJYDQ1hRx4=; b=ejFubGQpGHGuWnz2SSn0BQv3jvzeSCOuYuVtaGhqS9QCM4FVZlCITPoe+MKfQXkAAt yc/sToa92ptVIwNuQt+O91tX4nTtLGTSpjxbmxuJKCrzusCT+wEOq2tgW7Ff5eWS3Svt SjFnQ/r4Jtv+IGACGz32G5bD+5LozvRguUG8akkSj7FqHWULomNBnlBYpeESdC+ebRcy HNOT3vhrgAclATFVxYjYqmIdyTcf9MOfzWgifVem7fD695QtrB+J+H7tv0pWwD5cFTxN SZzyWfkcH3V0Si0mvwbQjxZQDhFuAo8LB9zHb7xfe4owpSXuzeiMFmC6s+OWsA1aDGK0 uFTg== X-Gm-Message-State: AOUpUlEMeib+CHZm98wltXBOUgW1pQn0lfptP2kzQ0mEL667fhNI+Jk4 4+sM31OxWupdWNGZ66W35jnndvFpoA01HW11bD5Qmw== X-Received: by 2002:aca:5754:: with SMTP id l81-v6mr650654oib.100.1534472985088; Thu, 16 Aug 2018 19:29:45 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:3e18:0:0:0:0:0 with HTTP; Thu, 16 Aug 2018 19:29:44 -0700 (PDT) In-Reply-To: <1631276.bMiRmflJ7r@aspire.rjw.lan> References: <73029405.6ZXyByzer1@aspire.rjw.lan> <1631276.bMiRmflJ7r@aspire.rjw.lan> From: Daniel Drake Date: Fri, 17 Aug 2018 10:29:44 +0800 Message-ID: Subject: Re: Built in PS2 keyboard in new ASUS/acer laptops can not wake up system after s2idle To: "Rafael J. Wysocki" Cc: Chris Chiu , Dmitry Torokhov , linux-input , Linux PM , Linux Kernel , Linux Upstreaming Team 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, Aug 6, 2018 at 7:17 PM, Rafael J. Wysocki wrote: >> 'echo enabled > /sys/devices/platform/i8042/serio0/power/wakeup' can get the >> keyboard wake up the system as expected. We considered to work out a DMI >> based quirk for this. But based on the information that EC would not signal SCI >> event for WiskyLake models, we'd like to know if there's any generic solution? >> Maybe a 'udev' rule to identify WiskyLake NoteBook then enable the keyboard >> wake up? > > A udev rule sounds like a good idea to me. What would the udev rule look like though? Match for Intel CPU generation (WhiskyLake) and laptop chassis type and then enable i8042 wakeups? While that seems like the most accurate reflection of the situation which we are seeing across multiple vendors, it doesn't feel right and seems unlikely to be accepted by systemd upstream. In previous designs, pressing a key while the system was in S3 sleep would cause a SCI interrupt due to the firing of the EC GPE, which effectively meant that keyboard wakeups were on by default and could not be disabled. Also USB keyboards have wakeups on by default (see usbhid_start()). Just these new platforms have this unfortunate/accidental behaviour change... Would it make sense to turn i8042 wakeups on by default on the kernel side? I don't know if any particular conditions are applied, but that would appear to be the default Win10 behaviour here. Daniel