lm-sensors issues. init.d scripts [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

lm-sensors issues. init.d scripts [Solved]

Postby AbuYahya » Mon Oct 22, 2012 17:16

Greetings I am new to the forum and to Sabayon just insatalled last night, it is running well.

I have been using Linux Mint12 KDE 4.8.2 for about 6 months - quite sucessfully without breaking it - in the past I usually break the ssytem and then get fed up and go back to windows.

I use 'conky' to display fan speeds on the desktop like this http://gnome-look.org/content/show.php/Futuristic+Conky+2.3.0?content=151440

lm_sensors is not picking up the motherboard. Gigabyte X58A-UD3R
it was fine in LInuxMint12 and the output of that is as follows

Code: Select all
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +39.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:       +39.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:       +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:       +33.0°C  (high = +80.0°C, crit = +100.0°C)

it8720-isa-0290
Adapter: ISA adapter
in0:          +1.28 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.65 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +2.90 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +0.00 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in5:          +3.15 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +0.08 V  (min =  +0.00 V, max =  +4.08 V)
5VSB:         +2.99 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.22 V 
fan1:         902 RPM  (min =   10 RPM)
fan2:         896 RPM  (min =    0 RPM)
fan3:         812 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +34.0°C  (low  = +127.0°C, high = +80.0°C)  sensor = thermal diode
temp3:        +57.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor



in sabayon 10 it only out puts the CPU

Obviously I have run sensors-detect and injected the it87 into the config file through sensors-detect and even rebooted.
But can't mange to get it to recognise
Last edited by AbuYahya on Mon Oct 22, 2012 23:16, edited 2 times in total.
AbuYahya
Baby Hen
 
Posts: 3
Joined: Mon Oct 22, 2012 16:54

Re: lm-sensors init.d script related issue

Postby AbuYahya » Mon Oct 22, 2012 21:06

if i run the following then it works fine

sudo /etc/init.d/lm_sensors start

does this then imply that the init.d scripts are not running on boot??
AbuYahya
Baby Hen
 
Posts: 3
Joined: Mon Oct 22, 2012 16:54

Re: lm-sensors issues. ?init.d scripts not running at boot

Postby Fitzcarraldo » Mon Oct 22, 2012 21:40

As root user in a Konsole/Terminal window:

Code: Select all
rc-update add lm_sensors default

Then reboot and check it is running:

Code: Select all
rc-status | grep sensors
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: [solved] lm-sensors issues. init.d scripts

Postby AbuYahya » Mon Oct 22, 2012 23:19

That did the trick. Thank you kindly.

So as I understand it not all system init.d scripts run at boot but rather need to be added to this 'rc' command. ???
is that correct?
AbuYahya
Baby Hen
 
Posts: 3
Joined: Mon Oct 22, 2012 16:54

Re: lm-sensors issues. init.d scripts [Solved]

Postby Fitzcarraldo » Tue Oct 23, 2012 0:07

The rc-update command is used to add init scripts to run levels, or to remove init scripts from run levels, or to see the current status of init scripts:

Code: Select all
rc-update add <initscript> <runlevel>
rc-update del <initscript> <runlevel>
rc-update show -v

See the Gentoo Handbook, Part 2, Chapter 4 Initscripts for details.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests