ukbd.4 (56467) | ukbd.4 (57676) |
---|---|
1.\" Copyright (c) 1997, 1998 2.\" Nick Hibma <hibma@skylink.it>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" | 1.\" Copyright (c) 1997, 1998 2.\" Nick Hibma <hibma@skylink.it>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" |
31.\" $FreeBSD: head/share/man/man4/ukbd.4 56467 2000-01-23 16:13:26Z asmodai $ | 31.\" $FreeBSD: head/share/man/man4/ukbd.4 57676 2000-03-01 14:50:24Z sheldonh $ |
32.\" 33.Dd April 11, 1999 34.Dt UKBD 4 35.Os FreeBSD 36.Sh NAME 37.Nm ukbd 38.Nd USB keyboard driver 39.Sh SYNOPSIS --- 17 unchanged lines hidden (view full) --- 57.Ed 58.Pp 59Go to /dev and make device nodes kbd*: 60.Bd -literal -offset indent 61sh MAKEDEV kbd0 kbd1 62.Ed 63.Pp 64If both an AT keyboard as well as USB keyboards are used at the same time, the | 32.\" 33.Dd April 11, 1999 34.Dt UKBD 4 35.Os FreeBSD 36.Sh NAME 37.Nm ukbd 38.Nd USB keyboard driver 39.Sh SYNOPSIS --- 17 unchanged lines hidden (view full) --- 57.Ed 58.Pp 59Go to /dev and make device nodes kbd*: 60.Bd -literal -offset indent 61sh MAKEDEV kbd0 kbd1 62.Ed 63.Pp 64If both an AT keyboard as well as USB keyboards are used at the same time, the |
65AT keyboard will appear as kbd0 in /dev. The USB keyboards will be kbd1, kbd2, 66etc. You can see some information about the keyboard with the following command: | 65AT keyboard will appear as kbd0 in /dev. 66The USB keyboards will be kbd1, kbd2, 67etc. 68You can see some information about the keyboard with the following command: |
67.Bd -literal -offset indent 68kbdcontrol -i < /dev/kbd1 69.Ed 70.Pp 71or load a keymap with 72.Bd -literal -offset indent 73kbdcontrol -l keymaps/pt.iso < /dev/kbd1 74.Ed --- 8 unchanged lines hidden (view full) --- 83.Ed 84.Pp 85From this point on onwards the first USB keyboard will be the keyboard 86to be used as the console. 87.Pp 88If you want to use a USB keyboard as your default and not use an AT keyboard at 89all, you will have to remove the 90.Nm atkbd0 | 69.Bd -literal -offset indent 70kbdcontrol -i < /dev/kbd1 71.Ed 72.Pp 73or load a keymap with 74.Bd -literal -offset indent 75kbdcontrol -l keymaps/pt.iso < /dev/kbd1 76.Ed --- 8 unchanged lines hidden (view full) --- 85.Ed 86.Pp 87From this point on onwards the first USB keyboard will be the keyboard 88to be used as the console. 89.Pp 90If you want to use a USB keyboard as your default and not use an AT keyboard at 91all, you will have to remove the 92.Nm atkbd0 |
91from the kernel configuration file. Because of the order of the device | 93from the kernel configuration file. 94Because of the order of the device |
92initialisation, the USB keyboard will be detected AFTER the console driver 93initialises itself and you have to explicitly tellthe console 94driver to use the existence of the USB keyboard. This can be done in 95one of the following two ways. 96.Pp 97Run the following command as a part of system initialization: 98.Bd -literal -offset indent 99kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null --- 68 unchanged lines hidden --- | 95initialisation, the USB keyboard will be detected AFTER the console driver 96initialises itself and you have to explicitly tellthe console 97driver to use the existence of the USB keyboard. This can be done in 98one of the following two ways. 99.Pp 100Run the following command as a part of system initialization: 101.Bd -literal -offset indent 102kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null --- 68 unchanged lines hidden --- |