Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2080194rdb; Sun, 21 Jan 2024 06:39:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdRaXJ6UwJ+1cvG5n9zZMzYfw776nr3k36WEudTwIwXwxk0nzbJ85dvarVZf+hz/FLSeKF X-Received: by 2002:a17:902:ec02:b0:1d6:ea58:f593 with SMTP id l2-20020a170902ec0200b001d6ea58f593mr820856pld.9.1705847985690; Sun, 21 Jan 2024 06:39:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705847985; cv=pass; d=google.com; s=arc-20160816; b=gYlg/jyjJr7EcS6HU5j4olP2dmpy6YKGhh7O8UUM/kPAsBr/+1KAhEnHsA8bw9ryed IarKETMXncnWae9pNsieL3Mzl21L0dbMjTbAggHa1hPZCEn5AINNWZMEo+NIjyE0Uukw gU9G+oA9dr7z+B2nCKHamWScIES35ujuKqWqscX5/ngWEN1cdhsMOKNFGHuScYPLr5Eq HVPyx/AsPDpSDtIRWR9Y46WLFyEzJdK4iCKjGa/ExWqGcQUzvsJQaLxLP7jdSIXAWk57 XpNDnrAZedT0c/Gqv80gGywAWG2Hty0uiwQlLeUzmYUdt/LkKDC1QDfIM50gNX3Ziif0 dIcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zGuA+kzxGPPLBUwgOuRhdYnF6wAZDujDr4dgpXU2wo0=; fh=WHF6lvhHM4GvIUbPQtwyPwZSkRtB4J3vwR1ENoCEzwI=; b=JEthW1uyI+O+RAgu5kVbA/w2vL/7e6y/wHof4BtHWbiV7pIHUzBALIKFPnc/6BAicX BrSw7d0cURLrOVRLMNBaVOiBJ/4nX6IKAgp7kZdS+OEzbn/Xs/TJoDssbGmL9e8ISUnd Dvt+tAJq1NkzcTFSMXiOd7hYNNT2tGEb2x2tylZhTws8xFKCV+FtLOIXX1rK/Fh+KX6o /6uMa05lZgvKP5q0yd+tdgW1KONf9eqp2qMaNhIqF01/VMGGydU7xKKUIFOLpr49zV2z POu/qghmRFejupLT5+gUY8bwpbcjpYm2HKmaqruuK4uFNpe1MDNHmq/ZmrXKltY02VQV LymQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PGh8wUsG; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-32077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s22-20020a170902989600b001d4c9800e08si6500440plp.405.2024.01.21.06.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 06:39:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32077-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=@redhat.com header.s=mimecast20190719 header.b=PGh8wUsG; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-32077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 4E58D281AF5 for ; Sun, 21 Jan 2024 14:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6D0B374FC; Sun, 21 Jan 2024 14:39:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PGh8wUsG" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 86C8337179 for ; Sun, 21 Jan 2024 14:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705847974; cv=none; b=i/3ULquImmWEVTOhEj6uu2r9IEdcZi5D1W6qWAE/bAqcTBfixyoVoB+dkrTmokjgCyQC6yCNW06Erg/1qkVtX/SHXV7XdAPcrksmzfnseAWYV2XSehnO3mJskuEOjboq3Nq/yFh8githKZ160MXmbhLAe61dt6p/y6rO7fyugQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705847974; c=relaxed/simple; bh=WPNSMifYsEXOyV0y7N1voCjLcd8T8PE8xewtQnv81gY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P+H+455+nfOSMMJWbfkoT49KvEaEVhQ09WU4YhSgw1fzFLl4kbnvFbEWWaOYj7vGiCSzEe1vL5fOusjVqRGMY8NfM2EIxWp9wciKefZ4Prh4nbUbsasVoNrv/qzjXr0SIbXM8UVHvrbJElK22UAYFYTBy9lYi3B6D+uB0iiIMiU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=PGh8wUsG; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705847971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zGuA+kzxGPPLBUwgOuRhdYnF6wAZDujDr4dgpXU2wo0=; b=PGh8wUsGVE/5KfbnqwteK8ECny59iMJp3jmb5s7tH1S7hyH8Qz5ZTqG1TMUAVyIWpdW6Nf zUdLwkNc3MXE186539Fd/GLW+5+qeJza8bI82ohoke5e1DQLq5TPPoetn5l+qKyogf5zws nJueIAdke67uLj+ABtaRIIGlDb/GvTQ= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-581-g6j3fD8CMLuv7abDc7489w-1; Sun, 21 Jan 2024 09:39:29 -0500 X-MC-Unique: g6j3fD8CMLuv7abDc7489w-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a29bb25df84so102119466b.1 for ; Sun, 21 Jan 2024 06:39:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705847968; x=1706452768; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zGuA+kzxGPPLBUwgOuRhdYnF6wAZDujDr4dgpXU2wo0=; b=VXbIHyPBb8InJOsXnaVAawWgOQMVEw1uS7M2Km/DkRO+gF+uV78tLjx2Mft+uCadMq G4gymnqfSyRntM4rzTGjnRujxbFExjlHhP3kIe3LM/NCnEiqFEAnWd3+GPBwF1tV0A6c MrMzz24ULsTIPyNTdHGWy2Qb4aIXIqxRNeISYrqZIIlq0ZhHL6sMEKPJpTT7GtQYblgH wnRSgYqePKMZGzzC1Oz2OorWvWq/4JkfkYN8mS4VSRtU7warcKYuz/RXh2s+mJrZGSKg o1Lmyq40cpATjyQAyaB5taYEiConqaapCjKFx6PiV52xxNkU9Fypd7ymYirU3glhy6AL yKVg== X-Gm-Message-State: AOJu0YxDl2z/uMAHDvb1JqyWHpeDOikqzgwUD6+urL+AU+b7UJOL+tX8 +6Fx+n8/EcVVQNU+T5NMibADH9+OucmXy3fwQMAzW2SIFwdEBiv2A0OlBiUmeGTqHyZcGwKYkBL 48f0q4pidmuvn/UCnR1YAeVFNbVApjr80XeE6HQ/I8w6GbZIFd6biWLANFJbjkw== X-Received: by 2002:a17:906:7b82:b0:a2f:e18:fae3 with SMTP id s2-20020a1709067b8200b00a2f0e18fae3mr1421564ejo.41.1705847968066; Sun, 21 Jan 2024 06:39:28 -0800 (PST) X-Received: by 2002:a17:906:7b82:b0:a2f:e18:fae3 with SMTP id s2-20020a1709067b8200b00a2f0e18fae3mr1421561ejo.41.1705847967678; Sun, 21 Jan 2024 06:39:27 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id vk6-20020a170907cbc600b00a2ecec00a88sm5414771ejc.99.2024.01.21.06.39.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jan 2024 06:39:27 -0800 (PST) Message-ID: <55f73df1-c735-4cd5-8516-48cd18b23619@redhat.com> Date: Sun, 21 Jan 2024 15:39:26 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: PS/2 keyboard of laptop Dell XPS 13 9360 goes missing after S3 Content-Language: en-US, nl To: Paul Menzel Cc: linux-input@vger.kernel.org, linux-pm@vger.kernel.org, Dell.Client.Kernel@dell.com, regressions@lists.linux.dev, linux-kernel@vger.kernel.org References: <0aa4a61f-c939-46fe-a572-08022e8931c7@molgen.mpg.de> <0b30c88a-6f0c-447f-a08e-29a2a0256c1b@molgen.mpg.de> From: Hans de Goede In-Reply-To: <0b30c88a-6f0c-447f-a08e-29a2a0256c1b@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Paul, On 1/21/24 15:26, Paul Menzel wrote: > Dear Hans, > > > As always thank you very much for taking the time to reply. > > > Am 20.01.24 um 21:26 schrieb Hans de Goede: > >> On 1/18/24 13:57, Paul Menzel wrote: >>> #regzbot introduced v6.6.11..v6.7 > >>> There seems to be a regression in Linux 6.7 on the Dell XPS 13 9360 (Intel i7-7500U). >>> >>>      [    0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022 >>> >>> The PS/2 keyboard goes missing after S3 resume¹. The problem does not happen with Linux 6.6.11. >> >> Thank you for reporting this. >> >> Can you try adding "i8042.dumbkbd=1" to your kernel commandline? >> >> This should at least lead to the device not disappearing from >> >> "sudo libinput list-devices" >> >> The next question is if the keyboard will still actually >> work after suspend/resume with "i8042.dumbkbd=1". If it >> stays in the list, but no longer works then there is >> a problem with the i8042 controller; or interrupt >> delivery to the i8042 controller. >> >> If "i8042.dumbkbd=1" somehow fully fixes things, then I guess >> my atkbd driver fix for other laptop keyboards is somehow >> causing issues for yours. > > Just a quick feedback, that booting with `i8042.dumbkbd=1` seems to fix the issue. > >> If "i8042.dumbkbd=1" fully fixes things, can you try building >> your own 6.7.0 kernel with commit 936e4d49ecbc: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=936e4d49ecbc8c404790504386e1422b599dec39 >> >> reverted? > > I am going to try that as soon as possible. Ok, thank you. I'm a bit surprised that my fix which skips sending the getid command to the kbd during init would actually cause this issue. Can you retest with an unmodified 6.7.0 to make sure that this was not some onetime glitch ? Regards, Hans >>>      [    1.435071] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 >>>      [    1.435409] i8042: Warning: Keylock active >>>      [    1.437624] serio: i8042 KBD port at 0x60,0x64 irq 1 >>>      [    1.437631] serio: i8042 AUX port at 0x60,0x64 irq 12 >>>      […] >>>      [    1.439743] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 >>> >>>      $ sudo libinput list-devices >>>      […] >>>      Device:           AT Translated Set 2 keyboard >>>      Kernel:           /dev/input/event0 >>>      Group:            15 >>>      Seat:             seat0, default >>>      Capabilities:     keyboard >>>      Tap-to-click:     n/a >>>      Tap-and-drag:     n/a >>>      Tap drag lock:    n/a >>>      Left-handed:      n/a >>>      Nat.scrolling:    n/a >>>      Middle emulation: n/a >>>      Calibration:      n/a >>>      Scroll methods:   none >>>      Click methods:    none >>>      Disable-w-typing: n/a >>>      Disable-w-trackpointing: n/a >>>      Accel profiles:   n/a >>>      Rotation:         0.0 >>> >>> `libinput list-devices` does not list the device after resuming >>> from S3. Some of the function keys, like brightness and airplane >>> mode keys, still work, as the events are probably transmitted over >>> the embedded controller or some other mechanism. An external USB >>> keyboard also still works. >>> >>> I haven’t had time to further analyze this, but wanted to report >>> it. No idea >>> >>> >>> Kind regards, >>> >>> Paul >>> >>> >>> ¹ s2idle is not working correctly on the device, in the sense, that >>> energy usage is very high in that state, and the full battery is at >>> 20 % after leaving it for eight hours. >