[ltp] Kernel 2.6 and two mice

Edi Weitz linux-thinkpad@linux-thinkpad.org
Tue, 25 May 2004 12:03:45 +0200


On Tue, 25 May 2004 11:55:45 +0200, Tino Keitel <tino.keitel@gmx.de> wrote:

> With devfs, there would be a device node for a device only if it
> really exists. That way, you could see if there is a new device node
> in /dev/input if you re-plug in the mouse.

I think the 2.6 way to do this is with udev instead of devfs. I had
already tried that (see my original email) and, in fact,
/dev/input/mouse1 disappears if I unplug the mouse and it re-appears
if I plug it in again. But, still, mouse movements can only be
observed through /dev/input/mice, not through /dev/input/mouse1 after
unplugging.

Hmm...