From: Kay Sievers Date: Mon, 26 May 2014 01:30:21 +0000 (+0800) Subject: udev: keyboard - also hook into "change" events X-Git-Tag: v213~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=49804365ea1242456c9763058a59cf68479e07ea;hp=e55edb22a71e67f01534d28f91c6aa27bba48fc1 udev: keyboard - also hook into "change" events Re-apply the keymaps when "udevadm trigger" is called. Hooking into "add" only would just remove all keymap content from the udev database instead of applying the new config. --- diff --git a/rules/60-keyboard.rules b/rules/60-keyboard.rules index 4e0f3663f..22f71e779 100644 --- a/rules/60-keyboard.rules +++ b/rules/60-keyboard.rules @@ -1,6 +1,6 @@ # do not edit this file, it will be overwritten on update -ACTION!="add", GOTO="keyboard_end" +ACTION=="remove", GOTO="keyboard_end" KERNEL!="event*", GOTO="keyboard_end" ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"