Re: Disable input device

From: Chuck Ebbert
Date: Sat Dec 06 2014 - 10:29:08 EST


On Sat, 29 Nov 2014 18:24:03 +0100
Pali RohÃr <pali.rohar@xxxxxxxxx> wrote:

> What do you think about adding new sysfs file "disable" (accept
> values 1 or 0) for every input device? With "1" it cause that
> kernel will drop all events from specific input device and if
> driver provide some function is can be called (e.g. for power
> management or disabling device at hardware level).
>

Yeah, I'd like to see this too. I am using xinput to disable the
notebook keyboard so the cats walking across it don't cause any
problems. It would be nice to have a better solution.
--
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/