Pavel Machek writes: Hi! > > +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. Ah, there is still a time-warp bug pending. In practice I have to turn off the timer just before suspending, hibernating, etc or it will give you hell on the next system resume... But I still believe it can be out. Do you believe it could be a user-space daemon or what? Best,