Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 18:10:06 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Michael Tuexen <tuexen@freebsd.org>
Cc:        freebsd-ppc <freebsd-ppc@freebsd.org>, Koakuma <koachan@protonmail.com>
Subject:   Re: G5 fans
Message-ID:  <04166F4E-6EBC-4BF2-8127-AF3A29EBA945@yahoo.com>
In-Reply-To: <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.com>
References:  <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On 2018-Oct-28, at 5:31 PM, Koakuma via freebsd-ppc =
<freebsd-ppc@freebsd.org> wrote:

> Hi Michael,
>=20
> The first command failed to run for me.
> 0 > dev u3/i2c/fan can't find device u3/i2c/fan ok
>=20
> Looking at the output of 'dev / ls', there's several devices named
> "fan" under /smu@0,0/fans@4a00/*, but running the " .status" command
> on those devices gave me this error:
> 0 > " .status" " /smu@0,0/fans@4a00/fan@0" open-dev $call-method
> Method <.status> not found; ihandle=3Dffb352c0 phandle=3Dff99ee00
> ok
>=20
> 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=20
    'fans'
  device_type:
    6d 6f 74 6f 72 2d 63 6f 6e 74 72 6f 6c 00=20
    'motor-control'
  compatible:
    73 6d 75 2d 72 70 6d 2d 66 61 6e 73 00 73 6d 75 2d 66 61 6e=20
    73 00=20
  reg:
    00 00 4a 00=20
  built-in:
  hwsensor-params-version:
    00 00 00 02=20
  zone:
    00 00 00 00=20
  #size-cells:
    00 00 00 00=20
  #address-cells:
    00 00 00 01=20
  Node 0xff99fbb0: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 00=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 00=20
    location:
      44 52 49 56 45 20 42 41 59 20 41 20 49 4e 54 41 4b 45 00=20
      'DRIVE BAY A INTAKE'
    min-value:
      00 00 03 e8=20
    max-value:
      00 00 0f a0=20
    unmanage-value:
      00 00 0f a0=20
    init-value:
      00 00 03 e8=20
    safe-value:
      00 00 ff ff=20
    zone:
      00 00 00 01=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a04a8: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 01=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 01=20
    location:
      42 41 43 4b 53 49 44 45 00=20
      'BACKSIDE'
    min-value:
      00 00 04 4c=20
    max-value:
      00 00 0b b8=20
    unmanage-value:
      00 00 0b b8=20
    init-value:
      00 00 04 4c=20
    safe-value:
      00 00 ff ff=20
    zone:
      00 00 00 04=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a0d98: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 02=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 02=20
    location:
      43 50 55 20 41 20 49 4e 54 41 4b 45 00=20
      'CPU A INTAKE'
    min-value:
      00 00 01 e5=20
    max-value:
      00 00 0c 80=20
    unmanage-value:
      00 00 0c 80=20
    init-value:
      00 00 05 af=20
    safe-value:
      00 00 01 2c=20
    zone:
      00 00 00 00=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a1688: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 03=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 03=20
    location:
      43 50 55 20 42 20 49 4e 54 41 4b 45 00=20
      'CPU B INTAKE'
    min-value:
      00 00 01 e5=20
    max-value:
      00 00 0c 80=20
    unmanage-value:
      00 00 0c 80=20
    init-value:
      00 00 05 af=20
    safe-value:
      00 00 01 2c=20
    zone:
      00 00 00 00=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a1f78: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 04=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 04=20
    location:
      43 50 55 20 41 20 45 58 48 41 55 53 54 00=20
      'CPU A EXHAUST'
    min-value:
      00 00 01 f4=20
    max-value:
      00 00 0c 80=20
    unmanage-value:
      00 00 0c 80=20
    init-value:
      00 00 05 dc=20
    safe-value:
      00 00 0c 80=20
    zone:
      00 00 00 00=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a2868: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 05=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 05=20
    location:
      43 50 55 20 42 20 45 58 48 41 55 53 54 00=20
      'CPU B EXHAUST'
    min-value:
      00 00 01 f4=20
    max-value:
      00 00 0c 80=20
    unmanage-value:
      00 00 0c 80=20
    init-value:
      00 00 05 dc=20
    safe-value:
      00 00 0c 80=20
    zone:
      00 00 00 00=20
    motor-type:
      00 00 00 00=20
  Node 0xff9a3158: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 06=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 06=20
    location:
      43 50 55 20 41 20 50 55 4d 50 00=20
      'CPU A PUMP'
    min-value:
      00 00 04 e2=20
    max-value:
      00 00 0e 10=20
    unmanage-value:
      00 00 0e 10=20
    init-value:
      00 00 0e 10=20
    safe-value:
      00 00 ff ff=20
    zone:
      00 00 00 00=20
    motor-type:
      00 00 00 01=20
  Node 0xff9a3a48: fan
    name:
      66 61 6e 00=20
      'fan'
    device_type:
      66 61 6e 2d 72 70 6d 2d 63 6f 6e 74 72 6f 6c 00=20
      'fan-rpm-control'
    compatible:
      73 6d 75 2d 72 70 6d 2d 66 61 6e 00 73 6d 75 2d 66 61 6e 00=20
      66 61 6e 00=20
    reg:
      00 00 00 08=20
    built-in:
    version:
      00 00 00 02=20
    control-id:
      00 00 00 08=20
    location:
      45 58 50 41 4e 53 49 4f 4e 20 53 4c 4f 54 53 20 49 4e 54 41=20
      4b 45 00=20
      'EXPANSION SLOTS INTAKE'
    min-value:
      00 00 06 18=20
    max-value:
      00 00 11 94=20
    unmanage-value:
      00 00 11 94=20
    init-value:
      00 00 06 18=20
    safe-value:
      00 00 03 e8=20
    zone:
      00 00 00 02=20
    motor-type:
      00 00 00 00=20


> On Sun Oct 28 22:02:15 UTC 2018, Michael Tuexen <tuexen at =
freebsd.org>
> wrote:
>> Dear all,
>>=20
>> if you have access to a G5 Powermac, could you provide the output of =
the
>> following command from the OpenFirmware prompt:
>>=20
>> dev u3/i2c/fan
>> " .status" " u3/i2c/fan" open-dev $call-method
>>=20
>> 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.
>>=20
>> Thanks for your help.
>=20





=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?04166F4E-6EBC-4BF2-8127-AF3A29EBA945>