LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 10-08-2003, 12:02 PM   #1
tactor
LQ Newbie
 
Registered: Aug 2003
Location: Italy
Distribution: Mandrake 10.0
Posts: 10

Rep: Reputation: 0
mdk 9.1, ACPI, fan speed problem


Hi, I'm running Mandrake Linux 9.1 on a laptop (Comex, an italian brand). In order to let power management control work, I had to recompile the kernel (2.4.21-0.25mdk) and now everything is controlled by ACPI.
It works fine, because the system shuts down automatically, with no need to press the button and the battery indicator shows the right values.
I only have a little problem with the fan: looks like the systems starts to control the fan speed only if the CPU has reached a certain temperature, before that the fan goes at full speed. In fact, if I use 100% of the CPU for a while and it gets hot enough, the fan slows down, and then starts to work correctly, increasing and decreasing the speed at need, without going at full speed uselessy anymore.
Can anybody explain me why this happens and if there's a way to tell the system to manage the fan speed since boot?

These are the /var/log/messages lines that concern ACPI:

kernel: ACPI: RSDP (v000 PTLTD ) @ 0x000f6b30
kernel: ACPI: RSDT (v001 PTLTD RSDT 01540.00000) @ 0x0defa08c
kernel: ACPI: FADT (v001 SiS 645 01540.00000) @ 0x0defef64
kernel: ACPI: BOOT (v001 PTLTD $SBFTBL$ 01540.00000) @ 0x0defefd8
kernel: ACPI: DSDT (v001 PTLTD 635 01540.00000) @ 0x00000000
kernel: ACPI: BIOS passes blacklist
kernel: ACPI: Subsystem revision 20030122
kernel: ACPI: Interpreter enabled
kernel: ACPI: Using PIC for interrupt routing
kernel: ACPI: System [ACPI] (supports S0 S1 S4 S5)
kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs *9 10)
kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs *5)
kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs *5)
kernel: ACPI: Power Resource [PFAN] (off)
kernel: ACPI: AC Adapter [ACAD] (on-line)
kernel: ACPI: Battery Slot [BAT0] (battery present)
kernel: ACPI: Power Button (FF) [PWRF]
kernel: ACPI: Lid Switch [LID]
kernel: ACPI: Fan [FAN] (on)
kernel: ACPI: Processor [CPU0] (supports C1, 4 throttling states)
kernel: ACPI: Thermal Zone [THRM] (26 C)

Thanks in anticipation.
Bye!
Enrico
 
Old 10-08-2003, 01:18 PM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
do a cat /proc/acpi/fan ...use tab completion to see if there are any files that will give you some insight... example,

cat /proc/acpi/fan/state
 
Old 10-09-2003, 09:17 AM   #3
tactor
LQ Newbie
 
Registered: Aug 2003
Location: Italy
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
cat /proc/acpi/fan/FAN/state
status: on

nothing else... it's the only file I found there.
 
Old 10-09-2003, 12:36 PM   #4
tactor
LQ Newbie
 
Registered: Aug 2003
Location: Italy
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
I've discovered that the system starts to manage the fan speed when the CPU reaches the temperature of 45 C.
That temperature is set in the /proc/acpi/thermal_zone/THRM/trip_points file.
If I could set a lower temperature, probably the system would manage the fan speed since boot, but I can't edit that file, because I'm not allowed to save it, even if I'm root...

Thanks Lupin, because you told me where to look.
 
Old 10-09-2003, 12:50 PM   #5
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
You should check out /etc/acpi b/c you can't edit the /proc filesystem.

You may be able to define your temperature there under "actions" or "events".... though, I think it's ok for the fan to not always be on if that's what you're saying... my acpi is set up to keep the cpu around 49C... fan speeds vary depending on amount of cpu usage. It doesn't come on until several minutes after boot... and the acpi events keep it from coming on high powered when on battery power.

See if this site helps any... it is for RH 9 but the acpi section is distro independent:

http://ltswww.epfl.ch/~dsanta/resour...ll-i8500-linux

the acpi events work well for me!

Last edited by lupin_the_3rd; 10-09-2003 at 12:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI Problem? - Fan Noise das111 Linux - Newbie 2 06-28-2005 10:56 AM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 03:18 AM
acpi fan module PiLgRiM Suse/Novell 3 11-17-2004 01:41 PM
fan control in acpi chunlee Linux - Newbie 0 11-16-2004 07:41 AM
acpi power off, mdk 9.2 problem or kernel problem? sirpelidor Mandriva 1 01-16-2004 12:33 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration