sensors fun..

John-Mark Gurney gurney_j at resnet.uoregon.edu
Wed Oct 17 15:56:58 PDT 2007


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."


More information about the freebsd-arch mailing list