Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1646985pxb; Thu, 4 Nov 2021 06:11:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfs4S3Pj0U15GqrsEduxByXrkQAjVuY61DlmRd6yaT1CCaOpfK5pGAV0+EQQpvTVN/NqBK X-Received: by 2002:a92:c08d:: with SMTP id h13mr27229808ile.60.1636031468851; Thu, 04 Nov 2021 06:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636031468; cv=none; d=google.com; s=arc-20160816; b=siIAQbPd9ri3kGiWge80gSUaWuh2wS4m+FyJdMQHzdPYSGU2z8sWhXBTHsqezUvKRa 5jmhuDv+8JvD3mIJsmAhqlO2m0HUW3exoHDhduVISGqjaqairj3+/aDL1kYAGDOvaZKp g6ijCtAmgEF/PiBaiJPXsgvy1zODwFDCJaYH2dGluZdfh6Izmqrz+OEw++63owFE/ZNF 1QrtKm3O510kOzjGpjPOb+FDlt2PMwV1Ycq+f0rs/Kixgv998bmZDenBNYImk8JD+IVU rh/dn6rkDO78GQV1dkpcYEb58dGHY3C14XcuS6k1WJ0N7YcP6mveEoyQdQ7MycGFNX+3 bvlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=aUSQiyn+M+PMvX4Nia4AkqPFlr1vEOKfz+p1SNy0zZk=; b=Anf51o6E5Np2plakPa+EYFKibPdWEGJ8shhqt+YWVEuWZzT/CUz3vrOSRj0jVv9neW xa4KaAZod0tL6zBVJzde57ciJKhRndiaEYBDxytjxuGPUzhuCWKF1GeDblRkXnAYYS/v X6nwLucJd5i0YzpOVfmd0HrTDqvBWrTn5mVn6EwxCQEy+GEF1X78DbMeQhes/8x57wpt VRIwFEkWrVKAd/YqLwv9jToYmzt1edzGIhWabF0EPfOst/kiguU0f0/hOxIYQNCSt3LJ vW0+NUYcfoGem9tMdkTfYKIdbhO9bD4RpqqMS18MJTDs8dfyIh2PSAuPzDVdK3hrf9cw 0pYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si9648661ilm.9.2021.11.04.06.10.39; Thu, 04 Nov 2021 06:11:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231664AbhKDNKc (ORCPT + 99 others); Thu, 4 Nov 2021 09:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbhKDNKb (ORCPT ); Thu, 4 Nov 2021 09:10:31 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A3876C061714; Thu, 4 Nov 2021 06:07:53 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id CB5D792009D; Thu, 4 Nov 2021 14:07:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id C555092009B; Thu, 4 Nov 2021 13:07:52 +0000 (GMT) Date: Thu, 4 Nov 2021 13:07:52 +0000 (GMT) From: "Maciej W. Rozycki" To: Andrzej Pietrasiewicz cc: Pavel Machek , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Greg Kroah-Hartman , Dmitry Torokhov , Jiri Slaby , kernel@collabora.com Subject: Re: [RFC] tty/sysrq: Add alternative SysRq key In-Reply-To: <17ccc35d-441c-70c1-a80a-28a4ff824535@collabora.com> Message-ID: References: <20211103155438.11167-1-andrzej.p@collabora.com> <20211104120111.GB23122@duo.ucw.cz> <17ccc35d-441c-70c1-a80a-28a4ff824535@collabora.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Nov 2021, Andrzej Pietrasiewicz wrote: > > Is F10 sensible default? Would it make sense to use something like > > alt-shift-esc so that this can be enabled by default? > > Why "alt-shift-esc" could be enabled by default? Do you mean to enable it for > all systems regardless of whether they declare or don't declare KEY_SYSRQ > in their 'keybit' bitmap? FWIW from my perspective it'll work better as a replacement rather than additional key combination. The reason for this is with their more recent laptops Lenovo in their infinite wisdom have placed the key (which in a traditional PS/2-keyboard manner produces when combined with ) in their keyboards between the right and keys. With thumbs not being as accurate as other fingers (and the overall misdesign of the keyboard and touchpad interface) you can imagine how often I have inadvertently hit combined with a letter key, wreaking havoc to my system (and of course I want to keep the key enabled for times when I do need it). Also Documentation/admin-guide/sysrq.rst mentions that you can set an alternative keycode sequence for KEY_SYSRQ with `setkeycodes 99' already, but I find this pretty limiting as this only works for single keypresses rather than combinations of keys, because actually refers to a single scancode (possibly 0xe0-prefixed). Maciej