Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5711430imm; Wed, 12 Sep 2018 09:56:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYNeQ+RT4ssLhgL4fAUiW2VUE8Z8K5NfYHLxWI2V4Az6AusiEva8mIGbdE08+gC0/b+xZmo X-Received: by 2002:a62:bd4:: with SMTP id 81-v6mr3398008pfl.67.1536771400651; Wed, 12 Sep 2018 09:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536771400; cv=none; d=google.com; s=arc-20160816; b=FIck+nNYrpXI+lB/EPi7mBA8Fgt1LPCLJ/pN2+VP7h40d5KrpsQO9Hsl5nfmtZ5oM/ T3NIiBcnAH0wwmtrAy5fAL8m7iE6/Q3Qwiyud9WqBbl8v9fbrWnNfAJWTmOtdYCLqN4v nPGfWr657HB/v030ojOHl8bZ4xDmeCLbbVhNM8LvMDzEusrOIen+dqjwM3RYM3e/YeuH Y2wymA8WjMhaHhiYA/28Ban81PFPWPwwI8d1qMm7W86nsyNkAJPuD1KUCI1sRZXS49T7 LvI1feB44atJAmauXfn4xp10pcSQc7/WY1TSF8ISPP1jxN5NSPsFEobPQwllmDL+XuPt yFRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3aE/AOQPeV1+kCGBnyaGyn52N13d6BS2MHKUO0625dQ=; b=psb0Ve1i9P5BnWbBBEbeWxvniJVAiij88LEVNit/jaxm49DoR92S5Gr1FhnBAcbZr5 lsKi/5rq9RqLGXJQ4enDdir1/XRHFbSh4uF9X7OYhIsJ9mIbtWF+lr3eeIWz/03A7CeY Xg6dUsW/WX4a3Yw6nq34QEc3Zq84Mm88LHwn+/a9nbvdfdv9cy/cN7V1AmyrTsLLCsdA JsXwWc11Y7Hro9uSq6wHF+88MxDGtUtghgIRNr0c/b7HsevNW5uWJOsrzfa5WV6VAZbY GhJOxlMtEmI9cYisDwtv9tLlMifOWowdD+DN5gYrV4SnUtma+sOV5RbZnTYD+mUvwPty w35w== 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 d191-v6si1609586pga.157.2018.09.12.09.56.24; Wed, 12 Sep 2018 09:56:40 -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; 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 S1728140AbeILWBM (ORCPT + 99 others); Wed, 12 Sep 2018 18:01:12 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:49211 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbeILWBM (ORCPT ); Wed, 12 Sep 2018 18:01:12 -0400 X-Originating-IP: 88.190.179.123 Received: from localhost (unknown [88.190.179.123]) (Authenticated sender: repk@triplefau.lt) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id B2D75C0009; Wed, 12 Sep 2018 16:55:44 +0000 (UTC) Date: Wed, 12 Sep 2018 19:03:51 +0200 From: Remi Pommarel To: Alan Cox Cc: Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, Alexander Viro , Kees Cook , Elie Roudninski Subject: Re: [PATCH 0/4] Add specific vt input's key map Message-ID: <20180912170351.GB1119@voidbox.localdomain> References: <20180912153519.533fb27a@alans-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180912153519.533fb27a@alans-desktop> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 12, 2018 at 03:35:19PM +0100, Alan Cox wrote: > On Tue, 11 Sep 2018 22:23:55 +0200 > Remi Pommarel wrote: > > > This patchset adds a way to have a specific keyboard config (i.e. > > keycode to keysym map) for a vt attached input. > > Who actually needs this given that you can't even render most > international symbols in text mode and X and friends already deal with > mapping of keyboards at this degree of fine-ness and even more so ? Let say you share one computer among people used to different keyboard layouts, so you have plugged in one keyboard for each of those people. Let say you have encrypted your disk with a long passphrase, the one that boots up the computer has to enter it. It could be annoying to learn another layout just to enter a passphrase to boot. This allows to set an udev rule in initrd to use a different layout per keyboard so every people using this computer can use their favorite layout to enter the passphrase. I am in such a situation and so is @Elie. I also don't start X server at boot time (or sometimes I switch to a linux VT) it is not very convenient for me to switch layout to enter my password, or even to type "startx". I do agree that it is not an absolute must-have or shiny feature, it is just a convenient one, at least for me. -- Remi