[lm-sensors] dme1737 module
Werner Goebl
werner.goebl at mail.mcgill.ca
Sun Dec 16 23:41:59 CET 2007
Dear Juerg,
I am running Gutsy on an Optiplex 745 (Kernel 2.6.22-14,
Intel Q965 chipset) and in order to quiet my always spinning
fan, I wanted to add the dme1737 module to my old kernel.
So, I did what you suggested (copy dmel1713.c + create
Makefile).
When I type "make" it says:
"make: Nothing to be done for `all'."
BTW: You mention to have "the kernel headers intalled to be
able to compile". Are you referring to "Kconfig" and
"Makefile" in
/usr/src/linux-headers-2.6.22-14/drivers/hwmon? (which I
updated according to
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9431996f55f8a3c04cdcb63895cf7661e135fadb
Thanks for your patience!!
Werner
---------------------------------------------
From: Juerg Haefliger <juergh <at> gmail.com>
Subject: Re: dme1737 module
Newsgroups: gmane.linux.drivers.sensors
Date: 2007-08-22 16:11:13 GMT (16 weeks, 4 days, 5 hours and
35 minutes ago)
Hi Juergen,
I'm copying the list so others can profit.
> Dear Juerg,
>
> I own a barebone made by asus which needs the dme1737
module for lm-sensors to
> work correctly. Since it had been included in kernel
2.6.23 and I am running 2.6.18 (from
> debian etch) I was wondering if there is a stand alone
version of the module, that I could
> compile for my kernel? Is there any way to use it with
2.6.18?
Copy the file dme1737.c from the 2.6.23 kernel to a temp
directory and
create a Makefile in the same directory that contains the
following
lines:
obj-m := dme1737.o
all:
make -C /lib/modules/`uname -r`/build M=$(PWD) modules
Then run 'make' which will compile the module. You also need
to have
the kernel headers installed to be able to compile.
Additionally, you will also need the latest 'lm-sensors' package
(2.10.4 ) or the dme1737 will not be recognized.
Let me know if you need additional help.
...juerg
More information about the lm-sensors
mailing list