When I switch to a TTY and turn on the caps lock, the caps lock LED on my keyboard isn't turning on. On X it works fine. When I activate caps lock and then switch to a TTY and then press caps lock (on the TTY) the LED stays on (Even though the TTY keeps it's own track of the caps lock). So it seems the TTYs don't care about the LED at all.Can I somehow enable the LED on TTYs? It's very annoying to be forced to type something whilst not knowing if caps lock is activated.I'm using Debian jessie (frequently updated) arch: amd64
caps lock led not working on Linux console
linux;console;capslock
This is a  long standing Debian bug. It seems to relate to an underlying kernel bug which has been long since fixed. The problem seems to have been that Caps_Lock did not work for non ASCII characters, so the workaround was to map Shift_Lock or CtrlL_Lock to the caps lock key instead.On the Debian side the issue is created by ckbcomp which is used by console-setup to create the console keymap from the XKB keyboard description. Note that the original code referenced in the bug report using Shift_Lock seems to have been replaced by different code which switches for CtrlL_Lock instead. If you are interested you can search for usages of the broken_caps variable in the ckbcomp perl script.I have no idea if the code is still necessary for any reason, maybe it is worth bumping the bug report. However, the workaround is to put the following line in /etc/kbd/remap and it should be fixed after a reboot:s/CtrlL_Lock/Caps_Lock/Or for a temporary fix until the next reboot, run the following in a tty session:dumpkeys | sed s/CtrlL_Lock/Caps_Lock/ | sudo loadkeysUpdateIt seems that /et/ckbd/remap is only actually used if setupcon is not available. A better workaround is just to put the following line in /etc/rc.local:dumpkeys | sed s/CtrlL_Lock/Caps_Lock/ | loadkeys