On Wed, Jan 22, 2003 at 12:24:30AM -0600, Jack wrote: > On Tue, Jan 21, 2003 at 09:10:24AM +0100, Eduard Bloch wrote: > > #include <hallo.h> > > * Jack [Mon, Jan 20 2003, 11:48:16PM]: > > > Thanks for the hints. I have almost the same configure as yours. Would > > > you try this for me when you by chance reboot your machine? Unplug the > > > USB mouse, boot OS, startx, plugin the USB mouse. Does the USB mouse > > > work right away? In my case, "cat /dev/input/mice" trick works, but > > > the X does not detect the change. > > > > There is a trick to feed X with apparently valid mouse device, install > > the hotplug package and look in its config. > Very good hints! In the hotplug user configure file > /etc/default/hotplug.usb X11_USBMICE_HACK is set as false by default. > After it is Changed to true, now everything is cool. > > By doing that, the input and mousedev modules get loaded before startx > even when the usb mouse has not been plugged in. And X is fooled to > think the device is there although it is not there yet.
Interesting. Despite its name, this trick works with gpm too. I realized when GPM is started without USB mouse and -M option, it de-activate itself and useless. With this, GPM works with -M option and I can plug USB mouse later while my touch pad works all the time :) > Many thanks to all the replies. Thanks. -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++ Osamu Aoki <[EMAIL PROTECTED]> Cupertino CA USA, GPG-key: A8061F32 .''`. Debian Reference: post-installation user's guide for non-developers : :' : http://qref.sf.net and http://people.debian.org/~osamu `. `' "Our Priorities are Our Users and Free Software" --- Social Contract -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]