
91 RSB-4210 User Manual
Chapter 3 Software Functionality
These modules talk to the hardware (for example via USB), and provide events
(keystrokes, mouse movements) to the input module.
B. Event handlers
These modules get events from input and pass them where needed via various
interfaces - keystrokes to the kernel, mouse movements via a simulated PS/2
interface to GPM and X and so on.
3.11.10.2Simple Usage
For the most usual configuration, with one USB mouse and one USB keyboard, you'll
have to load the following modules (or have them built in to the kernel):
input
mousedev
keybdev
usbcore
uhci_hcd or ohci_hcd or ehci_hcd
usbhid
After this, the USB keyboard will work straight away, and the USB mouse will be
available as a character device on major 13, minor 63:
crw-r--r-- 1 root root 13, 63 Mar 28 22:45
mice
This device has to be created.
The commands to create it by hand are:
cd /dev
mkdir input
mknod input/mice c 13 63
After that you have to point GPM (the textmode mouse cut&paste tool) and XFree to
this device to use it - GPM should be called like:
gpm -t ps2 -m /dev/input/mice
And in X:
Section "Pointer"
Protocol "ImPS/2"
Device "/dev/input/mice"
ZAxisMapping 4 5
EndSection
When you do all of the above, you can use your USB mouse and keyboard.
3.11.10.3Detailed Description
1. Device drivers
Comentarios a estos manuales