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.
This commit is contained in:
parent
e6da72a102
commit
539905192f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139898
@ -13,7 +13,7 @@
|
|||||||
.\" @(#)kbdcontrol.1
|
.\" @(#)kbdcontrol.1
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 27, 2001
|
.Dd January 7, 2005
|
||||||
.Dt KBDCONTROL 1
|
.Dt KBDCONTROL 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -214,7 +214,7 @@ for example the first USB keyboard (see
|
|||||||
.Xr ukbd 4 ) ,
|
.Xr ukbd 4 ) ,
|
||||||
use the following commands.
|
use the following commands.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl kbdcontrol -k /dev/kbd1 < /dev/console
|
.Dl kbdcontrol -k /dev/ukbd0 < /dev/console
|
||||||
.Pp
|
.Pp
|
||||||
To switch back to the default keyboard, use this command.
|
To switch back to the default keyboard, use this command.
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
Reference in New Issue
Block a user