Skip to contentSkip to conversation

Device Driver for lm75 on 8260

DISCUSSION barry.fisher 2 participants 2 messages Feb 4, 2002

lore
Share & tools
lore
#0 lore raw

Hello All!
Does anyone know where I can get some code(or sample code) for a Linux device driver on an 8260 which gets temperature data from an lm75 via i2c. Any help is appreciated! Thanks in advance.

-Barry Fisher
Seranoa Networks
Email: [email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Does anyone know where I can get some code(or sample code) for a Linux device driver on an 8260 which gets temperature data from an lm75 via i2c. Any help is appreciated! Thanks in advance.

We have generic I2C support for the 8260 (drivers/i2c/i2c-algo-8260.c) in our version of the Linux kernel, and drivers for instance for the MicroSys PM826 ("Miriac") module, too (drivers/i2c/i2c-pm826.c).

See ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2002-01-19.tar.bz2

Reading the LM sensor is then just a minor excercise..

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "If a computer can't directly address all the RAM you can use, it's
just a toy." - anonymous comp.sys.amiga posting, non-sequitir

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/