how can i access the T61 Nvidia temperature sensor?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
xirtyllo
Posts: 34
Joined: Sat Sep 29, 2012 6:03 pm
Location: Mgarr, Malta

how can i access the T61 Nvidia temperature sensor?

#1 Post by xirtyllo » Thu Sep 19, 2013 12:59 pm

I'm trying to figure out how I can read the Nvidia NVS 140M temperature sensor in the T61..

for example if I do

Code: Select all

cat /proc/acpi/ibm/thermal
I can read most temperature sensors (I think they are coming from the thinkpad_acpi module)
but which is the corresponding path for the Nvidia thermal sensor?

PS: I know that sensor 4 in /proc/acpi/ibm/thermal refers to the GPU, but from what I read it an additional sensor outside the GPU, not the sensor in the Nvidia chip. and in fact the temperature reading of

Code: Select all

nvidia-settings
or

Code: Select all

nvidia-smi
is about 8-10 degrees higher than sensor 4.

I ask because I'm setting up the thinkfan program to regulate fan activity, but I'm finding that relaying on sensor 4 is not accurate enough. (e.g. the temperature shown by nvidia-smi raises earlier and faster than on sensor 4)

thx for any input!
--------->
T61: T9500, Nvidia NVS140M, SSD, 4GB Ram, Debian wheezy
T61: T8300, intel, 4GB Ram, Win XP / Debian wheezy
X61: T7100, SSD, 4GB Ram, Win 8
<---------

xirtyllo
Posts: 34
Joined: Sat Sep 29, 2012 6:03 pm
Location: Mgarr, Malta

Re: how can i access the T61 Nvidia temperature sensor?

#2 Post by xirtyllo » Fri Sep 20, 2013 3:51 pm

ok,

after some googling I found out that I can display the temperature in the following way:

Code: Select all

$ nvidia-settings -q gpucoretemp -t
61
or also:

Code: Select all

$ nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c35-36
61
but I don't know how to feed the resulting reading (in this case 61) to thinkfan...

I also tried creating a cron job to periodically execute nvidia-settings -q gpucoretemp -t and output the result to a file (e.g. /var/log/test-temp)
then I put

Code: Select all

sensor /var/log/test-temp
in thinkfan.conf, but when thinkfan starts it reads 0 (even if in the file there is actually a number (e.g. 61).

any Linux guru around..?
--------->
T61: T9500, Nvidia NVS140M, SSD, 4GB Ram, Debian wheezy
T61: T8300, intel, 4GB Ram, Win XP / Debian wheezy
X61: T7100, SSD, 4GB Ram, Win 8
<---------

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest