On Tue, 2017-01-17 at 12:07 +0100, Pavel Machek wrote: > <snip> > We'd really like it to work on plain old text console, too, because > that's what > I'm using on n900, and with old maemo userspace, because that's what > everyone > else uses. > > You mentioned you think X.org can do this kind of device disabling > (and powersave). > Would you have an idea how to activate that? I'd like to disable > touchscreen > and most of the buttons when the device is "in the pocket". You need to change the "Device Enabled" property in X. What this does depends on which Xorg driver it uses. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html