From owner-freebsd-stable@freebsd.org Wed Mar 11 09:29:13 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDBA125AB24; Wed, 11 Mar 2020 09:29:13 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48cmqr5d4fz4G61; Wed, 11 Mar 2020 09:29:12 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 48cmqp11lFz3lwh; Wed, 11 Mar 2020 09:29:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id Rtsb7kT7AFhr; Wed, 11 Mar 2020 09:29:08 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:8ff:f59:bc1f:9dc8]) by mail.daemonic.se (Postfix) with ESMTPSA id 48cmqm46r7z3lvf; Wed, 11 Mar 2020 09:29:08 +0000 (UTC) Subject: Re: New Xorg - different key-codes To: Greg 'groggy' Lehey , Poul-Henning Kamp Cc: FreeBSD current users , FreeBSD Stable Users References: <6762.1583886003@critter.freebsd.dk> <20200311004635.GB89512@eureka.lemis.com> From: Niclas Zeising Message-ID: Date: Wed, 11 Mar 2020 10:29:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20200311004635.GB89512@eureka.lemis.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48cmqr5d4fz4G61 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-0.05 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; NEURAL_SPAM_MEDIUM(0.91)[0.910,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2020 09:29:13 -0000 On 2020-03-11 01:46, Greg 'groggy' Lehey wrote: > > On Wednesday, 11 March 2020 at 0:20:03 +0000, Poul-Henning Kamp wrote: > [originally sent to current@] >> I just updated my laptop from source, and somewhere along the way >> the key-codes Xorg sees changed. > > Indeed. This doesn't just affect -CURRENT: it happened to me on > -STABLE last week, so I'm copying that list too. See > http://www.lemis.com/grog/diary-mar2020.php?topics=c&subtitle=Daily%20teevee%20update&article=D-20200306-002910#D-20200306-002910 > , not the first entry on the subject. > >> I have the right Alt key mapped to "Multi_key", which is now >> keycode 108 instead of 113, which is now arrow left instead. > > Interesting. Mine wandered from 117 to 147, with PageDown ("Next") as > collateral damage. It seems that there are a lot of strange new key > bindings (partial output of xmodmap -pk): > > 117 0xff56 (Next) 0x0000 (NoSymbol) 0xff56 (Next) > 130 0xff31 (Hangul) 0x0000 (NoSymbol) 0xff31 (Hangul) > 131 0xff34 (Hangul_Hanja) 0x0000 (NoSymbol) 0xff34 (Hangul_Hanja) > 135 0xff67 (Menu) 0x0000 (NoSymbol) 0xff67 (Menu) > 147 0x1008ff65 (XF86MenuKB) 0x0000 (NoSymbol) 0x1008ff65 (XF86MenuKB) > > Some of these may reflect other remappings that I have done. > >> I hope this email saves somebody else from the frustrating >> morning I had... > > Sorry. I should have thought of reporting it. For me, with a number > of other issues, it was a frustrating week,some of which are still not > resolved. > This has to do with switching to using evdev to handle input devices on FreeBSD 12 and CURRENT. There's been several reports, and suggested solutions to this, as well as an UPDATING entry detailing the change. I'm sorry that it has caused fallout, but it is something that needs to be done in order to keep up with upstream graphics stack, and to improve FreeBSD desktop support in general. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 has some discussions regarding input devices, as does the x11@ mailing list archives. Regards -- Niclas Zeising FreeBSD Graphics Team