From owner-freebsd-hardware@freebsd.org Sun Jul 12 13:51:16 2020 Return-Path: Delivered-To: freebsd-hardware@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 2E1CE364074 for ; Sun, 12 Jul 2020 13:51:16 +0000 (UTC) (envelope-from laszlo.janszky@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B4SqR0s16z4YkH for ; Sun, 12 Jul 2020 13:51:14 +0000 (UTC) (envelope-from laszlo.janszky@gmail.com) Received: by mail-lj1-x229.google.com with SMTP id d17so11556478ljl.3 for ; Sun, 12 Jul 2020 06:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=BIjBiImqXPkcxHYYAC8UBY4OR7epJOMz3U0gSlkbYUI=; b=N2DJDU6IhbHJLlC/UigEP9Eg21ZW1R1Cf9xxltshpfTe+LfcAzDlhf7BuQgvPDSI8H LAwOyCfhjQsDp8+ciScfZX0Mv730JO7n79rStQ22L9rz2kn+PaJJyUW5rQqu7qoUh6Nd 7f2yz2mTa18T6NK7Yw071bNFX3EqHMtnYLIRCG2pW4eS6jWf6i0AU8zJ+wubV8EM1T3L uZq3PdZoclUVWzIwzdJB+jq2mOhPuEKMB0MHrzpXUP7b10QzLoyQByK54tW9mPNaB036 qSEYdyuTJ80AevVDxBK27bpR4gkqlmxgpr+0POk+jO59//Rzxwy6KvU+D2puonDH0yoF c9RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BIjBiImqXPkcxHYYAC8UBY4OR7epJOMz3U0gSlkbYUI=; b=fJSEdHPOJrSi8Bpd4a94WbsOJ29WAKy/4tQfv1LKxsGEMrwyjaUVFkEC4ulmJgC8Vb ioJQ3GOLQdGU8PTeW+BXTvTmDMiRD/ashb52os9roiTISnW/Kxr+TUveO8OMs6/YiguW z9RL8a7ZXdTornou6Rd/se9dtjHT/VFxD9O9f9xmeKkAW+M+uC9glqlzd8ySsx6M13kW ZPjUkv6lPXL/s7Tt6XJeYHSK5Y5kOgZbcyiIZPSLcnzUWhanaLGMZTetXUK0gl+sQjDK a7On9uQoFqA/TJkUhD9iYkyO7m5Y/r4SlCkumWKlm66T+BntTZmxImYPmyg0scXAQO2I 7/CQ== X-Gm-Message-State: AOAM533B608C3x1s65fQt1unWBGQ/7az+T64ZMSm1xwMYNXfyc48TLpr fYRjA9787k52OiR0LGzFfjV3yUGX9YHqbHQ4nSSEkC9KA9k= X-Google-Smtp-Source: ABdhPJwZjSR4zXbcY7JNN49NUXrzpkCT9Br8nIOud+v9Zp000xLkh6xITu7H2DVyhicRaawVzSSanAaKOjPy3eayH64= X-Received: by 2002:a2e:8990:: with SMTP id c16mr37466156lji.305.1594561872718; Sun, 12 Jul 2020 06:51:12 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?TMOhc3psw7MgTGFqb3MgSsOhbnN6a3k=?= Date: Sun, 12 Jul 2020 15:51:00 +0200 Message-ID: Subject: keyboard has a weird layout after boot To: freebsd-hardware@freebsd.org X-Rspamd-Queue-Id: 4B4SqR0s16z4YkH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=N2DJDU6I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of laszlojanszky@gmail.com designates 2a00:1450:4864:20::229 as permitted sender) smtp.mailfrom=laszlojanszky@gmail.com X-Spamd-Result: default: False [-1.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hardware@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.016]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::229:from]; NEURAL_HAM_SHORT(-0.01)[-0.009]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; R_MIXED_CHARSET(1.50)[subject]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2020 13:51:16 -0000 I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO keyboard http://en.obins.net/anne-pro It works properly in the UEFI and in the rescue shell when I quit the boot menu, but after FreeBSD booted up and I got the login screen it changes layout to something weird. For example I got "a" when pressing backspace or "w". Most of the keys stop working. I used it on a Win7 PC for a few years, so it works fine and in theory it has a standard US ANSI layout, at least the UEFI and the rescue shell does not have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried another keyboard, which is a Logitech K360 and that works as expected with 102 key generic Hungarian layout. I tried all the generic models in KDE with US layout by the Anne Pro, but had no success. I tried to disable the KDE by commenting out "exec ck-launch-session startplasma-x11" from the .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I tried the keyboard in a console with ctrl+alt+f3, which in theory would be the same as booting without KDE and it had the same issue in that console too, so I think it is not an xorg related thing, but I am not entirely sure. Somebody suggested changing the keyboard mode to 6-KRO, but I did not find anything about it in the manual, so probably this keyboard is NKRO only. Any idea how to make it work with FreeBSD or what causes this problem?