Adding/removing mice dynamically

From: Stefan Monnier (monnier_at_iro.umontreal.ca)
Date: 05/12/04


Date: Wed, 12 May 2004 19:00:09 GMT


I'm having the following problems with my Thinkpad laptop running Debian
GNU/Linux (Sarge):

- The trackpoint thingy appears as "the PS/2 mouse" normally, and is
  disabled if I plug a PS/2 mouse. My PS/2 mouse is actually an ImPS/2
  mouse (with a wheel). How can I get my Xserver to work with both?
  Currently, I've set the protocol type to "PS/2" which indeed works for
  both types, but then the wheel doesn't work. Setting it to "ImPS/2"
  breaks the trackpoint. Setting it to "Auto" behaves like "PS/2" except
  that it takes a while before the mouse/trackpoint is activated.

- If I start X with my external USB mouse non-plugged than my secondary
  mouse is turned off and no amount of plugging it in will do any good.
  If I'm careful to have it plugged in when I start X, then I can remove it
  and put it back in without any trouble, but I having to restart X when
  I get home just so I can use that mouse is annoying.

Any idea what I could do?

        Stefan