Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2007-11-19 10:50:25 pm

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Custom kernel wanted with Temp sensor enabled

The default Xandros Linux kernel 2.6.21-4-eeepc does not include support for the temperature sensor on the mainboard. When I install and GKrellm it cannot find any temperature sensor.

BUT, when I install Kubuntu on an SD card with kernel 2.6.22-14-generic, GKrellm does find a temperature sensor.

My issue is I'd rather use Xandros Linux for its speed start-up, but would like to be able to monitor temp (why would Asus not use a kernel with this built in?).

I haven't installed any dev tools and am a bit sketchy on the procedure for rebuilding the kernel.  Just wondering if anyone here has already built a custom kernel and enabled support for temp sensing?

thanks
S


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#2 2007-11-19 11:18:58 pm

quant
Senior Member
Registered: 2007-11-16
Posts: 103

Re: Custom kernel wanted with Temp sensor enabled

Could you check dmesg and lsmod and find out which sensor driver is it?
And is it actually functional, or just located?

Offline

 

#3 2007-11-20 12:52:33 am

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Re: Custom kernel wanted with Temp sensor enabled

oh it's functional all right.  while idling, the CPU runs about 46C.  If it's working heavily it goes up to 56-58C, and I've seen it as high as 60C.  As for which sensor it might be.... I'll have to shut down and reboot into Ubuntu. Stand by...

ok, lsmod has two entries of interest:
module 'thermal' is used by '0'
and module 'processor is used by '1 thermal'
I take this to mean that module thermal is not loaded, by module processor is loaded and used by thermal

Also there is a module 'fan' that is not used.

Does this help?

Last edited by midtoad (2007-11-20 1:05:45 am)


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#4 2007-11-20 8:27:23 am

quant
Senior Member
Registered: 2007-11-16
Posts: 103

Re: Custom kernel wanted with Temp sensor enabled

OK, so if you do "sudo modprobe thermal", will the GKrellm work on default installation? If so, than a simple fix would be to add thermal to /etc/modules, which has a list of modules to preload on boot....

Offline

 

#5 2007-11-20 8:41:45 am

eFfeM
Senior Member
Registered: 2007-10-21
Posts: 861
Website

Re: Custom kernel wanted with Temp sensor enabled

See here: http://wiki.eeeuser.com/howto:rebuildthekernel on how to recompile your kernel.


All opinions, information etc in this forum post is copyrighted by me (eFfeM) unless indicated otherwise.
You are free to reuse whatever you want to, provided that:
1) you give credit to me and eeeuser.com whenever you reuse anything for all things you reused.
2) you do not pretend or create the illusion that your modifications are mine. I'll be responsible for my junk, you for yours smile

Offline

 

#6 2007-11-20 8:54:49 am

Kibobo
Senior Member
From: France
Registered: 2007-10-21
Posts: 295
Website

Re: Custom kernel wanted with Temp sensor enabled

He doesn't have to recompile the kernel, he just wants the right module tongue

Offline

 

#7 2007-11-20 9:50:43 am

eFfeM
Senior Member
Registered: 2007-10-21
Posts: 861
Website

Re: Custom kernel wanted with Temp sensor enabled

Kibobo wrote:

He doesn't have to recompile the kernel, he just wants the right module tongue

I know, but I know only two ways to get a module
1. recompile the kernel with the right options
2. individually compile a module. Not too sure if this is possible with the eeePC. If it is, I'd love to see instructions.


All opinions, information etc in this forum post is copyrighted by me (eFfeM) unless indicated otherwise.
You are free to reuse whatever you want to, provided that:
1) you give credit to me and eeeuser.com whenever you reuse anything for all things you reused.
2) you do not pretend or create the illusion that your modifications are mine. I'll be responsible for my junk, you for yours smile

Offline

 

#8 2007-11-20 10:16:38 am

Kibobo
Senior Member
From: France
Registered: 2007-10-21
Posts: 295
Website

Re: Custom kernel wanted with Temp sensor enabled

2. I gave you the instructions in your "rebuild your kernel" thread.

Last edited by Kibobo (2007-11-20 10:17:22 am)

Offline

 

#9 2007-11-20 11:49:55 am

quant
Senior Member
Registered: 2007-11-16
Posts: 103

Re: Custom kernel wanted with Temp sensor enabled

