From owner-freebsd-ppc@freebsd.org Mon Oct 29 22:06:38 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDCFA10EB6C6 for ; Mon, 29 Oct 2018 22:06:38 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CC1785A0D for ; Mon, 29 Oct 2018 22:06:38 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6f29:a600:8da7:4482:a128:d968] (p200300CD6F29A6008DA74482A128D968.dip0.t-ipconnect.de [IPv6:2003:cd:6f29:a600:8da7:4482:a128:d968]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id C9B90721E280C; Mon, 29 Oct 2018 23:06:34 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: G5 fans From: Michael Tuexen In-Reply-To: Date: Mon, 29 Oct 2018 23:06:34 +0100 Cc: freebsd-ppc , Koakuma Content-Transfer-Encoding: quoted-printable Message-Id: <7549A8C5-01A8-4D81-891D-A13C87FCB9B1@freebsd.org> References: <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.com> <04166F4E-6EBC-4BF2-8127-AF3A29EBA945@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3445.100.39) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 22:06:39 -0000 > On 29. Oct 2018, at 23:02, Mark Millard wrote: >=20 > On 2018-Oct-29, at 11:38 AM, Michael Tuexen = wrote: >=20 >> On 29. Oct 2018, at 02:10, Mark Millard wrote: >>=20 >>> On 2018-Oct-28, at 5:31 PM, Koakuma via freebsd-ppc = wrote: >>>=20 >>>> 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. >>>=20 >>> A so-called G5 "Quad Core" suggests something similar >>> for finding fans when looked at via ofwdump: >>>=20 >>> # ofwdump -pr /smu/fans | less >>> Node 0xff99f698: fans >>> name: >>> 66 61 6e 73 00=20 >>> 'fans' >>> . . . >> Thanks a lot. >>=20 >> Could you run >>=20 >> " .status" " /smu@0,0/fans@4a00/fan@0" open-dev $call-method >> in /smu@0,0/fans@4a00 from OpenFirmware? >>=20 >=20 > On a so-called "Quad Core" I got the same sort of result > that has already been reported for 11,2 dual-core, > transcribed from a picture: >=20 > 0 > dev /smu@0,0/fns@4a00/fan@0 ok > 0 > " .status" " /smu@0,0/fns@4a00/fan@0" open-dev $call-method > Method <.status> not found; ihandle=3Dffb30700 phandle=3Dff99fbb0 > ok > 0 > OK. Thanks for trying. >=20 >=20 > As for the dual processor (not dual-core) 7,2 > the output was: (transcribed from a picture, > indentation not preserved) >=20 > 0 > dev u3/i2c/fan ok > 0 > " .status" " u3/i2c/fan" open-dev $call-method=20 >=20 > FCU Version 4.0.2f3 >=20 > Failed RPM Channel(s): None > Available RPM Channel(s): 1 2 3 4 5 6 > Active RPM Channel(s): 2 3 4 5 6 >=20 > Failed PWM Channel(s): None > Available PWM Channel(s): 1 2 > Active PWM Channel(s): 1 2 >=20 > Processor A Intake Fan (RPM3): 1449 RPM > Processor A Exhaust Fan (RPM4): 1499 RPM > Processor B Intake Fan (RPM5): 1449 RPM > Processor B Exhaust Fan (RPM6): 1499 RPM > U3 Zone Fan (PWM1): 2054 RPM > PCI Zone Fan (PWM2): 2093 RPM > Drive Bay Fan (RPM2): 1499 RPM > ok > 0 > Great. Thank you! Best regards Michael >=20 >>=20 >>=20 >>> On Sun Oct 28 22:02:15 UTC 2018, Michael Tuexen >>> 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 >>=20 >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20