From owner-freebsd-x11@freebsd.org Sat Jun 13 13:59:55 2020 Return-Path: Delivered-To: freebsd-x11@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 895033391B6 for ; Sat, 13 Jun 2020 13:59:55 +0000 (UTC) (envelope-from k.oikonomou@att.net) Received: from sonic312-23.consmr.mail.bf2.yahoo.com (sonic312-23.consmr.mail.bf2.yahoo.com [74.6.128.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49kfNp4qqnz46Gf for ; Sat, 13 Jun 2020 13:59:54 +0000 (UTC) (envelope-from k.oikonomou@att.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1592056793; bh=2QeiSdyJoHg6eiOqioMR/SwpDNaVebfoJ0aqc/ehlbQ=; h=Subject:From:To:Date:References:From:Subject; b=pr68zB2bDQ4wJHjddGUR2On7HYIW5CdUL7LRVEX94wBFAhZ9GIHMaEXQ/mavVDsTstH3G2zks2PZe2BxpnIVcrKfQFUFdKEa0ZxdDTFgwPTF2nN11B82ggo7NRWTE5jtQ65JDDGqG/xsiK8BmB5zG5Vv82GGlJvLNgRCIzrI4Bg= X-YMail-OSG: SpTDJ6wVM1lP2Hz7Rm4Gg34kVfl7zsAHFxrDTUwm2FDTMfJSqZwYY2NyUl0cQ.l Fqxcmw74ftve41cxMIX9DMMPYG2EP327SQWhzsQRVVe1mnslqjJESARm_DCHc1ETnIvlo0jnESzj yIcUz9_8yGN6FD2V8Fy_enPkbp9LM3fMGO5BClmOJl6PrqWMjEI712.3iQvsfTfQDq0PMtnfofqm mTyiMpJtVWfvnegkwrXsDzHa_s4RB2fDZ1PxteUQQlZckfy7D_WUNJc3uN4MKbyYCP8QWMwbwoAi JMYuq9h8i_TpcXrElIZWxYRe4Z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LHbQxZgHlmWrpU4JwuykRqg10cTkLcOCS.IDD96Ou MR1CljwxCVcfI Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Sat, 13 Jun 2020 13:59:53 +0000 Received: by smtp427.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a5cbba7b80fe90d30f4f91d5575e4e53; Sat, 13 Jun 2020 13:59:48 +0000 (UTC) Message-ID: Subject: after update to xorg-server-1.20, Sun keys are not recognized From: Kostas Oikonomou To: freebsd-x11@freebsd.org Date: Sat, 13 Jun 2020 09:59:47 -0400 X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 References: X-Rspamd-Queue-Id: 49kfNp4qqnz46Gf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=att.net header.s=s1024 header.b=pr68zB2b; dmarc=none; spf=none (mx1.freebsd.org: domain of k.oikonomou@att.net has no SPF policy when checking 74.6.128.85) smtp.mailfrom=k.oikonomou@att.net X-Spamd-Result: default: False [-1.34 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[att.net:s=s1024]; NEURAL_HAM_MEDIUM(-0.60)[-0.598]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[att.net:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[att.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.77)[-0.773]; DMARC_NA(0.00)[att.net]; DKIM_TRACE(0.00)[att.net:+]; NEURAL_HAM_SHORT(-0.16)[-0.164]; RCVD_IN_DNSWL_NONE(0.00)[74.6.128.85:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[att.net]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.6.128.85:from] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 13:59:55 -0000 Hello, I have been using a Sun type 6 USB keyboard for a long time with my FreeBSD system. After the update to xorg-server-1.20, the Sun-specific keys on the left of the keyboard are no longer recognized. Here is the output of setxkbmap: [ko@wiley ~]$ setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+sun_vndr/us+sun_vndr/gr(simple):2+inet(evdev)+group(menu_toggle)" }; xkb_geometry { include "sun(type6unix)" }; }; [ko@wiley ~]$ And here is what libinput debug-events --verbose --show-keycodes reports, first pair of columns, and what xev reports, second pair of columns:Stop KEY_POWER 116 Xf86PowerOff 124 Again KEY_SLEEP 142 XF86Sleep 150 Props Undo Front Copy KEY_WAKEUP 143 XF86Wakeup 151 Open Paste KEY_SEARCH 217 XF86Search 225 Find KEY_BOOKMARKS 156 XF86Favorites 164 Cut KEY_REFRESH 173 XF86Reload 181 A) I've tried to fix some mappings, e.g. the Copy key, by doing xmodmap -e "keycode 143 = XF86Copy" but this doesn't work. Similarly for Paste, etc. B) You can see that the important keys Open, Front, and Undo produce no keycodes at all. C) I had previously posted this question to the X11 forum. It resulted in a long discussion, but no resolution. Please see below: https://forums.freebsd.org/threads/sun-keyboard-and-xorg-server-1-20-freebsd-12-1-xfce-4-12.75521/ Any help would be appreciated. Kostas