public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] fan control
@ 2012-03-10 20:28 Mansour Al Akeel
  2012-03-11  0:37 ` Florian Philipp
  0 siblings, 1 reply; 3+ messages in thread
From: Mansour Al Akeel @ 2012-03-10 20:28 UTC (permalink / raw
  To: gentoo-amd64

My laptop started getting hot recently. There is no dust issue. The
fan just doesn't seem to start at all.
I tried to use lm_sensors and sensor-detect, but it's not detecting
any sensors. I tried to recompile the kernel, enabling
all the sensors but no luck. using acpi woks in reporting some values:

acpi -V
Adapter 0: on-line
Thermal 0: ok, 58.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 103.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 105.0 degrees C
Cooling 0: LCD 0 of 10
Cooling 1: Processor 0 of 7
Cooling 2: Processor 0 of 7
Cooling 3: Processor 0 of 7
Cooling 4: Processor 0 of 7

 lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI
Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced
Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition
Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root
Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root
Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root
Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root
Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced
Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA
AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
03:00.0 USB Controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04)
04:00.0 Ethernet controller: Attansic Technology Corp. AR8151 v2.0
Gigabit Ethernet (rev c0)

Linux localhost 3.1.10-gentoo-r1asus #1 SMP PREEMPT Sat Mar 3 04:46:53
EST 2012 x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel
GNU/Linux

laptop is Asus U46E.
I am not very familiar with the kernel config related to thermal, so I
don't know exactly what other info I need to provide. If I am missing
something, please ask.

lsmod
Module                  Size  Used by
snd_seq_oss            30140  0
snd_seq_midi_event      5180  1 snd_seq_oss
snd_seq                51076  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          5109  2 snd_seq_oss,snd_seq
snd_pcm_oss            41686  0
snd_mixer_oss          14706  1 snd_pcm_oss
cryptd                  7437  0
aes_x86_64              7348  2
snd_hda_codec_hdmi     24224  1
uvcvideo               60957  0
snd_hda_codec_realtek   305650  1
aes_generic            25946  1 aes_x86_64
videodev               80368  1 uvcvideo
v4l2_compat_ioctl32     7844  1 videodev
ecb                     1881  1
btusb                  10681  0
bluetooth             140491  1 btusb
snd_hda_intel          23990  0
arc4                    1282  2
i915                  363756  3
drm_kms_helper         24196  1 i915
ehci_hcd               38628  0
snd_hda_codec          80497  3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
drm                   168771  4 i915,drm_kms_helper
i2c_i801                8470  0
i2c_algo_bit            6472  1 i915
iwlagn                274384  0
usbcore               123848  3 uvcvideo,btusb,ehci_hcd
snd_hwdep               6014  1 snd_hda_codec
snd_pcm                69577  4
snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
intel_agp              10616  1 i915
processor              27833  4
video                  11367  1 i915
intel_gtt              14153  3 i915,intel_agp
backlight               4216  1 video
wmi                     8091  0
snd_timer              18721  2 snd_seq,snd_pcm
battery                 6165  0
thermal                 8514  0
button                  4271  1 i915
ac                      2248  0
agpgart                25680  3 drm,intel_agp,intel_gtt
mac80211              184435  1 iwlagn
snd                    57535  12
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
psmouse                54209  0
atl1c                  31135  0
cfg80211              159080  2 iwlagn,mac80211
soundcore               5329  1 snd
sg                     26740  0
snd_page_alloc          6577  2 snd_hda_intel,snd_pcm



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-amd64] fan control
  2012-03-10 20:28 [gentoo-amd64] fan control Mansour Al Akeel
@ 2012-03-11  0:37 ` Florian Philipp
  2012-03-11  2:07   ` Mansour Al Akeel
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Philipp @ 2012-03-11  0:37 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 5450 bytes --]

Am 10.03.2012 21:28, schrieb Mansour Al Akeel:
> My laptop started getting hot recently. There is no dust issue. The
> fan just doesn't seem to start at all.
> I tried to use lm_sensors and sensor-detect, but it's not detecting
> any sensors. I tried to recompile the kernel, enabling
> all the sensors but no luck. using acpi woks in reporting some values:
> 
> acpi -V
> Adapter 0: on-line
> Thermal 0: ok, 58.0 degrees C
> Thermal 0: trip point 0 switches to mode critical at temperature 103.0 degrees C
> Thermal 0: trip point 1 switches to mode passive at temperature 105.0 degrees C
> Cooling 0: LCD 0 of 10
> Cooling 1: Processor 0 of 7
> Cooling 2: Processor 0 of 7
> Cooling 3: Processor 0 of 7
> Cooling 4: Processor 0 of 7
> 
>  lspci
> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
> Family DRAM Controller (rev 09)
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
> Core Processor Family Integrated Graphics Controller (rev 09)
> 00:16.0 Communication controller: Intel Corporation Cougar Point HECI
> Controller #1 (rev 04)
> 00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced
> Host Controller #2 (rev 05)
> 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition
> Audio Controller (rev 05)
> 00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root
> Port 1 (rev b5)
> 00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root
> Port 2 (rev b5)
> 00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root
> Port 4 (rev b5)
> 00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root
> Port 6 (rev b5)
> 00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced
> Host Controller #1 (rev 05)
> 00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC
> Controller (rev 05)
> 00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA
> AHCI Controller (rev 05)
> 00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
> 02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
> 03:00.0 USB Controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04)
> 04:00.0 Ethernet controller: Attansic Technology Corp. AR8151 v2.0
> Gigabit Ethernet (rev c0)
> 
> Linux localhost 3.1.10-gentoo-r1asus #1 SMP PREEMPT Sat Mar 3 04:46:53
> EST 2012 x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel
> GNU/Linux
> 
> laptop is Asus U46E.
> I am not very familiar with the kernel config related to thermal, so I
> don't know exactly what other info I need to provide. If I am missing
> something, please ask.
> 
> lsmod
> Module                  Size  Used by
> snd_seq_oss            30140  0
> snd_seq_midi_event      5180  1 snd_seq_oss
> snd_seq                51076  4 snd_seq_oss,snd_seq_midi_event
> snd_seq_device          5109  2 snd_seq_oss,snd_seq
> snd_pcm_oss            41686  0
> snd_mixer_oss          14706  1 snd_pcm_oss
> cryptd                  7437  0
> aes_x86_64              7348  2
> snd_hda_codec_hdmi     24224  1
> uvcvideo               60957  0
> snd_hda_codec_realtek   305650  1
> aes_generic            25946  1 aes_x86_64
> videodev               80368  1 uvcvideo
> v4l2_compat_ioctl32     7844  1 videodev
> ecb                     1881  1
> btusb                  10681  0
> bluetooth             140491  1 btusb
> snd_hda_intel          23990  0
> arc4                    1282  2
> i915                  363756  3
> drm_kms_helper         24196  1 i915
> ehci_hcd               38628  0
> snd_hda_codec          80497  3
> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
> drm                   168771  4 i915,drm_kms_helper
> i2c_i801                8470  0
> i2c_algo_bit            6472  1 i915
> iwlagn                274384  0
> usbcore               123848  3 uvcvideo,btusb,ehci_hcd
> snd_hwdep               6014  1 snd_hda_codec
> snd_pcm                69577  4
> snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
> intel_agp              10616  1 i915
> processor              27833  4
> video                  11367  1 i915
> intel_gtt              14153  3 i915,intel_agp
> backlight               4216  1 video
> wmi                     8091  0
> snd_timer              18721  2 snd_seq,snd_pcm
> battery                 6165  0
> thermal                 8514  0
> button                  4271  1 i915
> ac                      2248  0
> agpgart                25680  3 drm,intel_agp,intel_gtt
> mac80211              184435  1 iwlagn
> snd                    57535  12
> snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
> psmouse                54209  0
> atl1c                  31135  0
> cfg80211              159080  2 iwlagn,mac80211
> soundcore               5329  1 snd
> sg                     26740  0
> snd_page_alloc          6577  2 snd_hda_intel,snd_pcm
> 

I'm missing acpi-cpufreq in your module list. Is
CONFIG_X86_ACPI_CPUFREQ enabled? What CPU frequency governor is enabled
(`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`)?

By the way, 58°C is not particularly hot. Of course, it depends on where
it is measured. For measuring it, check that you have
CONFIG_SENSORS_CORETEMP enabled.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-amd64] fan control
  2012-03-11  0:37 ` Florian Philipp
@ 2012-03-11  2:07   ` Mansour Al Akeel
  0 siblings, 0 replies; 3+ messages in thread
From: Mansour Al Akeel @ 2012-03-11  2:07 UTC (permalink / raw
  To: gentoo-amd64

On Sun Mar 11,2012 01:37 am, Florian Philipp wrote:
> 
> I'm missing acpi-cpufreq in your module list. Is
> CONFIG_X86_ACPI_CPUFREQ enabled? What CPU frequency governor is enabled
> (`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`)?
> 
> By the way, 58?C is not particularly hot. Of course, it depends on where
> it is measured. For measuring it, check that you have
> CONFIG_SENSORS_CORETEMP enabled.


Thank you Florian.
I just upgraded for 3.2.1 kernel. I have enabled few modules:

Under drivers/hwmon:
    acpi_power_meter.ko
    asb100.ko
    asus_atk0110.ko
    atxp1.ko
    coretemp.ko
    hwmon-vid.ko

Under drivers/acpi:
    ac.ko
    battery.ko
    button.ko
    container.ko
    fan.ko
    processor.ko
    thermal.ko
    video.ko


I loaded them all for now, and still /proc/acpi/fan is not there. sensor-detect generated the following file (comments removed):

============================================================
# Load modules at startup
LOADMODULES=yes

# Initialize sensors at startup
INITSENSORS=yes

HWMON_MODULES="coretemp"

# You should use BUS_MODULES and HWMON_MODULES instead if possible.

MODULE_0=coretemp
============================================================

The loaded models (sorted):

Module                  Size  Used by
ac                      3081  0 
acpi_power_meter        8042  0 
aes_generic            26002  1 aes_x86_64
aes_x86_64              7340  1 
arc4                    1274  2 
asb100                 11196  0 
asus_atk0110            7142  0 
atxp1                   3120  0 
backlight               3744  1 video
battery                10723  0 
button                  4247  1 i915
cfg80211              140836  2 iwlwifi,mac80211
container               2293  0 
coretemp                5118  0 
dm_mod                 57890  0 
drm                   154194  3 i915,drm_kms_helper
drm_kms_helper         21576  1 i915
ehci_hcd               32610  0 
fan                     2274  0 
genrtc                  3463  0 
hwmon_vid               2004  2 atxp1,asb100
i2c_algo_bit            4448  1 i915
i2c_core               16207  7 i915,drm_kms_helper,drm,i2c_algo_bit,atxp1,asb100,i2c_i801
i2c_i801                7262  0 
i915                  299348  2 
intel_agp              10320  1 i915
intel_gtt              11801  3 i915,intel_agp
iwlwifi               164481  0 
joydev                  8615  0 
mac80211              160533  1 iwlwifi
pcspkr                  1699  0 
processor              18963  0 
rfkill                 13268  1 cfg80211
sg                     21044  0 
snd                    47299  7 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_hda_codec          57215  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hda_codec_hdmi     21200  1 
snd_hda_codec_realtek   181014  1 
snd_hda_intel          19808  0 
snd_hwdep               5046  1 snd_hda_codec
snd_page_alloc          5977  2 snd_hda_intel,snd_pcm
snd_pcm                56377  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              15481  1 snd_pcm
thermal                 7658  0 
usb_common               850  1 usbcore
usbcore               121446  2 ehci_hcd
video                  10959  1 i915


As you can see, coretemp is loaded.
I read on some forums that you can manually control the fan speed.

I will start some extensive process, to see if the fan will kick. 



> 
> Regards,
> Florian Philipp
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-11  3:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-10 20:28 [gentoo-amd64] fan control Mansour Al Akeel
2012-03-11  0:37 ` Florian Philipp
2012-03-11  2:07   ` Mansour Al Akeel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox