Re: hwmon strangeness, no fan control on w83627dhg

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

 



Hi Pavel,

Le Thursday 08 January 2015 à 21:29 +0100, Pavel Machek a écrit :
> hwmon is quite incosistent on my machine: in hwmon0 case, temperature
> files are in directly in hwmon0 subdirectory, but in hwmon1 case, they
> are in hwmon1/device/ . Is that expected? Why is it so?

This is for historical reasons. We are in the process of cleaning it all
up (attributes should always be in the hwmon class device) but there are
many drivers left to convert.

Anyway, both libsensors and pwmconfig/fancontrol support both, so if
your version of lm-sensors is recent enough, this shouldn't be an issue.

> (...)
> Plus, no matter what I do, I can't control the pwm2 (only one used on
> my board):
> 
> root@amd:/sys/class/hwmon/hwmon1/device# cat pwm2
> 80
> root@amd:/sys/class/hwmon/hwmon1/device# echo 0 > pwm2
> root@amd:/sys/class/hwmon/hwmon1/device# cat pwm2
> 80
> root@amd:/sys/class/hwmon/hwmon1/device#
> 
> I tried playing with other files, too, but no luck. Documentation
> mentions:
> 
> Note: last six functions are influenced by other control bits, not yet
> exported
>       by the driver, so a change might not have any effect.
> 
> 
> Any ideas what bits those are, and what needs to be implemented? (I'm
> currently reading through the documentation).

Check the value of pwm2_enable. If automatic mode is set (pwm2_enable >=
2), you can't control the output value directly. Same if control is
disabled altogether (pwm2_enable = 0) but I'm not sure if the w83627ehf
driver supports that. You can only control if in manual mode
(pwm2_enable = 1.)

-- 
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