Anton Zinoviev, le Thu 02 Jul 2015 19:39:06 +0300, a écrit : > > 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html