From nobody Mon Jan 29 21:05:18 2024 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TP1696lHcz59Q7v for ; Mon, 29 Jan 2024 21:05:21 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TP16875gHz4Qb6 for ; Mon, 29 Jan 2024 21:05:20 +0000 (UTC) (envelope-from web@umich.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.b=cQEaDHkj; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (mx1.freebsd.org: domain of web@umich.edu designates 2607:f8b0:4864:20::1131 as permitted sender) smtp.mailfrom=web@umich.edu Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-602c714bdbeso24538817b3.1 for ; Mon, 29 Jan 2024 13:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1706562320; x=1707167120; darn=freebsd.org; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=wi0r5Vcl8YbF0utGAYqMStoaVrXsh7vH1f5z1hx71zQ=; b=cQEaDHkjZwjmJhrB6JyUatZ0zZ0LHOifPWLbCk0Qz5FEZAKaU9TxxodbhP4rHuGhgj vMBbN7IPXXvvq1us3PWDZOxrkH9++U2C2k9xxJmg4ljXsxBEUi98FcMeO9cHW4BfNE06 nAsAmh3CtamZ33LL9KWG/1zyxCLQilJ1qfLysPr0TLIVALwDpgN8qHvsntLAGnSUZNGH m2RWcOq222TK+AZnQvsHTRPjWC49LFPi1GO+oZqHbqsyfpIXGfJhDAGTWLhD/UyTnY/W x3KV/PTRZNb5sSv/0Og/fzBdufZKtsee8aZSUjl1wQSnoPDqDOau9nWQCXd2EYiq3D7P +IQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706562320; x=1707167120; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wi0r5Vcl8YbF0utGAYqMStoaVrXsh7vH1f5z1hx71zQ=; b=nC3YZG3EZhzQhh0NzQ+5k1jWM/O9dvLwtxyxRRsXx65L9UwXxUusUY+i/vvSvKffVw xhdSMDlx+vrgjeAz/n7ZST9SuV4MB+PXu7q8VvrqovjZTG1yU3vMZQ006EY8Ys5lx750 eJD+PhtXX2cyhMtqf11iLSwTfpsT/V3WORwvJkyBJ15QlpbL2FaLJoRbi6DWUPgctVml sa7DGWvMovsXAWlz3M95U8ytOFVDVxR45BywzUO99xAb9DH7CQJXyB7th3gKQcFujgTr ZF1f68O0ZT7F1ckz4PyErDB90gRqQghhO5jtAkuhH6I44UOjPmisOI3G9g8iQEe8fub1 a3UQ== X-Gm-Message-State: AOJu0YxLFtOkvoH84b0gx+tlQtq0kWUqwT/ePvl/81KgOY+3R/SV6grz 711RRKP6/nbXvZ7HUze2N9AAO+7sw3a19gXpltNqo1DI53DfIhHD5yMoU8yX2UQ= X-Google-Smtp-Source: AGHT+IEieqNw2ccHIytPhTKqFqnrOX5kLSKuldv7P7x9HsbCAJimXUR4Zo3ASEsE4mP/d5HTjQ1hZA== X-Received: by 2002:a81:aa12:0:b0:5ff:5406:e064 with SMTP id i18-20020a81aa12000000b005ff5406e064mr3017458ywh.10.1706562320249; Mon, 29 Jan 2024 13:05:20 -0800 (PST) Received: from localhost (162-232-88-33.lightspeed.livnmi.sbcglobal.net. [162.232.88.33]) by smtp.gmail.com with ESMTPSA id gr17-20020a05690c449100b005ff98d9a7b8sm2693420ywb.19.2024.01.29.13.05.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2024 13:05:19 -0800 (PST) Date: Mon, 29 Jan 2024 16:05:18 -0500 From: William Bulley To: Michael Gmelin Cc: x11@freebsd.org Subject: Re: libinput recognizies my keyboard, but not its arrow keys Message-ID: <20240129210518.GA1505@dell4> Mail-Followup-To: Michael Gmelin , x11@freebsd.org List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; THREAD_HIJACKING_FROM_INJECTOR(2.00)[]; DWL_DNSWL_MED(-2.00)[umich.edu:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_SERVICE_ACCT(1.00)[]; FAKE_REPLY(1.00)[]; ENVFROM_SERVICE_ACCT(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[umich.edu,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[umich.edu:s=google-2016-06-03]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[umich.edu:+]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[x11@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1131:from] X-Rspamd-Queue-Id: 4TP16875gHz4Qb6 According to Michael Gmelin on Mon, 01/29/24 at 15:38: > > It's always a bit hard to support remotely, hence my questions to be > crystal clear what you tried. You've been very clear and I thank you from the bottom of my heart!! Too bad I can't buy you a beer! > This is what I use in in /usr/local/etc/X11/xorg.conf.d/99-myinput.conf: > > Section "InputClass" > Identifier "libinput keyboard catchall" > MatchIsKeyboard "on" > MatchDevicePath "/dev/input/event*" > Driver "libinput" > Option "XkbRules" "evdev" > # Option "Ignore" "on" > EndSection > > Section "InputClass" > Identifier "libinput touchpad catchall" > MatchIsTouchpad "on" > MatchDevicePath "/dev/input/event*" > Driver "libinput" > Option "MiddleEmulation" "on" > Option "DisableWhileTyping" "off" > EndSection > > (the touchpad section is probably not what you need). > > So maybe - as a last "simple" solution, you could try: > > setxkbmap -model pc105 -layout us > > in your .xinitrc and place 99-myinput.conf from above as the only > xorg configuration in /usr/local/etc/X11/xorg.conf.d/ Well I did both of those things, and, for some crazy reason it worked! My keyboard's arrow keys now work!!! To be completely honest, I only altered the keyboard section of the file in my /usr/local/etc/X11/xorg.conf.d/ leaving the mouse section and the graphics card "Device" section alone. Here is the new "keyboard" section in my configuration file: Section "InputClass" Identifier "libinput keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "XkbRules" "evdev" EndSection My understanding was the contents of the "Identifier" line did not matter -- anything could be put there. I had this: Identifier "Keyboard0" I have the MatchIsKeyboard line and the Driver line, so it must be that the key (no pun intended) addition to that section is that MatchDevicePath line. Who knew?!?!? Maybe the Option line is important, too, but that is something I can check later. You are a life saver!!! I don't know how to thank you enough!!! Thanks! Thanks! -- William Bulley E-MAIL: web@umich.edu