Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
updated to 2.6.32-r7, no more fan pwm control
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Sun Apr 11, 2010 8:27 pm    Post subject: updated to 2.6.32-r7, no more fan pwm control Reply with quote

Hi.

just updated to 2.6.32-r7 and now I can't set pwm for fans:
Code:
# pwmconfig
...
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed


there's no *pwm* files in /sys/class/hwmon:
Code:
# find /sys/class/hwmon | grep -i pwm
#


I changed the hardware monitor driver from w83627ehf (with kernel 2.6.28 ) to asus_atk0110, as suggested by lm_sensors and in posts readed in some forums. My motherboard is Asus P5LD2.
temp sensors and fan speed reading work well.

hate when things stop working :evil: ... what can I do?
thank you.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Mon Apr 12, 2010 2:58 am    Post subject: Reply with quote

You are probably running into the problem described here.
Back to top
View user's profile Send private message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Wed Apr 14, 2010 7:14 pm    Post subject: Reply with quote

I made exactly what is written there. Then I gave a brief look at the sources of the asus_atk0110 driver, and it seems to me that till now it doesn't support fan speed control.

I added the acpi_enforce_resources=lax option to the kernel boot line and loaded the old w83627ehf driver, and this works. That page states doing this is dangerous...

Now it is time to struggle to have my bluetooth back with this new kernel. ufffff....
Back to top
View user's profile Send private message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Fri Apr 16, 2010 5:37 pm    Post subject: Reply with quote

no... I was wrong. As described in the previous post, now I have the pwm files:

Code:
# find /sys/devices/platform/w83627ehf.656/ -name "pwm*"
/sys/devices/platform/w83627ehf.656/pwm1_stop_time
/sys/devices/platform/w83627ehf.656/pwm2_stop_time
/sys/devices/platform/w83627ehf.656/pwm3_stop_time
/sys/devices/platform/w83627ehf.656/pwm1_min_output
/sys/devices/platform/w83627ehf.656/pwm2_min_output
/sys/devices/platform/w83627ehf.656/pwm3_min_output
/sys/devices/platform/w83627ehf.656/pwm1
/sys/devices/platform/w83627ehf.656/pwm1_mode
/sys/devices/platform/w83627ehf.656/pwm1_enable
/sys/devices/platform/w83627ehf.656/pwm1_target
/sys/devices/platform/w83627ehf.656/pwm1_tolerance
/sys/devices/platform/w83627ehf.656/pwm2
/sys/devices/platform/w83627ehf.656/pwm2_mode
/sys/devices/platform/w83627ehf.656/pwm2_enable
/sys/devices/platform/w83627ehf.656/pwm2_target
/sys/devices/platform/w83627ehf.656/pwm2_tolerance
/sys/devices/platform/w83627ehf.656/pwm3
/sys/devices/platform/w83627ehf.656/pwm3_mode
/sys/devices/platform/w83627ehf.656/pwm3_enable
/sys/devices/platform/w83627ehf.656/pwm3_target
/sys/devices/platform/w83627ehf.656/pwm3_tolerance

the fan speed sensor works:
Code:
# cat /sys/devices/platform/w83627ehf.656/fan2_input
629

but I can't modify the speed:
Code:
# echo 100 > /sys/devices/platform/w83627ehf.656/pwm2
homer ~ # cat /sys/devices/platform/w83627ehf.656/pwm2
75


:cry: help!
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Apr 17, 2010 11:00 pm    Post subject: Reply with quote

Funny thing, I just updated to the gentoo-sources-2.6.32-r3 and I ran into this same problem. I added the acpi_enforce_resources=lax kernel parameter and the fan control seemed to just work. I've got an ASUS M4A78 PLUS motherboard.

When I was checking to make sure the fan control was working I remembered that I have to turn off the fancontrol service in order to be able to manually control the fans with the echo command. Did you turn off the fancontrol service?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum