[Official] L1Techs KVM FAQ -- Ultimate Guide & Help!

Disabling NKRO fixes the caps lock issue with my Keychron Q6. Pro-tip: don’t try putting the keyboard into DFU mode when it’s connected to the KVM!

Here’s my cheat sheet for getting this done under Linux. Follow at your own risk. Please note that the process is different for non-Keychron keyboards.

python3 -m pip install --user qmk

git clone https://github.com/Keychron/qmk_firmware.git

cd qmk_firmware

qmk setup # install build dependencies

# extra udev rules so linux can find the keyboard in dfu mode
sudo cp util/udev/50-qmk.rules /etc/udev/rules.d/

# choose the correct keyboard; iso has a funny enter key; encoder
# means it has a knob
KEEB=q6/ansi_encoder

# edit rules.mk and set NKRO_ENABLE = no
vi keyboards/keychron/$KEEB/rules.mk 

# make the firmware with the stock keymap and via support
make keychron/$KEEB:keychron

# flash it, but make sure to unplug it from the kvm first and plug it
# directly in the system! 
# it will keep retrying, so you can kick it off, put the keyboard into
# DFU mode, and it'll flash straight away
make keychron/$KEEB:keychron:flash

Cheers!

1 Like