From nobody Mon Jan 29 20:38:09 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 4TP0Vs2hQ4z59NCp for ; Mon, 29 Jan 2024 20:38:13 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TP0Vs0lX9z4MP7 for ; Mon, 29 Jan 2024 20:38:13 +0000 (UTC) (envelope-from freebsd@grem.de) Authentication-Results: mx1.freebsd.org; none Received: by mail.evolve.de (OpenSMTPD) with ESMTP id f30ff5af; Mon, 29 Jan 2024 20:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=I8xqXsae U42XZCQ6fydO7lMQteg=; b=mqYpZ8v+7Zbi9KjXJEh1Mw6EhpOIT4E6CjuVCFm1 lkUuMmNCnKU22g12ReICPQ3fTjRMF2B0C32gCOnWndj1FuZHVckZ46m3GcwUq3bZ SIFUmtxK1jYpDeFFSwYHT/YuIOWfiKcErEhiPDZwiyWZmljVZbcZcUE4hc+sgM5l 5Wh75W8lmrVETYghdVdQmcfhfiKgvCdL9f8tHSJVVqPkhGLxLAvAWIfb3yNbt2kB u6sRiCs79L4DM/uIPZdZIWSrpAIoa79mIaWscot1SYiL+E9jwTeoS+Ksp1JORko1 t+BVXzoruqPiJOG9+9LR8d1XbcxeunY7npqXMpD8X6BmJw== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=Sd 5DDnhkwWhXKANR8Lcu6HuQFQqXDiIBVQwyz9IfqjFisQXcGLdiH+Gl+lM5WNulj/ /Wm5jTnPR/FRa9qzdI0oKbe6Qz/5gJ717KfVyYxtmHEsm3F2rBLoENbVUUz1orRE MN7T4tfGVhO8pAEQljUDS+1DBge5eM5cdVUvkCQkXJHSCgE7d061iUkDM5QwQ3Ix LXmNLSua9EfZfnZq8wubRUdh0KZSTM8up6spvNi9JhUxicCLCU4NF57KBZaROztp I69YFhN4KbnB6FPEcc++CHS2ns/WVXGAWyrx04UbiqdDJ4bax0PBbeXDMJKr2gxU j4Vj18UWG0E53tdqWvXA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 01493957 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 29 Jan 2024 20:38:11 +0000 (UTC) Date: Mon, 29 Jan 2024 21:38:09 +0100 From: Michael Gmelin To: William Bulley Cc: Michael Gmelin , x11@freebsd.org Subject: Re: libinput recognizies my keyboard, but not its arrow keys Message-ID: <20240129213809.1a2ec278@bsd64.grem.de> In-Reply-To: <20240129202017.GB1334@dell4> References: <20240129202017.GB1334@dell4> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= 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-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4TP0Vs0lX9z4MP7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE] On Mon, 29 Jan 2024 15:20:17 -0500 William Bulley wrote: > According to Michael Gmelin on Mon, 01/29/24 at > 14:55: > > > > Did you try if it works directly after running each of the commands > > or did you restart x11? > > I believe I said that I restarted x11 each time (I placed these extra > commands in my .xinitrc in which I had an original setxkbmap command) > > > These settings change the running x11 session and take immediate > > effect, restating x11 will start with your defaults and is not > > required for this test. > > So, okay, in a brand new xterm I tried to edit a multiline file. > > I verified that moving around in this file using my arrow keys > did not work. > > Then in that same xterm window I issued each of those above three > commands in turn, each time going back to edit that file and try > to move around within that file using the arrow keys. > > None of that effort made any change in the action of my arrow keys. > > > If this doesn't help, I would suggest to start without any specific > > xorg.conf file(a) (just move it out of the way) and see if the > > defaults (in combination with one of setxkbmap commands) does the > > trick. > > Believe me when I say that was exactly what I did when trying to get > any x11 session to appear on my monitor. With an empty /etc/X11 and > empty /usr/local/etc/X11/worg.conf.d directory(s) I could not get x11 > to work. > > > Sharing you xorg log won't hurt either. > > I did that in answer to another op's reply. Thanks again. > It's always a bit hard to support remotely, hence my questions to be crystal clear what you tried. 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/ Best Michael -- Michael Gmelin