|
|
This document is available in: English ChineseGB Francais Portugues Russian |
by Guido Socher (homepage) About the author: Guido really likes it when a computer is tailored to his needs
and looks like he wants it. That's why he is using Linux.
|
LF Tip: USB mice and laptopsAbstract:
This is a small tip. From now on LinuxFocus will have at least one new tip every month.
If you have some ideas for a new tip
then send them to guido("at" sign)linuxfocus.org |
Section "ServerFlags" Option "AllowMouseOpenFail" EndSectionThe X-server can handle the adding and removal of a usb mouse without any problems. However it has to be able to open the software device (in /dev) at startup. The problem is that most distributions have the usb mouse compiled as a module. In other words it is loaded only when you plug in the mouse. To solve this you need to force load those modules even if there is no mouse connected at startup.
# put this into an init script e.g # /etc/rc.d/rc.local for fedora or # /etc/conf.d/local.start for gentoo or .... # load the kernel modules needed for a usb mouse even if there # is no mouse connected yet: modprobe hid modprobe input modprobe mousedevThat's all.
Webpages maintained by the LinuxFocus Editor team
© Guido Socher "some rights reserved" see linuxfocus.org/license/ http://www.LinuxFocus.org |
Translation information:
|
2005-07-03, generated by lfparser version 2.52