Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco <dmr@xxxxxx>
- Date: Tue, 23 Jan 2007 18:11:38 +0100
Pavel Machek <pavel@xxxxxx> writes:
> But I still believe it can be out.
>
> Do you believe it could be a user-space daemon or what?
Yes, what prevents userspace daemon watching /dev/input/event* to
provide this functionality?
Well that was my first attempt. Just an hack, but it works. Nonetheless I found
the kernel-level approach fitting better the problem: it is elegant, simpler
and more efficient than user-level one.
For example, the subsystem provides at kernel-level handy
hiberante/suspend/resume callbacks that I use to turn on/off the timer,
avoiding the time-warp problem. Doing that at user-level would be far more
messy...
Bye
--
An age is called Dark not because the light fails to shine, but because people
refuse to see it. - James Michener, Space
-
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/
- Follow-Ups:
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- References:
- [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek
- [ANNOUNCE] System Inactivity Monitor v1.0
- Prev by Date: Re: [PATCH] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
- Next by Date: [PATCH] [RESEND] return ENOENT from ext3_link when racing with unlink
- Previous by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Next by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Index(es):