From owner-freebsd-ppc@freebsd.org Mon Oct 29 22:02:22 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 3822910EB645 for ; Mon, 29 Oct 2018 22:02:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-14.consmr.mail.bf2.yahoo.com (sonic315-14.consmr.mail.bf2.yahoo.com [74.6.134.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D517685966 for ; Mon, 29 Oct 2018 22:02:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: YAJaRrsVM1kiL2OAAQwUwdbdKblOdJsvmW3ShALgcTL1hUQH0QG.TxEBiNOcxbP 7tKMG_rjs5arr5Q_WCyhKrnyZJni0hIz4Ol3IBfY8a0LgA62p69C.gbG8ATMRn4l9bc7RzNCmiqR D2U8Cyy.RvMGEueK_fTxZAvBrjbqJb2i6QIwyFFPoMd5Xs_me1fvYPJtRQtJuZ7FZmJ5Ii8Hp.GF yACgFoI.KV4UGSPNFNS2mzL7UgIExwrTTOYYYQ1pdVxV2sjDSThbZ9tbV__xFG9brYlZEpxPqjkj 3Qh2bSxLsQ_SVuYiP42L5foJ.cBrUvd_I54q6yzY1vaDzlPxCbnyRQ3.uJZWBkNPu.iEWqzFeLXR tIX.XBfLkt.jmc.13Rr42FBFxweP21vla0q2q2UuVijh6Ru9iQoHDeTMDOVPFlx4KMxhWdo4oLk6 _3D41SWldA4w0PgPlLXhqhd40J960j_gbQcI7Dgxd_aji6mYTgtwpxfj4hrJ45wrBA0G9kfm27id VqAoXK898RAFaQdOaLpnURlfs..Id39GFhWP.BH2hM1HHW.BziN1GSm3ChOqh7tuPo.4jxUr0izF aSCzZF.DMTZZXEM1N9F2_bPjmHBGItLFLRzj7uj4fvTZnTM7YCmgGRcTaZHQuAy1icFHCpmQ8aXh ZmgrZEhzm1hmTK2mAcs8LwROEH.gpMZNCGy.d4c9SHOcdCYGZZJv215haPLLq8gICg8uHOiIliVf N3HdTiAdKGF5Kzo3RXmeVkvdxz8W9bFdZng8oMkBD6K4Nrf.15MZdD48RCQjbyBo_ShcsU6az19C QOqV82NjpemmaTIv0g7k8SCUF51_oTa.X4WSNiTmkTYkYH1PIvA6aQ7q8h9AxHv2yzJskEYwXyoI mW370d1feBi6clbDZdM0fvQn3O0r2OBaC6NcKnwYMedilafX9uC8omLtlBmaFX9AT81Ga9V13SYj Qz5HQ2ob29jn1wiac78RpAGlC6JY0cjA6JzniwsEyGl2Cr3cuTIVMhuHtfivDL9mdCpSC85SYc8_ B4L9gHqiid3jge2h6vujHUdhHeY.cpnr7IZLtKttZBnrYVwwq9A-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Mon, 29 Oct 2018 22:02:21 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c886b0d1fe8e1ab0956c7ac307d855ac; Mon, 29 Oct 2018 22:02:20 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: G5 fans From: Mark Millard In-Reply-To: Date: Mon, 29 Oct 2018 15:02:18 -0700 Cc: freebsd-ppc , Koakuma Content-Transfer-Encoding: quoted-printable Message-Id: References: <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.com> <04166F4E-6EBC-4BF2-8127-AF3A29EBA945@yahoo.com> To: Michael Tuexen X-Mailer: Apple Mail (2.3445.9.1) 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:02:22 -0000 On 2018-Oct-29, at 11:38 AM, Michael Tuexen = wrote: > 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 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: 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 > As for the dual processor (not dual-core) 7,2 the output was: (transcribed from a picture, indentation not preserved) 0 > dev u3/i2c/fan ok 0 > " .status" " u3/i2c/fan" open-dev $call-method=20 FCU Version 4.0.2f3 Failed RPM Channel(s): None Available RPM Channel(s): 1 2 3 4 5 6 Active RPM Channel(s): 2 3 4 5 6 Failed PWM Channel(s): None Available PWM Channel(s): 1 2 Active PWM Channel(s): 1 2 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 > >=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 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)