* [lm-sensors] No pwm with abituguru driver?
@ 2007-04-27 17:18 Magnus Ekhall
2007-04-27 17:56 ` Hans de Goede
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Magnus Ekhall @ 2007-04-27 17:18 UTC (permalink / raw)
To: lm-sensors
Hi,
I have an Abit Fatal1ty AN8 motherboard that in Windows uses uGuru to
read sensors and control fans.
In Ubuntu Linux I have tried lm_sensors with both the w83627hf driver
and the abituguru one.
The abituguru seems to be the most successful, I get temperatures and
fan speeds. However I cannot control the fan speed! (And this is what I
really want to do.)
In /sys/devices/platform/abituguru.224/ I have some files starting with
pwm1, for example pwm1_enable. But I cannot write to this "file" even as
root. I get an access denied.
And when I run pwmconfig I get:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
What can I try to get pwm working? I think that there are at least 2
pwms on this MB.
sensors-detect report this:
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x50
Chip `eeprom' (confidence: 6)
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x51
Chip `eeprom' (confidence: 6)
EEPROMs are *NOT* sensors! They are data storage chips commonly
found on memory modules (SPD), in monitors (EDID), or in some
laptops, for example.
Driver `k8temp' (should be inserted):
Detects correctly:
* ISA bus, undetermined address (Busdriver `i2c-isa')
Chip `AMD K8 thermal sensors' (confidence: 9)
Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `Winbond W83627HF Super IO Sensors' (confidence: 9)
But using the winbond driver gives me a lot of crap sensor values...
Anyone know what I'm doing wrong? How can I control the fans?
Thanks,
Magnus E
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [lm-sensors] No pwm with abituguru driver?
2007-04-27 17:18 [lm-sensors] No pwm with abituguru driver? Magnus Ekhall
@ 2007-04-27 17:56 ` Hans de Goede
2007-04-27 19:01 ` Magnus Ekhall
2007-04-29 21:25 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2007-04-27 17:56 UTC (permalink / raw)
To: lm-sensors
Magnus Ekhall wrote:
> Hi,
>
> I have an Abit Fatal1ty AN8 motherboard that in Windows uses uGuru to
> read sensors and control fans.
>
> In Ubuntu Linux I have tried lm_sensors with both the w83627hf driver
> and the abituguru one.
>
> The abituguru seems to be the most successful, I get temperatures and
> fan speeds. However I cannot control the fan speed! (And this is what I
> really want to do.)
>
> In /sys/devices/platform/abituguru.224/ I have some files starting with
> pwm1, for example pwm1_enable. But I cannot write to this "file" even as
> root. I get an access denied.
>
I doubt that you get an access denied, you probably are getting an invalid
parameter. The uguru can only do auto fan speed control. Thus the only 2 valid
values for /sys/devices/platform/abituguru.224/pwm1_enable are "0" and "2",
with "0" being the fan at max speed and "2" being the fan's speed being
controlled automaticly depending on the temp. You can fine tune the settings of
the autocontrol either through your BIOS (easiest) or through the
/sys/devices/platform/abituguru.224/pwm1_auto_xxx attributes, for the meaning
of these attributes see Documentation/hwmon/sysfs in the kernel source dir.
Most likely your pwm is already in auto mode and things are working just fine,
as this uguru feature will work fine without any driver at all.
to test try this:
[root@shalem ~]# sensors
<snip>
CPU FAN Speed: 2280 RPM (min = 1200 RPM)
<snip>
[root@shalem ~]# echo "0" > /sys/devices/platform/abituguru.224/pwm1_enable
[root@shalem ~]# sensors
<snip>
CPU FAN Speed: 3180 RPM (min = 1200 RPM)
<snip>
Notice how the fan speed increased significantly because of the pwm being
switched from auto to disabled (= max speed)
To reenable auto mode do:
[root@shalem ~]# echo "2" > /sys/devices/platform/abituguru.224/pwm1_enable
Regards,
Hans
p.s.
Another reason you're getting permission denied might be because you're doing
something like this:
sudo echo "2" > /sys/devices/platform/abituguru.224/pwm1_enable
Notice that that won't work as the redirect will be done as the normal user,
you must really _be_ root for this to work.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] No pwm with abituguru driver?
2007-04-27 17:18 [lm-sensors] No pwm with abituguru driver? Magnus Ekhall
2007-04-27 17:56 ` Hans de Goede
@ 2007-04-27 19:01 ` Magnus Ekhall
2007-04-29 21:25 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Magnus Ekhall @ 2007-04-27 19:01 UTC (permalink / raw)
To: lm-sensors
Hans de Goede wrote:
>
> Most likely your pwm is already in auto mode and things are working just
> fine, as this uguru feature will work fine without any driver at all.
>
You are right, changing values in BIOS seems to work!
>
> Another reason you're getting permission denied might be because you're
> doing something like this:
> sudo echo "2" > /sys/devices/platform/abituguru.224/pwm1_enable
>
> Notice that that won't work as the redirect will be done as the normal
> user, you must really _be_ root for this to work.
>
That was it. I was sudoing! Becoming root made it possible to write to
pwm1_enable, and it seems to be controlling the CPU fan only.
Thanks a lot for the fast and verbatim answer!
If I can help the project with info from my AN8 Fatal1ty I would be
happy to. Just let me know.
Cheers,
Magnus E
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] No pwm with abituguru driver?
2007-04-27 17:18 [lm-sensors] No pwm with abituguru driver? Magnus Ekhall
2007-04-27 17:56 ` Hans de Goede
2007-04-27 19:01 ` Magnus Ekhall
@ 2007-04-29 21:25 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2007-04-29 21:25 UTC (permalink / raw)
To: lm-sensors
Magnus Ekhall wrote:
> Thanks a lot for the fast and verbatim answer!
>
> If I can help the project with info from my AN8 Fatal1ty I would be
> happy to. Just let me know.
>
If you could mail me the output of dmidecode on your board, that would be much
appreciated. I'm planning on adding support to sensors-detect for all the uguru
boards oneday and in order for that I need the dmi info of all uguru motherboards.
Thanks & Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-29 21:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27 17:18 [lm-sensors] No pwm with abituguru driver? Magnus Ekhall
2007-04-27 17:56 ` Hans de Goede
2007-04-27 19:01 ` Magnus Ekhall
2007-04-29 21:25 ` Hans de Goede
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.