Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: PPC-User

Temperature and Fan speed display for iBook G4

 

 

Gentoo ppc-user RSS feed   Index | Next | Previous | View Threaded


cpraveen at gmail

May 20, 2005, 4:11 AM

Post #1 of 2 (467 views)
Permalink
Temperature and Fan speed display for iBook G4

Is there any way to display CPU temperature and Fan speed in Gkrellm ?
Or any other way to display it on screen ? I have tried torsmo without
any success. I get following error.

torsmo: unknown variable adt746xcpu
torsmo: unknown variable adt746xcpu
torsmo: can't open '/sys/bus/i2c/devices/5-002e/temp2_input': No such
file or directory
Segmentation fault

If anybody has torsmo correctly working then I would like see your
.torsmorc file and any instructions on how to get it working
correctly.

Of course a gkrellm plugin would be great but I am not able to find one.
Thanks
praveen
--
http://pc.freeshell.org

--
gentoo-ppc-user [at] gentoo mailing list


toriet at sindominio

May 20, 2005, 5:14 AM

Post #2 of 2 (433 views)
Permalink
Re: Temperature and Fan speed display for iBook G4 [In reply to]

hi!

I don't use torsmo, I use this script:

echo
echo "############# CPU ############"
echo -n "Temp CPU : "
cat /sys/devices/temperatures/cpu_temperature
echo -n "Fan speed : "
cat /sys/devices/temperatures/cpu_fan_speed
echo -n "Temp limit: "
cat /sys/devices/temperatures/cpu_limit
echo -n "Freq CPU : "
cat /proc/cpuinfo | grep ^clock | cut -d":" -f2
echo
echo "############# GPU ############"
echo -n "Temp GPU : "
cat /sys/devices/temperatures/gpu_temperature
echo -n "Temp limit: "
cat /sys/devices/temperatures/gpu_limit
echo
echo "############# HD #############"
echo -n "Hard disk:"
sudo /usr/sbin/hddtemp /dev/hda |grep /dev/hda: |cut -d":" -f2
echo -n "Temp HD : "
sudo /usr/sbin/hddtemp /dev/hda |grep /dev/hda: |cut -d" " -f4
echo

bye,
toriet.

-- El vie, may 20, 2005 at 04:41:47 +0530, Praveen C va dir:

> Is there any way to display CPU temperature and Fan speed in Gkrellm ?
> Or any other way to display it on screen ? I have tried torsmo without
> any success. I get following error.
>
> torsmo: unknown variable adt746xcpu
> torsmo: unknown variable adt746xcpu
> torsmo: can't open '/sys/bus/i2c/devices/5-002e/temp2_input': No such
> file or directory
> Segmentation fault
>
> If anybody has torsmo correctly working then I would like see your
> .torsmorc file and any instructions on how to get it working
> correctly.
>
> Of course a gkrellm plugin would be great but I am not able to find one.
> Thanks
> praveen
> --
> http://pc.freeshell.org
>
> --
> gentoo-ppc-user [at] gentoo mailing list
>

--
gentoo-ppc-user [at] gentoo mailing list

Gentoo ppc-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.