Re: Hot swapping USB mouse in X window system

From: Andrey Borzenkov
Date: Sun Aug 17 2003 - 11:52:23 EST


> 1) If a mouse is not detected at the start of X windows, that mouse will
> not be checked for during the operation of X windows.
> 2) If a mouse is detected at the start of X windows, then the device
> corresponding to that mouse cannot be released until X windows is stopped

Use /dev/input/mice, it multiplexes all mice found and exists even if no
device is currentrly available.

Under 2.6 I can "hot-plug" serial and PS2 mouse this way and use both at the
same time.

-andrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/