application for LM75 sensor
Hi...
I want to write a linux application to use LM75 sensor driver. Could you please tell me how I interface to the driver. Can I consider it as a character device driver, which using OPEN, READ, WRITE, CLOSE. If there is any example to deal with the LM75 driver will be much helpful, thanks.
Regards
T.J.Fang
Software Engineer
Xyterra Computing Inc.
(480)609-5118
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20020110/5beafdfa/attachment.html
You can use:
1) character device access to the i2c bus driver
2) /proc file access
3) libsensors library API
There are examples of all three and extensive documentation in our package. mds
Quoted 14 lines
TJ Fang wrote:
Hi...
I want to write a linux application to use LM75 sensor driver. Could you please tell me how I interface to the driver. Can I consider it as a character device driver, which using OPEN, READ, WRITE, CLOSE. If there is any example to deal with the LM75 driver will be much helpful, thanks.
Regards
T.J.Fang
Software Engineer
Xyterra Computing Inc.
(480)609-5118
[email protected]