Re: Asus M5A88-M motherboard, "no pwm-capable sensor modules"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Jean. Is it OK to continue this conversation out in the open, i.e. on
the mailing list?

Executive summary: you are right about my kernel being too old, and in
addition I have a driver conflict
(http://hansdegoede.livejournal.com/7932.html) that comes up with a 3.x
kernel. 
Since I want to stay with Centos and 2.6.32, is there anything I can do?

Details:

My kernel is 2.6.32, not quite the 2.6.37 you mention, but I do have k10temp
and it67 drivers:

/lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/hwmon/it87.ko
/lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/hwmon/k10temp.ko

I downloaded the elrepo version of the two modules. Hard to say how they
differ from my installed version; find modinfo output for it87 further
below.

Also, the sensors output (also below) looks sensible, with the exception of
the 16.8 degrees value, which is less than the ambient temperature. It seems
that monitoring works and it's just fan control that doesn't. 

Next, I tested this with a LiveCD that uses a 3.9 kernel (Debian-based
Kanotix, in case you wonder). By default, I am not able to modprobe it87
because the BIOS ACPI code and it87 access the same hardware device (see
http://hansdegoede.livejournal.com/7932.html). After booting with
acpi_enforce_resources=lax, I can insert the it87 module, and now pwmconfig
does detect a controllable fan. So, I could make it to work if I moved to a
newer kernel, but this is not an option for me, as I need to stay with
Centos/Redhat. Is there anything I can do, perhaps trying to port the newest
it87 driver to my kernel (would be a steep learning curve)?

Cheers,

Bernd

========================  sensors output  =======================
$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +16.8°C  (high = +70.0°C, crit = +70.0°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:     117.23 W

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:     +0.95 V  (min =  +0.80 V, max =  +1.60 V)
+3.3V Voltage:     +3.26 V  (min =  +2.97 V, max =  +3.63 V)
+5V Voltage:       +4.96 V  (min =  +4.50 V, max =  +5.50 V)
+12V Voltage:     +12.13 V  (min = +10.20 V, max = +13.80 V)
CPU Fan Speed:    2002 RPM  (min =  600 RPM)
Chassis Fan Speed:1506 RPM  (min =  600 RPM)
CPU Temperature:   +33.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:    +34.0°C  (high = +45.0°C, crit = +75.0°C)

========================  modinfo output  =======================

$ modinfo it87.ko  # this is the one from elrepo
filename:       it87.ko
license:        GPL
description:    IT8705F/IT871xF/IT872xF hardware monitoring driver
author:         Chris Gauthron, Jean Delvare <khali@xxxxxxxxxxxx>
srcversion:     883CCDF9B8356FBE80D52EE
depends:        hwmon-vid
vermagic:       2.6.32-358.el6.x86_64 SMP mod_unload modversions
parm:           force_id:Override the detected device ID (ushort)
parm:           update_vbat:Update vbat if set else return powerup value
(bool)
parm:           fix_pwm_polarity:Force PWM polarity to active high
(DANGEROUS) (bool)

$ modinfo /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/hwmon/it87.ko
filename:
/lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/hwmon/it87.ko
license:        GPL
description:    IT8705F/8712F/8716F/8718F/8720F/8726F, SiS950 driver
author:         Chris Gauthron, Jean Delvare <khali@xxxxxxxxxxxx>
srcversion:     839FF779560750484F6FA04
depends:        hwmon-vid
vermagic:       2.6.32-431.el6.x86_64 SMP mod_unload modversions
parm:           force_id:Override the detected device ID (ushort)
parm:           update_vbat:Update vbat if set else return powerup value
(bool)
parm:           fix_pwm_polarity:Force PWM polarity to active high
(DANGEROUS) (bool)


-----Original Message-----
From: Jean Delvare [mailto:jdelvare@xxxxxxx] 
Sent: Monday, April 14, 2014 4:21 PM
To: Bernd Bausch
Cc: lm-sensors@xxxxxxxxxxxxxx; Phil Perry
Subject: Re:  Asus M5A88-M motherboard, "no pwm-capable sensor
modules"

Hi Bernd,

On Mon, 14 Apr 2014 12:17:41 +0900, Bernd Bausch wrote:
> I would like to run my PC as silently under Linux as I can under 
> Windows. Unfortunately I am pretty ignorant about hardware monitoring 
> and control.
> 
> Asus provides a fan control utility that allows me to throttle the CPU 
> fan (not the case fan unfortunately), but I have been unable to do the 
> same using lm_sensors. pwmconfig reports that there are no pwm-capable 
> sensors.
> 
> So I wonder, does pwmconfig tell the truth? If yes, how can the CPU 
> fan be controlled (it obviously can)? What are my options apart from 
> leaving things as they are?

What does "sensors" say? Before you go with fan control, you must ensure
that hardware monitoring itself is properly setup.

> This is on Centos 6.5 with an unchanged kernel (2.6.32-431, 64 bit). I 
> use the standard lm_sensors packages but the newest version of 
> sensors-detect. I also tried the newest version of pwmconfig.
> sensors-detect and pwmconfig output below.
> 
> Thanks for listening, and more thanks for replying :)
> 
> Bernd
> 
> --------------------------------------------
> 
> sudo /tmp/sensors-detect
> Stopping lm_sensors:                                       [  OK  ]
> # sensors-detect revision 6243 (2014-03-20 11:23:35 +0100) # Board: 
> ASUSTeK Computer INC. M5A88-M
> (...)
> Now follows a summary of the probes I have just done.
> Just press ENTER to continue:
> 
> Driver `it87':
>   * ISA bus, address 0x290
>     Chip `ITE IT8721F/IT8758E Super IO Sensors' (confidence: 9)

Support for this chip was added in kernel 2.6.37.

> Driver `fam15h_power' (autoloaded):
>   * Chip `AMD Family 15h power sensors' (confidence: 9)
> 
> Driver `k10temp' (autoloaded):
>   * Chip `AMD Family 15h thermal sensors' (confidence: 9)

Support was added in kernel 3.0.

I'm afraid your kernel is simply too old for your hardware, unless Centos
backported support for newer hwmon devices.

Actually for Centos you may be lucky and be able to use Phil Perry's kmods.
Check out at:
  http://elrepo.org/tiki/Packages#K

I see kmod-k10temp and kmod-it87, which are what your board needs. Give it a
try. I've added Phil in Cc, hopefully he can drive from here if things don't
work out of the box.

Thanks,
--
Jean Delvare
SUSE L3 Support


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux