I wrote this Howto because I didn't found much documentation when I
tried to get my USB mouse and my Touchpad to work fine together with
XFree on my laptop (DELL Latitude C800). So I hope this page will help
you in case you meet the same problem :)
This Howto was written for the Debian Linux distribution, because
packages management and dependencies is easy and commonplace through
the APT command. It
doesn't mean that the configuration won't work with another Linux
distribution, since packages to install should be the same, but some
configuration files may be located in another directories of your
filesystem.
cd /usr/src/linuxCheck the following items are checked (* or M).
make menuconfig
| Device Drivers | - <*> Support for USB - <*> EHCI HCD or OHCI HCD or UHCI HCD (given the USB Bus of your computer, mine is UHCI HCD) - <*> USB Human Interface Device (full HID) support - [*] HID input layer support |
| Input device support |
--- Mouse interface - (1024) Horizontal screen resolution - (768) Vertical screen resolution - <M> Event interface - [*] Mice - <*> PS/2 mouse |
make bzImageReconfigure /etc/lilo.conf if needed.
make modules modules_install
cp arch/i386/boot/bzImage /where_you_store_your_kernel/your_new_kernel
liloNext time you bootstrap, your USB mouse driver should be running.
reboot
....The first device is the primary device (corepointer), and the second one the alternate device (SendCoreEvents => true).
#PS2 mouse
Section "InputDevice"
Identifier "PS2 Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
#USB mouse
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
....
Section "ServerLayout"
...
InputDevice "PS2 Mouse"
InputDevice "USB Mouse"
...
EndSection