I may be abusing the word console but I mean the mode without X i.e. pressing ^+Alt F1
and then log as other user where I want to use my chosen layout with USB keyboard.
X works, it configures the new USB keyboard to my choice when I plug it in. But the console keyboard layout is stuck to the setting specified by the kernel. I am trying to change that:
# usbhidctl -f /dev/uhid0 -w keyboard.encoding=us
usbhidctl: Failed to match: keyboard.encoding
Some info about the OpenBSD version:
# uname -rv
4.7 GENERIC.MP#449
Best Answer
Does
work?
If yes, put that in
/etc/wsconsctl.conf
to make it persistent.Or are you saying that that would only work for PS/2 keyboards? Maybe enabling USB legacy keyboard mode in the BIOS would help in that case?
may also be of use.
Perhaps you need to change the device from
to something like
or