sensors fun..

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 19 02:41:07 PDT 2007


In message <20071019113444.xinyc37x9cg0ckk0 at webmail.leidinger.net>, Alexander L
eidinger writes:

>I was thinking you talk about the interface between the kernel and the  
>userland. Now I think that you talk more or less about something which  
>could be implemented e.g., as an userland library which not only polls  
>the kernel sensors framework, but provides the single-system sensor  
>data (and could be a base of a singe-system sensor daemon which feeds  
>its data to a group-level sensors framework). Does this sound like  
>what you have in mind?

It certainly sounds more sensible.

The kernel-userland interface should happen over a filedescriptor
(either device or unix-domain socket) so that whatever daemon we
park on the fd can just use select/poll/kqueue to wait for events.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list