Thread (9 messages) 9 messages, 3 authors, 2015-08-31

Re: Bug#514464: caps lock led does not show up

From: Samuel Thibault <hidden>
Date: 2015-07-02 16:51:09

Anton Zinoviev, le Thu 02 Jul 2015 19:39:06 +0300, a écrit :
quoted
Anton, do you have all the informations you need to match that with the
xkb data?
But here, I don't understand what matching with xkb data you mean?
I mean matching the LED names from xkb with the LED names from Linux
I have the following questions:

1. Is there a packaged Debian kernel with this functionality I can use?
Not yet.
2. Suppose the new keyboard layout requires a trigger different from 
kbd-ctrlllock (because the user used KMAP in /etc/default/keyboard or 
installed console-setup-mini).  I can echo the new trigger for the 
existing keyboards, but what about the udev rules?  Can they change on 
the fly?  Or maybe there is some way not to hardcode the trigger in the 
udev rule but read it from a separate file each time the rule activates?
You can just overwrite the udev rule with the new value.
BTW, at the moment I think it will be best if I write a script kbd_leds 
and propose it for inclusion in the console utilities package 'kbd'.  
Definitely, this is a functionality useful not only for console-setup 
users.  Then console-setup will be able to use the combination 
kbd_mode+loadkeys+kbd_leds in order to configure the keyboard.
Ah, yes, that can be useful indeed.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help