Thread (4 messages) 4 messages, 3 authors, 2021-09-27

Communication between kernel and user-space

From: Thomas Marangoni <hidden>
Date: 2021-08-30 13:51:23

Hello,

I'm currently working on the axp209 driver. The device has multiple warnings like: temperature too high or low, over-voltage, under-voltage etc. What is the recommended way to communicate such warnings to the user-space, besides dmesg, so programs can handle them? Or should I just create my own attribute for each warning and set it to a specific value from the kernel and let user-space applications reset them to acknowledge them? And if there is a recommended way can you name me a driver that is using it?

Thanks for your help!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help