power management processor on y ttyS - new line disciplin?

From: Guennadi Liakhovetski
Date: Sun May 07 2006 - 12:42:44 EST


Hi

On an embedded system (kurobox from Buffalo) they connected a
power-management controller to ttyS0. Among basic functions you have to
write some byte sequence to it to disable the watchdog, then you have to
write some stuff to it to switch power off / reboot. You also get power-
and reset-button events from it. The buttons one would connect as input.
but the power management? Is it a case for a new line discipline? Are
there other examples of similar designs?

Thanks
Guennadi
---
Guennadi Liakhovetski
-
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/