Mouse recognition on reconnecting using evdev

Peter Hutterer peter.hutterer at who-t.net
Thu Nov 13 16:18:47 PST 2008


On Fri, Nov 14, 2008 at 12:44:20AM +0100, Matija Šuklje wrote:
> I noticed that when I unplug my USB mouse and later plug it back in, it 
> doesn't work in X anymore/again.

devices configured in the xorg.conf are not hotplug-capable.
 
> An odd workaround I found and use now is that it works if after I plug it back 
> in I switch to a VT and back to the X session.

that's because a VT switch disables all devices and then re-enables them when
coming back. Your device got disabled when it was unplugged so it simply gets
re-enabled.

Cheers,
  Peter



More information about the xorg mailing list