Skip to contentSkip to conversation

application for LM75 sensor

DISCUSSION TJ Fang 2 participants 2 messages May 19, 2005

lore
Share & tools
lore

TJ Fang

author
#0 lore raw

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

#1 lore raw

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]