From: Xavier V. <xav...@fr...> - 2004-08-24 11:10:29
|
Hi Luis ! >I have just read that you were the developper of the i2c_sensors plugins. >I suppose that for your plugin to work, one must have the lm_sensors >packages installed, right? >I have a PcEngines hardware that has a LM77 sensor, placed on the i2c bus. >But I have not that many info on how to read it, just a DOS example. > In fact, you must have the lm_sensors modules compiled for your hardware. The situation is alot better with linux 2.6 than 2.4 because the lm_sensors are right into the kernel tree by now (in the "char devices" section I think) You have to find the good driver for your i2c bus (i2c-isa works in most situations, but if there's a better driver, use it) and for your chip (maybe one of lm*, but there's no lm77 which must be handled by one of the other lm* drivers). You'll find more information at http://secure.netroedge.com/~lm78/ When you've loaded the good drivers, you should see your sensors in /sys/bus/i2c/devices/* (in 2.6) or /proc/something_I_don't_recall/ (if you have a 2.4 kernel and i2c-proc loaded). Bye ! |