Re: Using lm-sensors
Ross Boylan <RossBoylan@stanfordalumni.org> writes:
RB> Thanks for the info. So is the relation between lm-sensors and
RB> lm-sensors-source that the latter provides drivers used by the former
RB> (sort of like alsa, where you need to build the driver, but the
RB> utilities can be obtained by binary package)?
Correct. lm-sensors includes useful userspace programs to poke at the
sensor information too.
RB> My current thinking about the proper steps:
RB> apt-get remove lm-sensors
(Shouldn't be necessary)
RB> apt-get install lm-sensors-source i2c-source
RB> untar, establish links and environment variables to get those two
RB> modules where I actually
RB> have my kernel modules
The modules *should* show up in the right place when you install the
package (under /lib/modules/$(KVERS)).
RB> make-kpkg clean
RB> disable i2c in kernel configuration
RB> make-kpkg --revision=rb.2 build_image #not sure this or next target is right
RB> make-kpkg build_modules # I'm not in Debian right now to check
RB> # but you get the idea
RB> dpkg -i <kernel.deb>
RB> dpkg -i <modules.deb> # with appropriate directory renaming since I
RB> already built this gen kernel.
Yup, that's the right basic idea.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: