aboutsummaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2014-08-09 07:25:49 -0700
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2014-08-09 07:25:49 -0700
commite82ce27ee05265d7c2ec115a053d2bc37f431f5a (patch)
treeba9928c43243b5b7ab9d5e71d3df4959ec0fb635 /udev
parentUpdate. (diff)
downloadhwids-e82ce27ee05265d7c2ec115a053d2bc37f431f5a.tar.gz
hwids-e82ce27ee05265d7c2ec115a053d2bc37f431f5a.tar.bz2
hwids-e82ce27ee05265d7c2ec115a053d2bc37f431f5a.zip
Diffstat (limited to 'udev')
-rw-r--r--udev/60-keyboard.hwdb32
1 files changed, 23 insertions, 9 deletions
diff --git a/udev/60-keyboard.hwdb b/udev/60-keyboard.hwdb
index 5c3d4ca..ef0ebc5 100644
--- a/udev/60-keyboard.hwdb
+++ b/udev/60-keyboard.hwdb
@@ -28,19 +28,33 @@
# driver, <vendor> is the firmware-provided string exported
# by the kernel DMI modalias.
#
-# Scan codes are specified as:
-# KEYBOARD_KEY_<hex scan code>=<key code identifier>
-# The scan code should be expressed in hex lowercase and in
-# full bytes, a multiple of 2 digits. The key codes are retrieved
-# and normalized from the kernel input API header.
+# Scan codes are specified as:
+# KEYBOARD_KEY_<hex scan code>=<key code identifier>
+# The scan code should be expressed in hex lowercase. The key codes
+# are retrieved and normalized from the kernel input API header.
#
-# A '!' as the first charcter of the key identifier string
-# will add the scan code to the AT keyboard's list of scan codes
-# where the driver will synthesize a release event and not expect
-# it to be generated by the hardware.
+# An '!' as the first character of the key identifier string
+# will add the scan code to the AT keyboard's list of scan codes
+# where the driver will synthesize a release event and not expect
+# it to be generated by the hardware.
#
# To debug key presses and access scan code mapping data of
# an input device use the commonly available tool: evtest(1).
+#
+# To update this file, create a new file
+# /etc/udev/hwdb.d/70-keyboad.hwdb
+# and add your rules there. To load the new rules execute (as root):
+# udevadm hwdb --update
+# udevadm trigger /dev/input/eventXX
+# where /dev/input/eventXX is the keyboard in question. If in
+# doubt, simply use /dev/input/event* to reload all input rules.
+#
+# If your changes are generally applicable, open a bug report on
+# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
+# and include your new rules, a description of the device, and the
+# output of
+# udevadm info /dev/input/eventXX
+# (or /dev/input/event*).
##########################################
# Acer