hhdang6637 / embedded_linux_skeleton

Building U-Boot, Linux kernel, and Rootfs from scratch for the embedded system (raspberry-pi)
GNU General Public License v2.0
22 stars 3 forks source link

System alarm #65

Open nguyenhien1994 opened 6 years ago

nguyenhien1994 commented 6 years ago

We need an alarm alert for the user when a threshold is exceeded.

To do that, we need an event_manager that will register to an event group. Kernel will poll and check some thresholds. Whenever a threshold is exceeded, kernel will send a message about that threshold to event_manager. And then web_handler will get alarms in event_manager and show it to the user.

image

I'd do it with CPU temperature threshold first.

hhdang6637 commented 6 years ago

I like it