lkml.org 
[lkml]   [2004]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Q re /proc/bus/i2c
Date
On Saturday 10 January 2004 13:40, Martin Schlemmer wrote:
>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

I did this originally, but it did not in fact user_install any new
code! I had to install the executables with mc, over-writing the
sensors, sensors-detect and such files. And, interesting is that
while sensors-detect reports that its generated an .init file to be
copied to /etc/rc.d/init.d/lm_sensors, it has never touched the
lm_sensors.init file that comes out of the archive. IMO, something
is totally fubar (and I've nuked the srcdir and unpacked that
lm_sensors-2.8.2 archive and re-run this several times now)

>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) ...

gkrellm-2.1.24 is running right now, and the builtins/sensors/info tab
reports "No sensors detected." at the top of the window. Everything
else, including the ups watcher is running just fine. Is there some
way I can get some debugging info out of gkrellm when started from a
cli?

--
Cheers, Gene
"There are four boxes to be used in defense of liberty: soap,
ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.200 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site