Re: k10temp is detected but not shown

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

 



I compiled the k10temp driver with these commands:
mahmood@
localhost:k10temp$ sudo make all
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
/usr/src/linux-headers-2.6.32-25-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
mahmood@localhost
:k10temp$ sudo make install
test -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
cp k10temp.ko /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
depmod -a -F /lib/modules/2.6.32-25-generic/build/System.map 2.6.32-25-generic


I then restart the system and check the lsmod:
mahmood@localhost:k10temp$ sudo lsmod | grep "k10temp"
k10temp                 3543  0


the output of "sensors" command is:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +28.0°C  (high = +70.0°C, crit = +70.0°C) 

k10temp-pci-00cb
Adapter: PCI adapter
temp1:       +27.0°C  (high = +70.0°C)                 

k10temp-pci-00d3
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C)                 

k10temp-pci-00db
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C) 


Is this correct? I should see 16 temperatures.
 
// Naderan *Mahmood;



From: Jean Delvare <khali@xxxxxxxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>
Cc: lm-sensors <lm-sensors@xxxxxxxxxxxxxx>
Sent: Mon, October 25, 2010 6:37:21 PM
Subject: Re: [lm-sensors] k10temp is detected but not shown

On Mon, 25 Oct 2010 08:00:07 -0700 (PDT), Mahmood Naderan wrote:
> >If your kernel doesn't include this driver, yes
>
> How can I check?

Sensors-detect told you. You even quoted that part in your original
post. Furthermore, the Devices page in the wiki tells you in which
kernel version the driver was added, so it should be easy to find out,
assuming you know which kernel version you're running.

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux