summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-01-08 06:02:56 +0000
committerbrooks <brooks@FreeBSD.org>2005-01-08 06:02:56 +0000
commit61aaea5fa050bd9aa261f8e0d5fa45248ff90eb4 (patch)
tree1897b48b780fd43b50231e5a579e54a7989a0490
parentcfc1c07f99d0bef55fd7860eb7b0b3ce9c1ceb86 (diff)
downloadFreeBSD-src-61aaea5fa050bd9aa261f8e0d5fa45248ff90eb4.zip
FreeBSD-src-61aaea5fa050bd9aa261f8e0d5fa45248ff90eb4.tar.gz
Change the USB keyboard example to use /dev/ukbd0 instead of /dev/kbd1.
This example caused me to incorrectly believe that you must use the generic device nodes when you can in fact use either. It's often better to use the driver specific node.
-rw-r--r--usr.sbin/kbdcontrol/kbdcontrol.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.1 b/usr.sbin/kbdcontrol/kbdcontrol.1
index 533abd6..e159a9c 100644
--- a/usr.sbin/kbdcontrol/kbdcontrol.1
+++ b/usr.sbin/kbdcontrol/kbdcontrol.1
@@ -13,7 +13,7 @@
.\" @(#)kbdcontrol.1
.\" $FreeBSD$
.\"
-.Dd May 27, 2001
+.Dd January 7, 2005
.Dt KBDCONTROL 1
.Os
.Sh NAME
@@ -214,7 +214,7 @@ for example the first USB keyboard (see
.Xr ukbd 4 ) ,
use the following commands.
.Pp
-.Dl kbdcontrol -k /dev/kbd1 < /dev/console
+.Dl kbdcontrol -k /dev/ukbd0 < /dev/console
.Pp
To switch back to the default keyboard, use this command.
.Pp
OpenPOWER on IntegriCloud