Re: [RFC PATCH 2/2] Add virtual "idle" device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Machek wrote:
> On Mon 2009-03-02 23:42:52, Marcin Slusarz wrote:
>> This virtual device can be used to tell user space about periods of time
>> when user didn't "touch" input devices (keyboards, mice, touchpads, joysticks,
>> etc). For now it supports only keyboard events.
>>
>> Notification is done through simple select/poll + ioctl interface.
>>
>> It can be used to implement screen savers, automatic suspend,
>> autoaway/autodisconnect (e.g. in instant messangers) without
>> any help from X server and its overhead (context switches).
> 
> I don't think this is good interface; what if you have more than one
> seat?

Good point. I haven't thought about it.
Moreover it wouldn't work with remote X sessions...

It could be used on single user systems (like laptops, personal desktops,
embedded), but user space couldn't know whether it safe to use it (maybe
excluding embedded).

> And without mouse handling it is useless anyway, so....

Well, I didn't want to dig too much into input layer just to
discover after patch submission that my core functionality is broken :).

Marcin

--
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

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux