iMac fans

8 respostas [Última entrada]
muhammed
Desconectado
Joined: 04/13/2013

I'm trying to use Trisquel 7 on a 2007-2008 iMac. It gets hot, and I don't think that the fans run to cool it down.

I ran the following instructions (thank you Legimet and Magic Bananna) in the terminal:

sudo modprobe applesmc coretemp

echo applesmc | sudo tee -a /etc/modules

echo coretemp | sudo tee -a /etc/modules

Can I check whether I did this properly? I still don't hear the fans running. The computer feels warm at the back (not as hot as before, but I have not left it on as long since I noticed that the fans don't work.

muhammed
Desconectado
Joined: 04/13/2013

After a 15-30 minutes, the iMac gets really hot. This is after I ran the first command again. The fans don't run unfortunately.

muhammed
Desconectado
Joined: 04/13/2013

I followed this guide:

https://ineed.coffee/3838/a-beginners-tutorial-for-mbpfan-under-ubuntu/

Unfortunately when I enter this command near the end:

sudo systemctl enable mbpfan.service

I get this message:

sudo: systemctl: command not found

Also, this command to get the cpu temperatures did not work for me, so I guessed at the min, high, and max temperatures:

sudo systemctl enable mbpfan.service

JadedCtrl
Desconectado
Joined: 08/11/2014

This is because Trisquel doesn't have systemd.
systemctl is a systemd command.

Try running it manually with "sudo start mbpfan"
If it works, try enabling it with Upstart (so it starts at boot) with "sudo cp mbpfan.upstart /etc/init/mbpfan.conf"

muhammed
Desconectado
Joined: 04/13/2013

Thank you!

Do you know of a Trisquel-compatible way of learning the cpu temperatures? Do you think it's okay for me to guess the min, high, and max cpu temperatures? I will guess conservatively to keep the computer cool.

I will try to set up the Mac again soon. Thanks again for your help!

lembas
Desconectado
Joined: 05/13/2010

> Do you know of a Trisquel-compatible way of learning the cpu temperatures?

Install the lm-sensors package and then run sudo sensors-detect to probe your sensors and then sensors to see the temperatures.

Note the disclaimer for sensors-detect:

WARNING
sensors-detect needs to access the hardware for most of the chip detections. By definition, it doesn't know which chips are there before it manages to identify them. This means that it can access chips in a way these chips do not like, causing problems ranging from SMBus lockup to permanent hardware damage (a rare case, thankfully.)

The authors made their best to make the detection as safe as possible, and it turns out to work just fine in most cases, however it is impossible to guarantee that sensors-detect will not lock or kill a specific system. So, as a rule of thumb, you should not run sensors-detect on production servers, and you should not run sensors-detect if can't afford replacing a random part of your system. Also, it is recommended to not force a detection step which would have been skipped by default, unless you know what you are doing.

SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

acpi -t

Zem Mattress
Desconectado
Joined: 05/08/2014

Just to be sure: have the fans been cleaned lately?

muhammed
Desconectado
Joined: 04/13/2013

My friend helped me replace the harddrive recently, and he used an electric blower while we had the computer opened up. There didn't seem to be much dust ... that seemed unusual for a 7 year old computer. I am pretty sure that it's clean now though; the electric blower was fairly strong.