Re: Adding/removing mice dynamically

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 05/12/04


Date: 12 May 2004 21:50:52 GMT

On Wed, 12 May 2004 19:00:09 GMT, Stefan Monnier staggered into the
Black Sun and said:
> I'm having the following problems with my Thinkpad laptop running Debian
>
> 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). 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.

On Thinkpads, the Trackpoint and the PS/2 mouse port share data lines.
The Trackpoint uses the PS/2 protocol. Having 2 mice using 2 different
protocols on the same data lines just doesn't work very well under X.
I think you'll have to set the protocol to PS/2, disable the Trackpoint
and just use the mouse, or buy yourself a USB mouse.

> 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.

This may be another X architectural problem. XFree86 may only scan for
devices when it starts up; if a device is missing then, it's not scanned
for again. ISTR changing my XF86Config around so it had an entry for a
USB mouse, restarting X without a USB mouse plugged in, and plugging a
USB mouse in later and having it work though. This was on a Gentoo
machine with X 4.3.0, though--upgrade your X if you're using anything
older than that and try it again.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume


Relevant Pages

  • Re: How to update hardware detection and configuration?
    ... MX310 is not a valid protocol or Xorg setting. ... ....this should work for both PS/2 and USB mice that use the EXPS ... use advanced protocols like EXPS with PS/2 mice, ...
    (comp.os.linux.x)
  • Re: mouse wheel not working...
    ... from the mouse and exports that data to /dev/input/mice in IMPS/2. ... Why does your Identifier say "USB Mice" if this is a PS/2 mouse? ... Protocol must be set to something other than PS/2 to get button events ...
    (comp.os.linux.hardware)
  • Re: PS-2 Keyboard for Aplle II ?
    ... > Primary difference between USB and ps/2, ... > putting the converter on the end of the mouse cable and plugging it ... The PS/2 protocol can be handled by the smallest, ...
    (comp.sys.apple2)
  • Re: wheelmouse 3rd button
    ... > I am using is as a ps/2 and I dont have a usb port to use. ... and "PS/2" protocol will not give more than standard ...
    (alt.linux)
  • Re: USBIP protocol
    ... you mean when we rev the protocol to version 2 ... Set Configuration and Set Interface are requests on the command pipe ... according to the usb 2.0 spec (these would be a control message ... request on the command pipe. ...
    (Linux-Kernel)