VT switch event

Peter Hutterer peter.hutterer at who-t.net
Sat Dec 5 03:27:21 PST 2009

On Sat, Dec 05, 2009 at 12:40:12PM +0200, Andriy Gapon wrote:
> So indeed, I used a small program xinput and here is its output around VT switch:
> $ xinput watch-props "Logitech Deluxe 104"
> Device 'Logitech Deluxe 104':
>         Device Enabled (93):    1
> ===> the above printed right after start
> Property 'Device Enabled' changed.
>         Device Enabled (93):    0
> Property 'Device Enabled' changed.
>         Device Enabled (93):    1
> ===> this got printed after switching there and back
> I wonder why if this behavior is controllable by X configuration.

no, that's a fixed behaviour.  all input devices are disabled on VT switch
and re-enabled when you switch back.
amongst other things this causes some drivers to release the device so it is
usable from the tty.


More information about the xorg mailing list