Date: Wed, 17 Oct 2007 15:20:04 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org, "Constantine A. Murenin" <cnst@freebsd.org> Subject: Re: sensors fun.. Message-ID: <20071017222004.GT39759@funkthat.com> In-Reply-To: <200710171245.36949.jhb@freebsd.org> References: <200710171245.36949.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote this message on Wed, Oct 17, 2007 at 12:45 -0400: > Basically, I think there should be a "real" abstracted interface in userland > that can use various backends. One backend could be to query sensors from > drivers that provide them directly (lm(4), etc.). Another backend could use > the existing IPMI interface to query SDR sensors via IPMI commands to the > BMC. Different RAID controllers could provide backends that communicate with > the firmware to maintain whatever state is needed, etc. but w/o doing all > that in the device driver. People could write their own custom sensors w/o > having to write a kernel module. Maybe that's a bigger vision than you were > shooting for. I'm not sure phk@ will agree with this one either fwiw. :) I'll second this.. Userland sensor modules should be first class just like the kernel drivers... requiring no modification to utilities like systat to display their information... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071017222004.GT39759>