Re: sensors fun..



In message <20071019113444.xinyc37x9cg0ckk0@xxxxxxxxxxxxxxxxxxxxx>, 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@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"