Gentoo Archives: gentoo-ppc-user

From: toriet <toriet@××××××××××.net>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] Temperature and Fan speed display for iBook G4
Date: Fri, 20 May 2005 12:22:20
Message-Id: 20050520114606.GA3183@Clementina.Casa
In Reply to: [gentoo-ppc-user] Temperature and Fan speed display for iBook G4 by Praveen C
1 hi!
2
3 I don't use torsmo, I use this script:
4
5 echo
6 echo "############# CPU ############"
7 echo -n "Temp CPU : "
8 cat /sys/devices/temperatures/cpu_temperature
9 echo -n "Fan speed : "
10 cat /sys/devices/temperatures/cpu_fan_speed
11 echo -n "Temp limit: "
12 cat /sys/devices/temperatures/cpu_limit
13 echo -n "Freq CPU : "
14 cat /proc/cpuinfo | grep ^clock | cut -d":" -f2
15 echo
16 echo "############# GPU ############"
17 echo -n "Temp GPU : "
18 cat /sys/devices/temperatures/gpu_temperature
19 echo -n "Temp limit: "
20 cat /sys/devices/temperatures/gpu_limit
21 echo
22 echo "############# HD #############"
23 echo -n "Hard disk:"
24 sudo /usr/sbin/hddtemp /dev/hda |grep /dev/hda: |cut -d":" -f2
25 echo -n "Temp HD : "
26 sudo /usr/sbin/hddtemp /dev/hda |grep /dev/hda: |cut -d" " -f4
27 echo
28
29 bye,
30 toriet.
31
32 -- El vie, may 20, 2005 at 04:41:47 +0530, Praveen C va dir:
33
34 > Is there any way to display CPU temperature and Fan speed in Gkrellm ?
35 > Or any other way to display it on screen ? I have tried torsmo without
36 > any success. I get following error.
37 >
38 > torsmo: unknown variable adt746xcpu
39 > torsmo: unknown variable adt746xcpu
40 > torsmo: can't open '/sys/bus/i2c/devices/5-002e/temp2_input': No such
41 > file or directory
42 > Segmentation fault
43 >
44 > If anybody has torsmo correctly working then I would like see your
45 > .torsmorc file and any instructions on how to get it working
46 > correctly.
47 >
48 > Of course a gkrellm plugin would be great but I am not able to find one.
49 > Thanks
50 > praveen
51 > --
52 > http://pc.freeshell.org
53 >
54 > --
55 > gentoo-ppc-user@g.o mailing list
56 >
57
58 --
59 gentoo-ppc-user@g.o mailing list