LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2013, 01:12 PM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18
how to control notebook fan speed?


Hi all,

When I use Slackware on my laptop, the CPU fan is from right about 5 minutes of use onward, seemingly maxed out. On other OS's (Windows 7 or LinuxMint) I don't get this behavior.

I've ran
Code:
# sensors-detect
and it asked me to put in /etc/rc.d/rc.local the lines:
modprobe coretemp
/usr/bin/sensors -s

But it's still very noisy.

How can I work this out?
 
Old 04-13-2013, 01:17 PM   #2
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Any strange messages in dmesg?
 
Old 04-13-2013, 02:31 PM   #3
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99

Rep: Reputation: 23
The laptop model would also be useful to know. Sometimes particular models have strange parts that don't have drivers yet. <EDIT> And in the case of Mint, sometimes Canonical uses patches on the kernel that have not yet made it to the mainline kernel.</EDIT>

Last edited by jprzybylski; 04-13-2013 at 02:39 PM.
 
Old 04-13-2013, 09:35 PM   #4
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
If your laptop is thinkpad, you may try this:

http://sourceforge.net/projects/thinkfan/

It works really well.
 
1 members found this post helpful.
Old 04-14-2013, 05:31 PM   #5
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 176

Rep: Reputation: 28
Quote:
Originally Posted by ill323 View Post
If your laptop is thinkpad, you may try this:

http://sourceforge.net/projects/thinkfan/

It works really well.
I just tried it on my Thinkpad T60, because fan is always running (http://www.thinkwiki.org/wiki/Proble...ays-on_problem). Version 0.9_beta2 doesn't work at all
Code:
WARNING: Using default fan control in /proc/acpi/ibm/fan.

WARNING: Using default temperature inputs in /proc/acpi/ibm/thermal.
Segmentation fault
but 0.8.1 works and finally my fan stopped spinning. Thanks!

Is there some safe values table for thinkpads? Because I'm not sure if I have to worry about this warning:
Code:
WARNING: You're using simple temperature limits without correction values, and your fan will only start at 55 °C. This can be dangerous for your hard drive.
By the way, I also tried ThinkPad-Fan-Control and it lets you control the fan speed, although fan never stop spinning in automatic mode. So I'll stick with thinkfan.
 
Old 04-14-2013, 06:30 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On many laptops it is not possible to directly control the fanspeed. To help you we need more information:
- Manufacturer/model of the laptop
- Is the power-management of the CPU working correctly?
- In case of AMD/ATI or Nvidia graphics, are you using the free or the proprietary drivers?
- Have you measured the temperatures (since you already are using the lm_sensors package)?
 
Old 04-14-2013, 06:36 PM   #7
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
If this is a Toshiba L305D series, you may as well forget it. I had(ve) one and it constantly overheated from the fan not turning on. I searched everywhere for a way to control the fan, but evidently Toshiba has some really bad BIOS software.
 
Old 04-15-2013, 01:31 AM   #8
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
Quote:
Originally Posted by yenn View Post
but 0.8.1 works and finally my fan stopped spinning. Thanks!

Is there some safe values table for thinkpads? Because I'm not sure if I have to worry about this warning:
These warnings are harmless, but you should monitor your machine for some time to make sure that the config is safe.

Thinkfan 0.8.x added support for other laptop.
For thinkpad, 0.7.3 is enough.

My config is(thinkfan: 0.7.3; laptop: thinkpad R61i):

(0, 0, 45)
(1, 45, 55)
(7, 55, 32767)

R61i has only 2 levels(1/7)fan speed.
 
Old 04-15-2013, 01:38 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
probably you only need a vacuum cleaner and 10 minutes....
 
Old 04-15-2013, 06:25 AM   #10
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
Hi all,

I guess that when I posted this thread I was too tired and forgot to mention a few details.

@ottavio, I haven't searched for anything in dmesg, what kind of warning should I have in mind?

As @jprzybylski and @TobiSGD inquired, the laptop is a Dell Inspiron 15R Special Edition (7520).

Following up on @TobiSGD's questions:
It's almost a pristine installation. Today's Monday and I believe I have installed Slackware64-current last Wednesday night. Haven't touched any power-management settings.
The laptop has a hybrid graphics card (AMD Radeon HD 7730M and Intel 4000HD), but I couldn't install proprietary video drivers - it just wouldn't start X after the "aticonfig --initial -f" command to create a proper /etc/X11/xorg.conf file.
Nope, haven't measured the temperatures, but as far as I've noticed, this high spinning fan behaviour only happens on X. Yesterday I turned the laptop on runlevel 3 and I didn't fired up X and haven't noticed any fan high speed, so it might be related to the AMD video driver on X.

Also, @pan64's idea is worth a try!

Last edited by gtludwig; 04-15-2013 at 06:47 AM.
 
Old 04-15-2013, 08:07 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by gtludwig View Post
The laptop has a hybrid graphics card (AMD Radeon HD 7730M and Intel 4000HD), but I couldn't install proprietary video drivers - it just wouldn't start X after the "aticonfig --initial -f" command to create a proper /etc/X11/xorg.conf file.
Nope, haven't measured the temperatures, but as far as I've noticed, this high spinning fan behaviour only happens on X.
As you l know, hybrid graphics is supposedly a mean of adjusting power consumption to laptop's usage,

But that assume that you can disable the RADEON GPU when you don't need it.

Si I'd check if there is a way to switch it off, either with a physical switch, a BIOS setting or a user space command.

Last edited by Didier Spaier; 04-15-2013 at 08:08 AM.
 
Old 04-15-2013, 08:52 AM   #12
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
It would require a user space command of some sort, there's no physical switch and no BIOS setting to toggle the Radeon GPU.
 
Old 04-15-2013, 04:55 PM   #13
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99

Rep: Reputation: 23
Looking at a Ubuntu question here:

http://askubuntu.com/questions/19238...-inspiron-7520

The solution they gave was also to install AMD's catalyst drivers. However, they seem to require x86 support - have you installed multilib?

Also looking here:

https://www.linuxquestions.org/quest...3/#post4695040

TobiSGD suggested passing nomodeset to the kernel during boot (in that post). Does that help at all?

Also see if there are any solutions here:

http://docs.slackware.com/howtos:hardwareroprietary_graphics_drivers
 
Old 04-16-2013, 04:14 AM   #14
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by gtludwig View Post
Hi all,


@ottavio, I haven't searched for anything in dmesg, what kind of warning should I have in mind?
Grep something meaningful, like fan, sensors, error, warning, or just read it all.

Dmesg should be the first line of resolution when troubleshooting a Unix-like system.
 
Old 04-16-2013, 06:39 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Your problem most likely is caused by incomplete power-management in the free radeon driver, this driver defaults to the highest clockspeed and fan settings. You can try if manually setting a lower powersetting with
Code:
echo profile > /sys/class/drm/card0/device/power_method
echo low > /sys/class/drm/card0/device/power_profile
Since you have two videocards in that system it may be possible that you have to change card0 to card1 in those commands.
 
  


Reply

Tags
fan, temperature control



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
Cutting fan yellow wire to disable fan speed control Mr. Alex General 2 07-30-2011 05:48 PM
How to control cpu fan speed? no fan control with BIOS, acpi, lm-sensors startover Linux - Hardware 20 01-08-2011 03:18 AM
ACPI or lm-sensors fan control on Sony Vaio (fan runs at full speed) roanm Linux - Hardware 7 11-14-2009 07:37 PM
chassis fan speed control (case fan) wastingtime Linux - Hardware 12 12-02-2007 07:08 PM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration