[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a bit (asus!) confused about i2c and lm-sensors



On Sun, Feb 08, 2004 at 06:40:26AM -0500, Paul Morgan wrote:
> On Sun, 08 Feb 2004 01:08:40 -0800, Nano Nano wrote:
> 
> > I have an ASUS P4C800.  I have 2.6.2 kernel.  I wish to see my CPU and
> > Mobo temps (and ideally fan speeds) like Asus PC Probe shows in Windows.
[snip]
> The first thing you should do is run sensors-detect to determine which
> modules you'll need.
> 
> You'll have to install lm-sensors-source and compile the modules for your
> kernel.

I think I'm having problems because I'm having problems with modules in 
general in kernel 2.6 series.  Almost everything I used to use with 
hotplug has to be compiled in, which hotplug now warns about.

I tried just enabling everything i2c-related in the kernel as a 
built-in, but the kernel then hanged on startup.  I have 
module-init-tools installed.  What's wrong with me and modules in 2.6?

# make-kpkg --added-modules=i2c modules-image
[snip]
make[3]: *** No rule to make target 
`/usr/src/linux-2.6.2/include/linux/modversions.h', needed by 
`kernel/i2c-pport.d'.  Stop.

# make-kpkg --added-modules=i2c modules-image
[fails with same error]

# egrep -i "module|versi" .config
# Loadable module support
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y

# sensors-detect
[snip] 
 BIOS vendor (ACPI): ACPIAM
 System vendor (DMI): To Be Filled By O.E.M.
 BIOS version (DMI): 080009
[snip]
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5
[snip]
Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
[snip]
 i2c-dev is not loaded. Do you want to load it now? (YES/no):
FATAL: Module i2c_dev not found.
[snip]
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 3970, 
<STDIN> line 4.



Reply to: