1KBD(4) Kernel Interfaces Manual KBD(4)
2
3
4
6 kbd - Keyboard input driver
7
9 Section "InputDevice"
10 Identifier "idevname"
11 Driver "kbd"
12 ...
13 EndSection
14
16 kbd is an Xorg input driver for keyboards. The driver supports the
17 standard OS-provided keyboard interface, but these are currently only
18 available to this driver module for Linux, BSD, and Solaris. This
19 driver is the replacement for the built-in keyboard driver formerly
20 included in Xorg.
21
22 The kbd driver functions as a keyboard input device, and may be used as
23 the X server's core keyboard.
24
26 Depending on the X server version in use, input device options may be
27 set in either a xorg.conf file, or in the configuration files read by
28 the Hardware Abstraction Layer (HAL) daemon, hald(1).
29
30 Please refer to xorg.conf(5) for general configuration details and for
31 options that can be used with all input drivers. This section only
32 covers configuration details specific to this driver.
33
34 The following driver Options are supported:
35
36 Option "Device" "string"
37 Specify the keyboard device. Default: the OS's default console
38 keyboard input source.
39
40 Option "Protocol" "string"
41 Specify the keyboard protocol. Valid protocol types include:
42
43 Standard, Xqueue.
44
45 Not all protocols are supported on all platforms. Default:
46 "Standard".
47
48 Option "XLeds" "ledlist"
49 makes the keyboard LEDs specified in ledlist available for
50 client use instead of their traditional function (Scroll Lock,
51 Caps Lock and Num Lock). The numbers in the list are in the
52 range 1 to 3. Default: empty list.
53
54 Option "XkbRules" "rules"
55 specifies which XKB rules file to use for interpreting the Xkb‐
56 Model, XkbLayout, XkbVariant, and XkbOptions settings. Default:
57 "xorg" for most platforms, but "xfree98" for the Japanese PC-98
58 platforms. If you use the "xorg" value then you can find listing
59 of all valid values for these four options in the
60 /usr/share/X11/xkb/rules/xorg.lst file.
61
62 Option "XkbModel" "modelname"
63 specifies the XKB keyboard model name. Default: "pc105" for
64 most platforms, but "pc98" for the Japanese PC-98 platforms.
65
66 Option "XkbLayout" "layoutname"
67 specifies the XKB keyboard layout name. This is usually the
68 country or language type of the keyboard. Default: "us" for
69 most platforms, but "jp" for the Japanese PC-98 platforms.
70
71 Option "XkbVariant" "variants"
72 specifies the XKB keyboard variant components. These can be
73 used to enhance the keyboard layout details. Default: not set.
74
75 Option "XkbOptions" "options"
76 specifies the XKB keyboard option components. These can be used
77 to enhance the keyboard behaviour. Default: not set.
78
79 Some other XKB-related options are available, but they are incompatible
80 with the ones listed above and are not recommended, so they are not
81 documented here.
82
84 The following xorg.conf fragment ensures that user will be able to
85 switch between us and sk layouts by pressing the "menu" key.
86
87 The XkbVariant option defines which variants of the two layouts should
88 be used. In case of the us layout its default variant is used. In case
89 of the sk layout its qwerty variant is used.
90
91 Section "InputDevice"
92 Identifier "Generic Keyboard"
93 Driver "kbd"
94 Option "CoreKeyboard"
95 Option "XkbRules" "xorg"
96 Option "XkbModel" "pc105"
97 Option "XkbLayout" "us,sk"
98 Option "XkbVariant" ",qwerty"
99 Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
100 EndSection
101
103 Xorg(1), xorg.conf(5), Xserver(1), X(7).
104
105 hal(7), hald(8), fdi(5).
106
107
108
109X Version 11 xf86-input-keyboard 1.4.0 KBD(4)