Created attachment 222653 [details]
I'm trying to install FreeBSD in a Hyper-V VM, and have installed Xorg.
I can use the keyboard in the console, and the mouse in Xorg. However, I cannot use the keyboard in Xorg. This happens on 12.2-RELEASE and 13.0-BETA3.
Attached is the Xorg log and the "libinput list-devices" output.
Hyper-V is running on Windows 10 LTSC 2019 on a machine from work. Since this machine is heavily locked down and doesn't let me dual-boot or let me install third party apps, I can't use VirtualBox or anything else. I can create VMs with Hyper-V and sideload a FreeBSD ISO.
This locked-down system is the only way to log in when I go on-call in April/May. At the same time, my home systems which dual-boot Windows 10 and FreeBSD-CURRENT only have a Windows 10 Home license which lacks Hyper-V.
Created attachment 222654 [details]
libinput list-devices output
Hi, if I recall correctly, you need to do "sysctl kern.evdev.rcpt_mask=6" in order to fix your keyboard under Hyper-V.
Since 12.2-RELEASE, the current default is "kern.evdev.rcpt_mask=12".
Hope it solves your issues.