Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Dec 2010 20:34:22 +0100
From:      Andreas Tobler <andreast@fgznet.ch>
To:        Paul Mather <paul@gromit.dlib.vt.edu>
Cc:        freebsd-ppc@FreeBSD.org, Nathan Whitehorn <nwhitehorn@FreeBSD.org>, yongari@FreeBSD.org
Subject:   Re: New powerpc64 snapshot
Message-ID:  <4CFA97BE.3050901@fgznet.ch>
In-Reply-To: <3853126F-041B-4CA9-A3FC-417CB000E21C@gromit.dlib.vt.edu>
References:  <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org>	<C31BDA76-ECE9-4012-86C4-24B30ECC8162@gromit.dlib.vt.edu>	<4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> <4CF7FAFD.2030607@FreeBSD.org> <3853126F-041B-4CA9-A3FC-417CB000E21C@gromit.dlib.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03.12.10 21:40, Paul Mather wrote:
> On Dec 2, 2010, at 3:01 PM, Andreas Tobler wrote:

> Hopefully, this is the info you requested (if not, I can e-mail the
> whole devinfo -v output):
>
> iichb0 pnpinfo name=i2c compat=keywest-i2c iicbus0 unknown pnpinfo
> name=i2c-hwclock compat=pulsar-legacy-slewing at addr=0xd4 max66900
> pnpinfo name=temp-monitor compat=max6690 at addr=0x98 fcu0 pnpinfo
> name=fan compat=fcu at addr=0x15e unknown pnpinfo
> name=i2c-cpu-voltage compat=pca9556 at addr=0x30 unknown pnpinfo
> name=supply-monitor compat=ad7417 at addr=0x58 unknown pnpinfo
> name=cpuid compat=24256 at addr=0xa0 unknown pnpinfo
> name=i2c-cpu-voltage compat=pca9556 at addr=0x32 unknown pnpinfo
> name=supply-monitor compat=ad7417 at addr=0x5a unknown pnpinfo
> name=cpuid compat=24256 at addr=0xa2 unknown pnpinfo name=cereal at
> addr=0x1c0

Yes, that is exactly what I was looking for. I have to think about how I 
can provide some better support.
In the above we see that there are two AD7417, where the driver already 
exists. And below we have an LM75, which should be similar, if not 
equal, to the DS1775 (This one is available in the tree, but not yet 
used on your machine.) The real missing part is the LM87. Here we might 
need to write a new driver.

But these missing drivers have no direct effect on the fan speed. They 
only help you to determine the right speed to keep the machine cool.
Sure, we need them when we have a user land app which controls the whole 
stuff. But for now you (we) play the user land app :)

> iichb1 pnpinfo name=i2c compat=k2-i2c iicbus1 unknown pnpinfo
> name=lm87cimt compat=lm87cimt at addr=0x5a unknown pnpinfo
> name=lm87cimt compat=lm87cimt at addr=0x5c unknown pnpinfo
> name=temp-monitor compat=lm75 at addr=0x90 unknown pnpinfo
> name=power-supply-monitor compat=pic16c72a at addr=0x94 unknown
> pnpinfo name=cereal at addr=0x1c0

> My thanks to you (and others) for the explanation.
>
> On my system, setting a *.rpm sysctl to a value does not always have
> direct correlation with the value subsequently reported.  This is
> particularly true of dev.fcu.0.fans.sys_ctrlr_fan.rpm and
> dev.fcu.0.fans.pci_fan.maxrpm.  For example, if I set sys_ctrlr_fan
> RPM to 6000, it will race up immediately to ~13000--14000 RPM.  To
> get it to maintain a reported ~6000 RPM I need to set it to
> ~1100--1200 RPM with the sysctl.

Hehe, these two fans are PWM controlled while the others re controlled 
by RPM (see the verbose log and in the source, type 0 is RPM, type 1 is 
PWM).
It is possible that my formula to calculate the RPM is not working 
properly. I'll have a look at and see what I can improve.

Thank you for the feedback.
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFA97BE.3050901>