Agust Karlsson wrote:
>
> I need to make an event happen at regular intervals in the kernel.
> Actually I have to kick a hardware watchdog every second or so.
> Where is the best place to put a code like that, as early as possible.
You have to write a software driver which should
use (add|del)_timer routines. The easiest way is
to write a module and when you stabilize the code
enough to compile it as a part of kernel.
Back in '97 i wrote similar driver for a device
which turned off and on stalled modems and PCs.
You can take a look at http://www.dce.bg/~petkan/
best,
PEtkan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:33 EST