Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Pavel Machek <pavel@xxxxxx>
- Date: Tue, 23 Jan 2007 17:34:42 +0100
Hi1
> > +if [ ! -d "/proc/sin" ]; then
> > + echo "/proc/sin not found, has sinmod been loaded?"
> > + exit
> > +fi
>
> No new /proc files, please.
>
> This was merely a prototype realized in a hurry, not a production
> driver. Really, I did't think it could be interesting for anybody.
>
> Would be /sys ok?
If it has to be in kernel, /sys/power is probably ok.
Doh! The attached patch introduces /sys/class/misc (along with some bug-fixes.)
In case I'll change it again.
No, just leave it where it is. Maybe better location will be invented,
but mine idea was just first shot.
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?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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: Scott Preece
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Mattia Dongili
- Re: [ANNOUNCE] System Inactivity Monitor v1.0
- From: Alessandro Di Marco
- 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
- [ANNOUNCE] System Inactivity Monitor v1.0
- Prev by Date: [PATCH RFC] hwmon/f71805f: Fix a race condition
- Next by Date: Re: [PATCH 0/4] atl1: Attansic L1 ethernet driver
- Previous by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Next by thread: Re: [ANNOUNCE] System Inactivity Monitor v1.0
- Index(es):
Relevant Pages
|