[lm-sensors] w83627ehf: Missing fan input and minor problems w/ PWM control

Matthias Hentges oe at hentges.net
Thu Sep 7 13:14:37 CEST 2006


Am Mittwoch, den 06.09.2006, 16:01 +0200 schrieb Jean Delvare:
> Guten Tag Matthias,
> 
> > Am Dienstag, den 05.09.2006, 18:20 +0200 schrieb Jean Delvare:
> > > > Can you provide a listing of the sysfs files exported by the driver on
> > > > your system?
> > 
> > The listing is attached.
> 
> OK, it actually lacks the fan5 files, so that's a kernel issue and not
> a user-space issue.
> 
> > >  The w83627ehf pins for fans 4 and 5 can be programmed as
> > > > general purpose I/O, and the driver detects whether you have 3, 4, or
> > > > 5 fan pins configured. (The setting is read, but not changed.) So...do
> > > > you have pwm4 and pwm5 in your sysfs?
> > > 
> > > Matthias, can you please provide a dump of your chip (isadump 0x295
> > > 0x296) at init time, before loading the w83627ehf driver?
> > 
> > The dump is attached. It was taken before loading any modules
> > (init=/bin/sh).
> 
> It indeed shows fan5 as disabled.
> 
> > > I'd try forcing the driver to use all 5 fan inputs. Just run "isaset
> > > 0x295 0x296 0x47 0x05 0x05" before loading the w83627ehf driver, and
> > > see what happens. It's supposed to be the default, but...
> > 
> > I tried it, no success :\ I still only get 4 fans.
> 
> Odd. Did "isaset" complain about failed readback?

Err now that you mention it heh.

> The easiest way to make sure is:
> 
> isadump -y 0x295 0x296
> isaset -y 0x295 0x296 0x47 0xf5
> isadump -y 0x295 0x296
> 
> The value of register 0x47 should change in the second dump.

I'm indeed getting an error from isaset: 
"Data mismatch, wrote 0xf5, read 0xf4 back."

I just tried again to be sure.
-- 
Matthias 'CoreDump' Hentges 

Webmaster of hentges.net and OpenZaurus developer.
You can reach me in #openzaurus on Freenode.

My OS: Debian SID. Geek by Nature, Linux by Choice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060907/a47f1a43/attachment.sig>


More information about the lm-sensors mailing list