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.
23
25 Depending on the X server version in use, input device options may be
26 set in either a xorg.conf file, an xorg.conf.d snippet, or in the con‐
27 figuration files read by the Hardware Abstraction Layer (HAL) daemon,
28 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. Property: "Device Node" (read-only).
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 "base" for most platforms. If you use the "base" value then you
58 can find listing of all valid values for these four options in
59 the /usr/share/X11/xkb/rules/base.lst file.
60
61 Option "XkbModel" "modelname"
62 specifies the XKB keyboard model name. Default: "pc105" for
63 most platforms.
64
65 Option "XkbLayout" "layoutname"
66 specifies the XKB keyboard layout name. This is usually the
67 country or language type of the keyboard. Default: "us" for
68 most platforms.
69
70 Option "XkbVariant" "variants"
71 specifies the XKB keyboard variant components. These can be
72 used to enhance the keyboard layout details. Default: not set.
73
74 Option "XkbOptions" "options"
75 specifies the XKB keyboard option components. These can be used
76 to enhance the keyboard behaviour. Default: not set.
77
78 For a list of available XKB options, see xkeyboard-config(7).
79
81 The following xorg.conf fragment ensures that user will be able to
82 switch between us and sk layouts by pressing the "menu" key. The scroll
83 lock LED shows which layout is currently active.
84
85 The XkbVariant option defines which variants of the two layouts should
86 be used. In case of the us layout its default variant is used. In case
87 of the sk layout its qwerty variant is used.
88
89 Section "InputDevice"
90 Identifier "Generic Keyboard"
91 Driver "kbd"
92 Option "CoreKeyboard"
93 Option "XkbRules" "base"
94 Option "XkbModel" "pc105"
95 Option "XkbLayout" "us,sk"
96 Option "XkbVariant" ",qwerty"
97 Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
98 EndSection
99
101 Xorg(1), xorg.conf(5), Xserver(1), X(7).
102
103 hal(7), hald(8), fdi(5).
104
105 xkeyboard-config(7).
106
107
108
109X Version 11 xf86-input-keyboard 1.9.0 KBD(4)