LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   How to turn on (keep on) /off Laptop fan? (https://www.linuxquestions.org/questions/puppy-71/how-to-turn-on-keep-on-off-laptop-fan-609872/)

BadCam 12-29-2007 05:36 PM

How to turn on (keep on) /off Laptop fan?
 
I have a Kohjinsha SH8. Puppy runs very cool on this laptop, unlike Vista. However, I would like to know how I can turn the fan on. Perhaps a toggle? I can do this in Vista by keying Fn & F9. Any ideas would be welcome.

Thank you.

I'm running Puppy 3.01 and Puppy 3.01 wNOP with Compiz Fuzion.

Brian1 12-29-2007 06:51 PM

Look in /proc/acpi/fan. Is there anything there? If say a file called state then use this command and post output here. cat /proc/acpi/fan/state

If not it my not be controllable through the acpi interface.

Brian

BadCam 12-30-2007 06:55 PM

response to Brian1 re CAT command
 
Thanks Brian1.

After entering the command, the response I got was OFF. Just out of curiosity I tried FN + F9 (Function key + F9 - activates fan in Vista) and ran the command again. It responded with ON (I assume that the fan is now actually turned on - correct?). However, trying it again just gives a response of ON. No ability to toggle that way.

I see with this command that as a default (correct?) that the fan is set to OFF. I'm glad I know as I am concerned about frying the innards of my laptop.

Ideally, I'd really like puppy to monitor (and report) my laptops temperature and show me visually the temperature and whether or not the fan is running, as I can't tell if it's on, even when it is running, as the heat exhaust is non existent.

Can anyone help with this?

Brian1 01-01-2008 10:27 AM

Try this command as root to see if the state turns back to off.
echo -n 3 >/proc/acpi/fan/FAN/state

The value 3 my need to be 1 or 0. I think 0 may turn it on and other to turn off. If you can figure the correct number for on and off then post back and will help to with a possible script. In the mean time try this command to see if the temperture is monitored by acpi.
cat /proc/acpi/thermal_zone/TZ1/temperature
cat /proc/acpi/thermal_zone/TZ2/temperature

Now what is under /proc/acpi/thermal_zone/ can vary. Lets see if anything is present.

Brian


All times are GMT -5. The time now is 11:48 AM.