LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   What does KDE use for fan control? (http://www.linuxquestions.org/questions/slackware-14/what-does-kde-use-for-fan-control-4175447602/)

manwichmakesameal 01-28-2013 07:23 PM

What does KDE use for fan control?
 
Pretty much just what the title asks. I have a Toshiba L305D laptop and the fan does not turn on in any other DE. I'm trying to figure out how KDE does it due to Toshiba's being particularly nasty when it comes to acpi stuff. The other 2 DE's that I've used are Xfce and e17.

Code:

ls /proc/acpi/
ac_adapter/  battery/  button/  event  toshiba/  wakeup

Code:

ls /proc/acpi/toshiba/
keys  lcd  version


willysr 01-28-2013 07:34 PM

please paste your lsmod result

manwichmakesameal 01-28-2013 07:43 PM

Code:

lsmod
Module                  Size  Used by
pci_stub                961  1
vboxpci                15028  0
vboxnetadp            19239  0
vboxnetflt            16627  0
vboxdrv              221978  3 vboxnetflt,vboxnetadp,vboxpci
snd_seq_dummy          1119  0
snd_seq_oss            24956  0
snd_seq_midi_event      4568  1 snd_seq_oss
snd_seq                41599  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device          4276  3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            33254  0
snd_mixer_oss          12984  1 snd_pcm_oss
ipv6                  238549  28
cpufreq_ondemand        5272  2
speedstep_lib          2567  0
powernow_k8            11591  0
mperf                    923  1 powernow_k8
freq_table              2103  2 powernow_k8,cpufreq_ondemand
lp                      7119  0
ppdev                  4710  0
parport_pc            16755  0
parport                26159  3 parport_pc,ppdev,lp
fuse                  58282  5
uvcvideo              55700  0
videodev              66999  1 uvcvideo
joydev                  7668  0
toshiba_acpi            9598  0
sparse_keymap          2492  1 toshiba_acpi
snd_hda_codec_realtek  150654  1
radeon                695748  3
ohci_hcd              20884  0
ttm                    45384  1 radeon
drm_kms_helper        22825  1 radeon
drm                  151850  5 drm_kms_helper,ttm,radeon
rt2800pci              7692  0
rt2800lib              36284  1 rt2800pci
rt2x00pci              4183  1 rt2800pci
rt2x00lib              31207  3 rt2x00pci,rt2800lib,rt2800pci
agpgart                22087  2 drm,ttm
eeprom_93cx6            1004  1 rt2800pci
ssb                    41404  1 ohci_hcd
snd_hda_intel          19503  2
snd_hda_codec          70505  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep              4802  1 snd_hda_codec
snd_pcm                59013  3 snd_hda_codec,snd_hda_intel,snd_pcm_oss
snd_page_alloc          5925  2 snd_pcm,snd_hda_intel
snd_timer              14798  2 snd_pcm,snd_seq
i2c_algo_bit            4543  1 radeon
video                  9938  0
processor              23020  1 powernow_k8
fan                    1894  0
thermal                6587  0
mmc_core              69202  1 ssb
mac80211              202703  3 rt2x00lib,rt2x00pci,rt2800lib
cfg80211              145277  2 mac80211,rt2x00lib
rfkill                12432  4 cfg80211,toshiba_acpi
r8169                  42347  0
pcmcia                31533  1 ssb
thermal_sys            12122  4 thermal,fan,processor,video
snd                    43657  15 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_mixer_oss,snd_pcm_oss,snd_seq_device,snd_seq,snd_seq_oss
crc_ccitt              1087  1 rt2800lib
mii                    3335  1 r8169
shpchp                22649  0
psmouse                54408  0
battery                9119  0
button                  3665  0
ac                      2563  0
soundcore              4570  1 snd
k10temp                2131  0
hwmon                  1033  3 k10temp,thermal_sys,radeon
sp5100_tco              3912  0
i2c_piix4              7236  0
i2c_core              16454  6 i2c_piix4,i2c_algo_bit,drm,drm_kms_helper,radeon,videodev
pcmcia_core            10137  1 pcmcia
serio_raw              3349  0
evdev                  7314  8
loop                  14650  0
ext4                  375441  2
jbd2                  57000  1 ext4
mbcache                4209  1 ext4
usbhid                31118  0
hid                    65824  1 usbhid
ehci_hcd              36304  0
ums_realtek            6148  0
usb_storage            35258  1 ums_realtek


willysr 01-28-2013 08:26 PM

it seems that fan and thermal has been loaded, so it shouldn't get too hot and the fan should have been turned on

manwichmakesameal 01-28-2013 09:57 PM

Quote:

Originally Posted by willysr (Post 4879448)
it seems that fan and thermal has been loaded, so it shouldn't get too hot and the fan should have been turned on

Yeah, one would think that but these are also loaded during using other DE's. Somehow KDE has access or knows how to access something that is turning on the fan.

perbh 01-29-2013 11:37 AM

Hmmm - I didn't know kde had that many fans - me, I prefer xfce ... ;-)
(sorry guys, just couldn't help myself)

jamesf 01-29-2013 12:08 PM

Something else to compare between the DEs is load. KDE uses more resources on my older laptop(s): CPU, memory, disk I/O, etc. As a result of running more the machine(s) run a bit hotter and the fans turn on more.

So, try running top, htop, or gkrellm for a while in each DE and watch running processes, CPU idle time, disk I/O, and others. Get a feel for the load the DE puts on the box.

That's what I did and as a result I run the other DEs. ;vD

manwichmakesameal 01-29-2013 06:57 PM

Oh, KDE definitely taxes my system more than any other DE. Even with the fans going, my laptop still overheated and shutdown. I'm trying to figure out how KDE manages to turn the fans on, so I can have them on on a lighter DE like E17. For now, I have to hope my fans kick on during the LILO screen, then hit enter so they stay on.

astrogeek 01-29-2013 09:59 PM

Quote:

Originally Posted by jamesf (Post 4879986)
Something else to compare between the DEs is load.

Not to press the point, but I think that what jamesf was saying was that maybe the other DEs do not tax the system enough for the fans to "kick in", or to run at higher speed.

I have read your post and response several times but am not convinced whether that might be the case or not. Are you certain that the fan is not running in the other DEs, or is it possible that they are actually idling at a lower rate whereas KDE causes them to speed up?

FWIW - I am writing from a Toshiba of similar vintage (but single core intel). I use Fluxbox and do quite a bit of high load database work on it, frequently seeing 90-100% CPU load, and rarely does the fan actually throttle up so that I am aware of it. I have had occasional overheating when the heatsink fins become clogged with dust, but a simple blowout takes care of it.

manwichmakesameal 01-29-2013 10:22 PM

Well, one way that I've tested this under load is by compiling large applications. If I try to compile something like clementine, the fans never kick on under E17 or XFCE. My machine just shuts off, no warning.

astrogeek 01-29-2013 10:26 PM

Quote:

Originally Posted by manwichmakesameal (Post 4880364)
Well, one way that I've tested this under load is by compiling large applications. If I try to compile something like clementine, the fans never kick on under E17 or XFCE. My machine just shuts off, no warning.

Ahhh! OK, I thought that you meant it shut off in KDE because you said "even with the fans going..." - but this makes it kind of certain in E17 and XFCE... thanks.

EDIT, can you also confirm that the heatsink fins are not clogged with dust? /EDIT

manwichmakesameal 01-30-2013 11:43 AM

Yeah, they're clean. Took the laptop apart and cleaned it.


All times are GMT -5. The time now is 07:37 PM.