Prev | Current Page 140 | Next

Chris Tyler

"X Power Tools"

However,
the keyboard device interfaces don??™t present data in the same form as the VT
interfaces, so they can??™t be used with the X server??™s normal keyboard driver.
The solution? Use the endev keyboard driver.
To use a keyboard with this patch, you need to identify the keyboard either by name
or by physical connection. You can get the name and physical connection values for
current devices by examining /proc/bus/input/devices. The keyboard entries in this file
will look like this:
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=0566 Product=2802 Version=0211
4.9
82 Chapter 4: Advanced X.org Configuration
N: Name="MONTEREY USB K/B WITH ACPI"
P: Phys=usb-0000:00:1d.1-1/input0
H: Handlers=kbd event4
B: EV=12000b
B: KEY=ff 10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: ABS=100 0
B: LED=7
I: Bus=0003 Vendor=0566 Product=2802 Version=0211
N: Name="MONTEREY USB K/B WITH ACPI"
P: Phys=usb-0000:00:1d.1-1/input1
H: Handlers=kbd event5
B: EV=3
B: KEY=1f0000 0 0 c000 100000 0 0 0
This system has a standard PS/2 keyboard attached, as shown in the first block, plus
a USB keyboard, shown in the last two blocks.


Pages:
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152