G5 fans
Mark Millard
marklmi at yahoo.com
Mon Oct 29 01:10:17 UTC 2018
On 2018-Oct-28, at 5:31 PM, Koakuma via freebsd-ppc <freebsd-ppc at freebsd.org> wrote:
> Hi Michael,
>
> The first command failed to run for me.
> 0 > dev u3/i2c/fan can't find device u3/i2c/fan ok
>
> Looking at the output of 'dev / ls', there's several devices named
> "fan" under /smu at 0,0/fans at 4a00/*, but running the " .status" command
> on those devices gave me this error:
> 0 > " .status" " /smu at 0,0/fans at 4a00/fan at 0" open-dev $call-method
> Method <.status> not found; ihandle=ffb352c0 phandle=ff99ee00
> ok
>
> This is on a PowerMac11,2, 2 GHz "dual-core" model.
A so-called G5 "Quad Core" suggests something similar
for finding fans when looked at via ofwdump:
# ofwdump -pr /smu/fans | less
Node 0xff99f698: fans
name:
66 61 6e 73 00
'fans'
device_type:
6d 6f 74 6f 72 2d 63 6f 6e 74 72 6f 6c 00
'motor-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 73 00 73 6d 75 2d 66 61 6e
73 00
reg:
00 00 4a 00
built-in:
hwsensor-params-version:
00 00 00 02
zone:
00 00 00 00
#size-cells:
00 00 00 00
#address-cells:
00 00 00 01
Node 0xff99fbb0: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 00
built-in:
version:
00 00 00 02
control-id:
00 00 00 00
location:
44 52 49 56 45 20 42 41 59 20 41 20 49 4e 54 41 4b 45 00
'DRIVE BAY A INTAKE'
min-value:
00 00 03 e8
max-value:
00 00 0f a0
unmanage-value:
00 00 0f a0
init-value:
00 00 03 e8
safe-value:
00 00 ff ff
zone:
00 00 00 01
motor-type:
00 00 00 00
Node 0xff9a04a8: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 01
built-in:
version:
00 00 00 02
control-id:
00 00 00 01
location:
42 41 43 4b 53 49 44 45 00
'BACKSIDE'
min-value:
00 00 04 4c
max-value:
00 00 0b b8
unmanage-value:
00 00 0b b8
init-value:
00 00 04 4c
safe-value:
00 00 ff ff
zone:
00 00 00 04
motor-type:
00 00 00 00
Node 0xff9a0d98: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 02
built-in:
version:
00 00 00 02
control-id:
00 00 00 02
location:
43 50 55 20 41 20 49 4e 54 41 4b 45 00
'CPU A INTAKE'
min-value:
00 00 01 e5
max-value:
00 00 0c 80
unmanage-value:
00 00 0c 80
init-value:
00 00 05 af
safe-value:
00 00 01 2c
zone:
00 00 00 00
motor-type:
00 00 00 00
Node 0xff9a1688: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 03
built-in:
version:
00 00 00 02
control-id:
00 00 00 03
location:
43 50 55 20 42 20 49 4e 54 41 4b 45 00
'CPU B INTAKE'
min-value:
00 00 01 e5
max-value:
00 00 0c 80
unmanage-value:
00 00 0c 80
init-value:
00 00 05 af
safe-value:
00 00 01 2c
zone:
00 00 00 00
motor-type:
00 00 00 00
Node 0xff9a1f78: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 04
built-in:
version:
00 00 00 02
control-id:
00 00 00 04
location:
43 50 55 20 41 20 45 58 48 41 55 53 54 00
'CPU A EXHAUST'
min-value:
00 00 01 f4
max-value:
00 00 0c 80
unmanage-value:
00 00 0c 80
init-value:
00 00 05 dc
safe-value:
00 00 0c 80
zone:
00 00 00 00
motor-type:
00 00 00 00
Node 0xff9a2868: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 05
built-in:
version:
00 00 00 02
control-id:
00 00 00 05
location:
43 50 55 20 42 20 45 58 48 41 55 53 54 00
'CPU B EXHAUST'
min-value:
00 00 01 f4
max-value:
00 00 0c 80
unmanage-value:
00 00 0c 80
init-value:
00 00 05 dc
safe-value:
00 00 0c 80
zone:
00 00 00 00
motor-type:
00 00 00 00
Node 0xff9a3158: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 06
built-in:
version:
00 00 00 02
control-id:
00 00 00 06
location:
43 50 55 20 41 20 50 55 4d 50 00
'CPU A PUMP'
min-value:
00 00 04 e2
max-value:
00 00 0e 10
unmanage-value:
00 00 0e 10
init-value:
00 00 0e 10
safe-value:
00 00 ff ff
zone:
00 00 00 00
motor-type:
00 00 00 01
Node 0xff9a3a48: fan
name:
66 61 6e 00
'fan'
device_type:
66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00
'fan-rpm-control'
compatible:
73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00
66 61 6e 00
reg:
00 00 00 08
built-in:
version:
00 00 00 02
control-id:
00 00 00 08
location:
45 58 50 41 4e 53 49 4f 4e 20 53 4c 4f 54 53 20 49 4e 54 41
4b 45 00
'EXPANSION SLOTS INTAKE'
min-value:
00 00 06 18
max-value:
00 00 11 94
unmanage-value:
00 00 11 94
init-value:
00 00 06 18
safe-value:
00 00 03 e8
zone:
00 00 00 02
motor-type:
00 00 00 00
> On Sun Oct 28 22:02:15 UTC 2018, Michael Tuexen <tuexen at freebsd.org>
> wrote:
>> Dear all,
>>
>> if you have access to a G5 Powermac, could you provide the output of the
>> following command from the OpenFirmware prompt:
>>
>> dev u3/i2c/fan
>> " .status" " u3/i2c/fan" open-dev $call-method
>>
>> I'm interested in the RPM channels which are reported as Failed/Available/Active.
>> Please provide also some information what kind of PowerMac G5 it is.
>>
>> Thanks for your help.
>
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ppc
mailing list