> > > Is reading the sensor.desc the right way to do this, and if so, is the
> > > information in sensor.desc consistent across all drivers?
> >
> > When it comes to i2c devices, we have no idea what is a particular pin
> > on the measuring chip is wired to.  There is just no information at all.
> > Only the vendor knows.  Sorry.
> 
> Ok, thank you.
> I was just wondering about the strings placed in sensors.desc. If they
> are consistent among all drivers I can use that reliably.

We are trying to be somewhat consistant.  But don't rely on that.  You
can't.  And you will see what we mean the first time you see an ipmi(4)
esm(4), or other such sensor coming from a non-i2c device, where the
machine gives us the name.  Those are more inconsistant than what we
have.  If you think you can just do it from the name, then don't -- do
it from the sensor type.

Reply via email to