5b68f0b
diff -up kbd-2.3.0/docs/man/man1/showkey.1.orig kbd-2.3.0/docs/man/man1/showkey.1
5b68f0b
--- kbd-2.3.0/docs/man/man1/showkey.1.orig	2020-07-08 19:25:47.000000000 +0200
5b68f0b
+++ kbd-2.3.0/docs/man/man1/showkey.1	2020-07-16 08:56:15.970254183 +0200
0bbc1fa
@@ -84,6 +84,19 @@ corresponds to what the keyboard hardwar
a975bce
 to know the scan codes sent by various keys it is better to boot a
a975bce
 2.4 kernel. Since 2.6.9 there also is the boot option atkbd.softraw=0
a975bce
 that tells the 2.6 kernel to return the actual scan codes.
dc56124
+
dc56124
+.SH NOTES
dc56124
+The raw scan codes are available only on AT and PS/2 keyboards,
dc56124
+and even then they are disabled unless the
dc56124
+.B atkbd.softraw=0
dc56124
+kernel parameter is used.
dc56124
+When the raw scan codes are not available, the kernel uses a fixed built-in
dc56124
+table to produce scan codes from keycodes.  Thus,
dc56124
+.BR setkeycodes (8)
dc56124
+can affect the output of
dc56124
+.B showkey
dc56124
+in scan code dump mode.
dc56124
+
dc56124
 .SH "SEE ALSO"
dc56124
 .BR loadkeys (1),
dc56124
 .BR dumpkeys (1),
5b68f0b
diff -up kbd-2.3.0/docs/man/man8/setkeycodes.8.orig kbd-2.3.0/docs/man/man8/setkeycodes.8
5b68f0b
--- kbd-2.3.0/docs/man/man8/setkeycodes.8.orig	2020-07-08 19:35:35.000000000 +0200
5b68f0b
+++ kbd-2.3.0/docs/man/man8/setkeycodes.8	2020-07-16 08:57:52.293900997 +0200
5b68f0b
@@ -42,6 +42,10 @@ the command
5b68f0b
 will assign the keycode 112 to it, and then
5b68f0b
 .BR loadkeys (1)
5b68f0b
 can be used to define the function of this key.
c22c104
+
dc56124
+USB keyboards have standardized keycodes and
dc56124
+.B setkeycodes
dc56124
+doesn't affect them at all.
c22c104
 .LP
c22c104
 Some older kernels might hardwire a low scancode range to the
c22c104
 equivalent keycodes; setkeycodes will fail when you try to remap
5b68f0b
@@ -60,6 +64,14 @@ None.
dc56124
 .SH BUGS
dc56124
 The keycodes of X have nothing to do with those of Linux.
dc56124
 Unusual keys can be made visible under Linux, but not under X.
dc56124
+
dc56124
+.B setkeycodes
dc56124
+affects only the "first" input device
dc56124
+that has modifiable scancode-to-keycode mapping.
dc56124
+If there is more than one such device,
dc56124
+.B setkeycodes
dc56124
+cannot change the mapping of other devices than the "first" one.
dc56124
+
dc56124
 .SH "SEE ALSO"
5b68f0b
 .BR dumpkeys (1),
5b68f0b
 .BR loadkeys (1),