2 LFS VERSION ALL (Linux >= 2.4.19)
3 AUTHOR: Konrad Miller <konrad_miller@gmx.net>
6 How to install a USB-mouse
10 1. Recompile the Kernel. You need to turn on:
13 <M> UHCI (Intel PIIX4, VIA, ...) support
14 <M> USB Human Interface Device (full HID) support
15 [*] HID input layer support
16 Input core support --->
17 <M> Input core support
20 Do _not_ turn on "USB HIDBP Mouse support"
21 If you build modules, you need to load "input.o", "hid.o", and "mousedev.o".
23 2. Plug in the Mouse and check if it was detected (kernel message)
25 3. Create the mouse nodes by running the following commands:
27 mknod /dev/input/mice c 13 63
29 4. You probably want to use the mouse under X, you need to edit your XF86Config
30 (/etc/X11/XF86Config). Change your InputDevice and ServerLayout sections to
36 Option "Protocol" "IMPS/2"
37 Option "Device" "/dev/input/mice"
38 Option "ZAxisMapping" "4 5"
42 Section "ServerLayout"
44 InputDevice "USB Mice" "CorePointer"
48 -------------------------------------8<-----------------------------------------
50 Hannes Birnbacher asked me to add the following comments:
51 "For any software using not X-Window, but libvga, like some Games and like
52 links2.1pre4, it is important to check /etc/vga/libvga.config after
53 installation of libvga. I had among else to insert the following lines and to
54 comment out what was there before for my USB optical mouse for "mdev" and
60 and, for my Typhoon Optical Mouse with Cable, change mouse_accel_maxdelta and
61 mouse_accel_thresh to one tenth of what stood there before."
63 I did not check the comments of Hannes but I hope they may be helpful.
65 -------------------------------------8<-----------------------------------------
67 check out http://www.linux-usb.org/USB-guide/x194.html for further information!