lkml.org 
[lkml]   [2004]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Q re /proc/bus/i2c
From
Date
On Sat, 2004-01-10 at 13:58, J. Ryan Earl wrote:
> Gene Heskett wrote:
>
> >On Friday 09 January 2004 20:47, J. Ryan Earl wrote:
> >
> >
> >I've also got a bttv card, whose init seems to be done quite early in
> >the bootup, and that requires I have i2c-dev in the kernel. So I
> >might as well put it all in, the current situation. All in, or all
> >out, it doesn't work. A run of sensors right now, returns this:
> >
> >
>
> A couple questions:
>
> 1) Have you installed the lm-sensors package?
> 2) What kernel version?
>
> Even with 2.6, you need to install the lm-sensors package, but not the
> i2c package as the kernel already has everything needed in it. The
> lm-sensors packages contains drivers for all the sensor chips. After
> you get lm-sensors installed on your current kernel, run sensors-detect
> to get the proper modules loaded for your hardware.
>

Uhm, AFIAK, you should _NOT_ install the drivers from the lm-sensors
package, but use those in the kernel. Check the docs, they explicitly
say that you should only do:

# make user user_install

if you have 2.6 kernel. Further, you do not _need_ lm-sensors package,
as if you only want to check/monitor one setting, you can get it from
/sys, and if you use gkrellm, it do not even use libsensors anymore
(and thus works without, as it have since 2.6 support, before even
libsensors was ported to understand sysfs) ...


--
Martin Schlemmer
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site