Hi Tom,

There are some facilities in Solaris for reading platform sensors, but what you
can do varies quite a bit from platform to platform.  On our sparc/sun4v
platforms I believe you can get access to sensor readings and discrete states
using the prtpicl(1m) cli.  This functionality had been around on sparc since I
think Solaris 8.

In build 96 of Solaris Nevada, we added the ability the enumerate and read
sensors on our X64 servers and our Sun Storage J4000 series platforms.  You can
find some more information on this in my blog entry here:

http://blogs.sun.com/robj/entry/a_sensor_abstraction_layer_for

And also in Eric Schrock's blog entry here:

http://blogs.sun.com/eschrock/entry/ses_sensors

The framework we developed is not directly probing/reading the sensors, but
rather proxying the requests to the service processor or storage enclosure using
IPMI and SES.  As a result, it doesn't support boxes that don't have bmc's (i.e.
desktops/laptops)

The Solaris source has an smbus and i2c nexus driver and an assortment of i2c
slave device drivers, but it is currently compiled for sparc only.  It might be
an interesting project to move that to common code and update it with newer i2c
slave device drivers.  I don't know if anyone is looking in that currently.

Hope this helps,

rob


Tom Rowan wrote:
> Hello,
> 
> I'm surprised that no-one has had a similar issue..!
> In fact, was half expecting a curt "have you checked xyz FAQ idiot!".
> 
> But nothing at all? :-(
> 
> Thanks,
> 
> Tom



Reply via email to