LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2004, 06:15 PM   #1
MainframeGuy
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: Ubuntu 10.04
Posts: 50

Rep: Reputation: 16
Temperature monitor - how hard to do?


OK - rig per sig with ASUS A7V8X-X mobo and I know I can read CPU and CASE temp because I do so in XP.

How hard for a n00b is this to do in SuSE (or any) Linux? I did a forum search and it seems beyonf n00b realms, need to put in place something (lmsensors?) to enable a sensors command - and if I can do that I can configure "gkrellm" maybe (whatever that is!)...

My question is - however much I might WANT to have this I probably do not NEED it so long as system stays stable - so in your opinions where in my learning curve would this comfortably sit?
 
Old 12-08-2004, 06:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I read temperature using the ACPI interface ...

gkrellm has a plugin for that as as well.


Cheers,
Tink
 
Old 12-08-2004, 06:41 PM   #3
MainframeGuy
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: 16
cheers

Quote:
Originally posted by Tinkster
I read temperature using the ACPI interface ...
OK thanks - so that adds another complication (IE it is another way to "skin the cat") - but just a quick Google shows me this will mean a recompiled kernel, yes?

I immediately feel myself stepping away from n00bness if I go there.... that starts to mean that if I screw up my OS gets flakey, right?

Does not quite answer my question - plus I do realise Linux users think nothing of modding their kernel - I used Litestep with XP so I have some idea where things COULD be headed for me.

Now here - for temps - I want to keep my focus, JUST resolve that issue, and (If readily amenable) do so without touching the kernel. Possible or no? Hard or easy? This is the info I seek I guess...
 
Old 12-08-2004, 06:55 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What's your version of SuSE? It may well have acpi
compiled into the kernel already, and it only uses
apm because the daemon gets started first ...

What happens if you
Code:
skill -9 apmd
acpid
Cheers,
Tink
 
Old 12-08-2004, 07:04 PM   #5
MainframeGuy
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: 16
SuSE is 9.1

and I get this:-

"paul@linux:~> skill -9 apmd
paul@linux:~> acpid
bash: acpid: command not found"

although I have found some power management options under system tools for things like closing lid of laptop (this is desktop though, using max sys power settings)
 
Old 12-08-2004, 07:52 PM   #6
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 34
Quote:
Originally posted by MainframeGuy
[B]SuSE is 9.1

and I get this:-

"paul@linux:~> skill -9 apmd
paul@linux:~> acpid
bash: acpid: command not found"
You may want to make sure you specify the full path to acpid. On my Vine box, acpid is under /usr/sbin. I get the same error if I simply type "acpid" like you do 'cause /usr/sbin is not part of my $PATH. I'd have to type "/usr/sbin/acpid" instead.
 
Old 12-08-2004, 07:59 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by MainframeGuy
SuSE is 9.1

and I get this:-

"paul@linux:~> skill -9 apmd
paul@linux:~> acpid
bash: acpid: command not found"

although I have found some power management options under system tools for things like closing lid of laptop (this is desktop though, using max sys power settings)
Try again as root ...

If that doesn't quite fix the problem try a
`locate acpid | grep bin`
Or, as daihard suggested, try a fully qualified path :)


Cheers,
Tink
 
Old 12-09-2004, 06:32 AM   #8
MainframeGuy
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: Ubuntu 10.04
Posts: 50

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by Tinkster
Try again as root ...
`locate acpid | grep bin`...
tried both - locate = not found
grep = terminal window hangs (well, I waited a very long time, knowing the origins of GREP THIS etc I had some idea what might be going on there

thanks for trying though, I'll try the full path if I ever work out what it is!
 
Old 12-09-2004, 08:13 AM   #9
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
I've been wanting to get temp monitoring working for some time now as well. I just recently found that my CPU heatsink was COMPLETELY covered with dust, and I had been overheating since the fan wasn't getting any air through the dust to cool it down, causing repeated system hangs that I couldn't diagnow for the longest time. I know my MB supports temp sensing as I can check the temp in the BIOS.

I just did the command suggested above, and here's what I got:

acpid: Can't open /proc/acpi/event: No such file or directory

So, I look and there is no acpi directory in /proc. Strangely though, when I tried to create this directory (after opening write perms for proc) it gives me

mkdir: cannot create directory 'acpi': No such file or directory

Um, huh? I'm root for pete's sake!!

So, I'm jumping on to this thread to see if I can get this working too...

Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor calibration (color temperature) seanr Linux - Software 5 02-20-2006 10:00 AM
temperature monitor Sinatra Linux - Software 5 07-20-2004 02:53 PM
temperature monitor Pinkdog Linux - Software 3 11-17-2003 10:38 PM
monitor motherboard/CPU temperature hamish Linux - Hardware 3 10-22-2003 08:32 AM
Hardware Temperature Monitor Odd_Bloke Linux - Newbie 1 10-04-2003 06:13 PM


All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration