chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55edb2
)
udev: keyboard - also hook into "change" events
author
Kay Sievers
<kay@vrfy.org>
Mon, 26 May 2014 01:30:21 +0000
(09:30 +0800)
committer
Kay Sievers
<kay@vrfy.org>
Mon, 26 May 2014 01:30:21 +0000
(09:30 +0800)
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.
rules/60-keyboard.rules
patch
|
blob
|
history
diff --git
a/rules/60-keyboard.rules
b/rules/60-keyboard.rules
index 4e0f3663f65b557b6b3ec59a704ca901027b27d0..22f71e7792b6b556fbf871df9e3a3e0b7b0d77d9 100644
(file)
--- 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"