You are not logged in.

#1 2012-07-07 20:37:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

lm sensors

Attempting to setup sensors per the wiki in xfce4 (added plug-in).

The following is the opening statement when running sensors-detect:

sh-4.2# sensors-detect
Failed to get D-Bus connection: No connection to service manager.
# sensors-detect revision 6031 (2012-03-07 17:14:01 +0100)
# System: Gigabyte Technology Co., Ltd. 945GCM-S2C

Is there something I can do to enable dbus?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2012-07-07 20:44:50

ConnorBehan
Trusted User (TU)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,356
Website

Re: lm sensors

Is it as simple as putting dbus in the rc.conf DAEMONS array?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2012-07-07 20:49:01

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: lm sensors

Dbus is in the daemons array.........


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2012-07-07 20:49:41

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: lm sensors

Perhaps it needs to be in proper position in the array?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2012-07-08 04:38:27

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: lm sensors

DAEMONS=(!hwclock syslog-ng dbus networkmanager netfs crond @adb @avahi-daemon @cupsd !bumblebeed @sshd @ntpd @alsa @acpid @sensors @hddtemp @thinkfan @laptop-mode lightdm)

You are suppose to use sudo for sensors-detect.

Offline

#6 2012-07-08 05:05:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: lm sensors

Donniezazen:

Thanks for the response.

I have no use for sudo in my system because I have no users.  Just boot and root.

If you are saying that lm-sensors only responds after a sudo command, it would seem that is root mode.

Perhaps I misinterpret what you propose?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2012-07-08 05:07:09

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: lm sensors

In that case you won't need sudo.

Offline

#8 2012-07-08 05:12:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: lm sensors

I note your daemons array and I post mine in contrast:

DAEMONS=(syslog-ng network @asd dbus sensors crond)

Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2012-07-08 05:21:50

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: lm sensors

In my case there is only 1 sensor coretemp. I sometimes just add coretemp to modules list. It works well.

Offline

#10 2012-10-02 18:57:05

neo007
Member
Registered: 2012-09-10
Posts: 10

Re: lm sensors

Hi,

I have similar problem:

Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no): 
Failed to get D-Bus connection: No connection to service manager.
Unloading i2c-dev... OK
Unloading cpuid... OK

Dbus is in the DAEMONS array:

DAEMONS=(hwclock syslog-ng netfs crond dbus networkmanager gdm dropboxd)

Offline

#11 2012-10-02 19:36:46

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,540

Re: lm sensors

I assume that's because it's trying to enable and start the systemd service.

		if (-x "/usr/bin/systemctl" &&
		    -f "/usr/lib/systemd/system/lm_sensors.service") {
			system("/usr/bin/systemctl", "enable", "lm_sensors.service");
			system("/usr/bin/systemctl", "start", "lm_sensors.service");
			# All done, don't check for /etc/rc.d/sensors
			return;
		}

You might want to file a bug report if there isn't one already. Otherwise, it can be safely ignored.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#12 2012-10-03 09:58:50

neo007
Member
Registered: 2012-09-10
Posts: 10

Re: lm sensors

You are probably right. Just running systemctl makes this dbus failure.

Offline

Board footer

Powered by FluxBB