Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved!] Linux: lm_sensors and Ubuntu 10.10
New Posts  All Forums:Forum Nav:

[Solved!] Linux: lm_sensors and Ubuntu 10.10

post #1 of 9
Thread Starter 
Code:
stuart@foldingbox1:~$ sudo -s
[sudo] password for stuart: 
root@foldingbox1:~# yes | sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: System manufacturer System Product Name
# Board: ASUSTeK Computer INC. Maximus IV GENE-Z

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found unknown chip with ID 0xc333
    (logical device B has address 0x290, could be sensors)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): Found unknown SMBus adapter 8086:1c22 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.

Next adapter: intel drm CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): 
Next adapter: intel drm HDMIB (i2c-1)
Do you want to scan it? (YES/no/selectively): 
Next adapter: DPDDC-B (i2c-2)
Do you want to scan it? (YES/no/selectively): 
Next adapter: intel drm HDMIC (i2c-3)
Do you want to scan it? (YES/no/selectively): 
Next adapter: intel drm HDMID (i2c-4)
Do you want to scan it? (YES/no/selectively): Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: DPDDC-C (i2c-5)
Do you want to scan it? (YES/no/selectively): 
Next adapter: DPDDC-D (i2c-6)
Do you want to scan it? (YES/no/selectively): 
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

I'm currently using this system:
Asus Maximus IV Gene-Z
i7 2700k
G.Skill Ripjaws

I'd like to be able to start testing my system and OCing, but I can't figure out how to read my temperatures inside Linux/Ubuntu

I am a complete and total newcomer, and I'm trying my best to search for these answers, but I can't figure this stuff out.

I'll try my best to supply you with any information you need.

I've followed this guide so far for setting up my install. I stopped before any of the scripts.
Edited by stu. - 10/27/11 at 9:35pm
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
post #2 of 9
I use Psensor, download here-

http://www.omgubuntu.co.uk/2011/05/psensor-a-graphical-temperature-monitor-for-ubuntu/

I just use it on my ubuntu laptop, for kicks. It reads the temps, gives the min and max. Works.
post #3 of 9
Thread Starter 
Quote:
Originally Posted by rockosmodlife;15481693 
I use Psensor, download here-

http://www.omgubuntu.co.uk/2011/05/psensor-a-graphical-temperature-monitor-for-ubuntu/

I just use it on my ubuntu laptop, for kicks. It reads the temps, gives the min and max. Works.

That requires lm-sensors to be working, which it is not on my system. :\
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
post #4 of 9
Quote:
Originally Posted by stu.;15481723 
That requires lm-sensors to be working, which it is not on my system. :\

my bad, all I know is that I am using Oneiric, and it detects 2 sensors.
post #5 of 9
10.10 or 11.10?

10.10 lm-sensor package might be a bit out of date for a sandybridge. you can try to manually load the cpu sensors for intel.

open up a terminal:
Code:
sudo modprobe coretemp

if it doesn't produce any errors, run:
Code:
sensors

to see if it actually puts out anything, if it does, you can add the module to /etc/modules, by entering this command in terminal:
Code:
sudo nano /etc/modules

start a new line at the bottom and add:
Code:
coretemp

ctrl+o, to save, ctrl+x to exit, it should now load and work each time you restart.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #6 of 9
Thread Starter 
You sir, are amazing.

Any chances you'd be able to help me with voltage monitoring?
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
post #7 of 9
Quote:
Originally Posted by stu.;15482382 
You sir, are amazing.

Any chances you'd be able to help me with voltage monitoring?

from what i can gather, your super i/o chip (the chip that monitors the votlages) is the Nuvoton NCT6776F, which is the w83627ehf module. this module is not in ubuntu 10.10 kernel (it is in kernel 2.6.39 and later). you would need to upgrade to 11.10, or upgrade your kernel to the 11.10 kernel to be able to use this module, you would also more than likely need to upgrade your Lm-sensors package.

there isn't exactly a easy way to do this. i can walk you thru it, but i can't guarantee it would work, as it might boink your system.

is there a particular need for ubuntu 10.10?
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #8 of 9
Thread Starter 
Quote:
Originally Posted by transhour;15482693 
from what i can gather, your super i/o chip (the chip that monitors the votlages) is the Nuvoton NCT6776F, which is the w83627ehf module. this module is not in ubuntu 10.10 kernel (it is in kernel 2.6.39 and later). you would need to upgrade to 11.10, or upgrade your kernel to the 11.10 kernel to be able to use this module, you would also more than likely need to upgrade your Lm-sensors package.

there isn't exactly a easy way to do this. i can walk you thru it, but i can't guarantee it would work, as it might boink your system.

is there a particular need for ubuntu 10.10?

I obviously do not know my way around Ubuntu very well, and the only folding guides that I know of use 10.10. I linked it in my first post if you want to check it out, but basically, I'm going to set it up and not touch it again (hopefully).

Temperatures and voltages are currently necessary because I'm testing an OC and don't have access to another Windows install.
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
 
F@H
(14 items)
 
 
CPUMotherboardGraphicsRAM
Core i7 920 @ 4.0ghz EVGA x58 132-BL-E758-A1 2x EVGA 460 1 GB G.SKILL 3 x 2 GB 
Hard DriveOSMonitorKeyboard
Mushkin 40 GB SSD / WD Black 1 TB Windows 7 Home Premium 64-bit DCLCD 20.1" Logitech G15 
PowerCaseMouse
Antec TP 750 Antec 900 Logitech G5 
CPUMotherboardRAMCooling
i7 2700k ASUS Maximus Gene-Z z68 G.Skill 2133mhz Noctua NH-D14 
OSPowerCase
Ubuntu 10.10 BFG 650 Silverstone TJ08-E 
  hide details  
Reply
post #9 of 9
Quote:
Originally Posted by stu.;15483138 
I obviously do not know my way around Ubuntu very well, and the only folding guides that I know of use 10.10. I linked it in my first post if you want to check it out, but basically, I'm going to set it up and not touch it again (hopefully).

Temperatures and voltages are currently necessary because I'm testing an OC and don't have access to another Windows install.

lm-sensors 11.10 64

headers 64bit

headers-all-64bit

image-64bit

I'm assuming you have the 64 bit version.

download these files (make sure they go into your home folders Download folder.)

open up a terminal:
Code:
cd Download

sudo dpkg -i lm-sensors_3.3.0-4ubuntu1_amd64.deb

sudo dpkg -i linux-headers-3.0.8-030008_3.0.8-030008.201110250135_all.deb

sudo dpkg -i linux-image-3.0.8-030008-generic_3.0.8-030008.201110250135_amd64.deb

sudo dpkg -i linux-image-3.0.8-030008-generic_3.0.8-030008.201110250135_amd64.deb

if you get any errors, download this:

Module-init-tools 3.16

in terminal:
Code:
sudo dpkg -i module-init-tools_3.16-1ubuntu1_amd64.deb

then re-run the commands above.

just to be on the safe side, run this command:
Code:
sudo update-grub

if everything installed wtihout a problem, and restart. if it gives you the choice at the grub menu, choose the kernel that is 3.0.0 (or there about, should be the first in the list.) if it doesn't give you a choice, ubuntu will typically boot to the last installed kernel.

not sure what graphics card you have, but if you have a nvidia or a ati/amd card, then you will need to manually install the drivers (download the drivers from their sites.) if you need help with nvidia, i can help you there, if it is an ati/amd card, i believe the member, melcar, he has a "how to" guide somewhere in this thread (its in his sig, so just look him up in member search).

edit:

once you have restarted, re-run:
Code:
sudo sensors-detect

with any luck it it should detect the sensors. if it does find them, answer yes to add them to the /etc/modules, and run this command:
Code:
sudo service module-init-tools start

sensors

^this will load the new modules and show the sensors that are available.

if not, we will attempt to load the modules manually:
Code:
sudo modprobe coretemp (this should already be loaded if you put it in the /etc/modules file earlier)

sudo modprobe w83627ehf (if this throws an error, then this is not your sensor chip for voltages and what not.)

sudo nano /etc/modules

add:

w83627ehf
coretemp (if it is not there for whatever reason)

ctrl+o,to save, ctrl+x, to close.

you will need to setup like conky or maybe a widget or other program that can use the sensors in real-time. as the "sensors" command will just show you a "snapshot" of the temps and volts.

but in all reality, i took a look at the guide you linked, there is nothing in it that are "10.10" specific. if you do go to 11.10, just log out of the desktop, and drop down the "session" and choose either "ubuntu classic" or "unity 2d", which should give you the gnome 2 interface, and all the programs and menu items should be in the same spot.
Edited by Transhour - 10/28/11 at 12:01am
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved!] Linux: lm_sensors and Ubuntu 10.10