Just tested:
The thermal module is in the default installation - no need for any extra modules.
Just " sudo modprobe thermal" before running "sudo gkrellm &", or add thermal to /etc/modules...
Works either way...

Offline

 

#10 2007-11-20 12:19:42 pm

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Re: Custom kernel wanted with Temp sensor enabled

@quant, Right, I did find that thermal module is there. But after I modprobe it and restart GKrellm, I don't see any temp even after ensuring that I have enabled that feature in preferences.  Have you actually seen a temp in GKrellm in the default installation, in either Easy Mode or Advanced Mode?

I downloaded and obtained a copy of lm-sensors. At the end of it, I get the message that no sensors were detected. So we must have some non-standard sensors. 

I also downloaded and installed mbmon, which GKrellm can monitor. But mbmon reports that no Hardware Monitor can be found.

I'm still mystified how Kubuntu is finding a temp. It might be the newer kernel 2.6.22 versus the 2.6.21 in eee PC.

Last edited by midtoad (2007-11-20 1:39:45 pm)


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#11 2007-11-20 5:22:46 pm

quant
Senior Member
Registered: 2007-11-16
Posts: 103

Re: Custom kernel wanted with Temp sensor enabled

I installed gtkrell, modprobe'd thermal (yes, required), and started gtkrell.
I had to open krell settings (F1), go to sensors, and tick on the checkbox. That was all...

Offline

 

#12 2007-11-20 6:14:26 pm

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Re: Custom kernel wanted with Temp sensor enabled

@quant: You wrote 'gtkrell' but of course you meant 'gkrellm'. 

Note to self: when you see a little > icon next to the word Temperature, click on it to open the list of temperature sensors available.  D'oh!

Thanks, I've got it working now.  I think we can put this issue to bed.

BTW at idle my machine is reading 49C.


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#13 2007-11-20 9:41:14 pm

jonmisurda
Member
From: Pittsburgh, PA
Registered: 2007-11-16
Posts: 84

Re: Custom kernel wanted with Temp sensor enabled

You can check your temperature without any extra programs by:

Code:

sudo modprobe thermal

once per boot

and then:

Code:

/home/user> cat /proc/acpi/thermal_zone/TZ00/temperature 
temperature:             51 C

Just a side note.

Offline

 

#14 2007-11-20 11:38:49 pm

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Re: Custom kernel wanted with Temp sensor enabled

I've rolled up all of the advice in this thread into a single wiki:  http://wiki.eeeuser.com/howto:monitorhardware


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#15 2008-01-27 8:34:34 pm

dendrite
Member
From: Blue Mountains, Australia
Registered: 2008-01-16
Posts: 28
Website

Re: Custom kernel wanted with Temp sensor enabled

I think that checking the temperature post above without any added programs should also be added to the wiki. That's a real help if you don't want to install anything.

So can you only check the temp once per boot that way or is it that you only need to enter the sudo command once per boot?

Pardon my ignorance but is there anyway to cut and paste the above info in terminal rather than typing it?

Last edited by dendrite (2008-01-27 8:35:35 pm)


I love snow and wild weather! - www.blackheathweather.com

Offline

 

#16 2008-01-27 9:28:53 pm

midtoad
Senior Member
From: Calgary, Canada
Registered: 2007-11-03
Posts: 210
Website

Re: Custom kernel wanted with Temp sensor enabled

@dendrite: you can check the temp as many times as you want.  If you're reading this on your Eee PC, you should be able to copy the text out of the browser with Ctrl-C or Shift-Ins, then paste it into your Terminal with Ctrl-V or Ctrl-Ins. (Or maybe I have the Shift-Ins and Ctrl-Ins reversed?  I'm typing this on a Mac so I can't check).

But another way to keep an eye on your temperature is to install GKrellm and its optional temperature plugin module.


EeePC 4G 701 running Eeebuntu 2.0 NBR, with Apple wireless keyboard, Cirago Bluetooth mini-dongle

Offline

 

#17 2008-01-28 1:22:26 am

dendrite
Member
From: Blue Mountains, Australia
Registered: 2008-01-16
Posts: 28
Website

Re: Custom kernel wanted with Temp sensor enabled

Thanks midtoad. Always appreciate a response but don't expect it. Thanks for your time. :-) I'm on the big desktop at the moment so will fiddle around with the Eee later on.


I love snow and wild weather! - www.blackheathweather.com

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson