2. Hints on using USB mice
Make sure you have the hotplug package running. There are hotplug packages available for most distributions, and many distributions has hotplugging set up by default.
Gentoo: emerge hotplug, make sure it is autoloaded with 'rc-update add hotplug default'. Start hotplugging with '/etc/init.d/hotplug start'.
With hotplugging, the modules for mice, joysticks, cameras and other usb devices are plug-and-play, as long as you compiled all the USB drivers as modules.
**Make sure USB support is compiled as a module or in the kernel (m or y). In general, it's a good idea to compile all USB modules (m).**
If you don't like hotplugging, you can add the modules to /etc/modules.conf (Gentoo: /etc/module.autoload), or manually load them via insmod.
Use /dev/usbmouse or /dev/input/mice with USB mice (IMPS/2).
To check if Linux knows about your usb mouse:
Try cat /dev/input/something and move your mouse (garbage will appear if it's the right one). Press ctrl-c to cancel cat.
In /etc/X11/XF86Config</b>, use
Identifier "USB Mice"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
You may also need to add "SendCoreEvents" to the InputDevice line.
InputDevice "USB Mice" "SendCoreEvents"
Users browsing this forum: No registered users and 2 guests