Kit Plummer escreveu:
> Read some stuff out there that'd lead me to believe that the PXA255
> doesn't provide a temperature on the i2c bus. Can somebody confirm
> this for me? Am looking into using lm-sensors to provide some
> environmental data. Google has led me to a couple of success stories
> with external sensors...just wondering if there is anything on-Gumstix.
Look, I may be telling you (unintentional) lies, but...
AFAIK, the i2c support on linux is separated in (at least) three stages:
the bus, and the device drivers.
There is support for the i2c controller (the "bus" interface) in the
kernel. There is support for some device drivers (i.e. hardware that is
controlled via i2c, such as some temperature sensors). You can also
communicate with the i2c bus directly via user space, without having a
specific device driver.
AFAIK, the i2c bus on the pxa has no virtual slaves connected to them,
so if you mean a built-in cpu temperature sensor, i don't think there is
one and if there is one, I don't think you reach it through i2c.
External ones (physically connected to the i2c bus) will do fine, either
via an exiting driver (or one you write your self), or via user space
(where you'll have to access the device yourself).
Sorry if I didn't understand your question correctly, but here are my