From owner-freebsd-ppc@freebsd.org Mon Oct 29 01:10:17 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 AC49F10EBBF3 for ; Mon, 29 Oct 2018 01:10:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-22.consmr.mail.bf2.yahoo.com (sonic312-22.consmr.mail.bf2.yahoo.com [74.6.128.84]) (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 4E15977C23 for ; Mon, 29 Oct 2018 01:10:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: BYAOHrgVM1mDaBRFh3XvEDgeDgcmpqApens83R5ytqCcvbK7gia6bTCwg6HiNEY sXroRcAf2unJBkD6lMfG0qb4zusXGqk6VVhVPC1Nig_2rbN3o8VhB8EUedi34GuD71jpaB287n6q OnfsZHoGykd3_JI555m2I8Gc3Ci9fNtcgwKVpeJavkb0bZPdf_aZhNvgazXEhpEbnWC6_zkSpoj. oEv0__iG96aUIug1a3Ialjp7_nDVO8DNiyFNReA0xXLXNPxDIJWdMquBr1tQQ6rYIQshSoTEwFu5 .W9rQl60NWKrZLku42zWfEtWJTd17CxYjAZE6eetoyN.PfT0DEOs3TADpaSTF05TercIeHOXHB4b rhL1L8u0HwntyK7aCpsuyWzf..FD0Dbe83woPXwGdpVba_ocNVZe.IDx7ph6BBt7aRNUy3egxDzL zX1JS6vVVQpkyahPmeXF3dh0CgljwI_OknoVPXNSkrXgv9aEnLUzEAUlNw.K5Qxo1Wyx6Qwhicce 8eJYZQyOrw6dBwtj7aq6UhrSXlPNE2GJk63LKzreeEKdigJmkEyfHKMc6TAQrQl_Liqb2DVep4CQ kRi0jmCYXu41qpxSLpylJOMNj0b7weFzXRQuJUzipOwhkX1hcGn1LFNxcqqIKJyS9Q75GyShaq08 6FWNfIgZUZcTVgQulC_QCBwABeWOgTjvY4VUpgIwRe4I7n1q5hldqjzoIlqXoXbVrbbHgvheOoyO GyPTouJcQGGh4T.hJV7Tw4Ao_6OfEFcYFS7ckD11q5.1IeOVpxv9HJXGmyLn8bHyshMwPG2alMiv sTY9e4_gfAmKyWITRTx6w9pGTtrMXra3vBHZU09IRh1l_7w2pMvjNqHmKpjujGks7PCIUorUuxxC IJ.9jNTj83I4cThdps7FKp99FQThh.E8E.Try5vdpZDnL4D4IdY_SlD07E.6ajwLn1Z3bfuWji8w kaoKzF19i3a_aFSu0.fu8OzHB1tDvlgAfeck4i4aDar52XiKwXHCUd2zimbY6pbfNBlKxGtbxb0P OXqBpWoSeoA7chq4TChuQ8fzSzulsrCX8Sm7Dat5S7HHe5HTP Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Mon, 29 Oct 2018 01:10:11 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp430.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4c8b4578280502dcf8080752196944f5; Mon, 29 Oct 2018 01:10:09 +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: <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.com> Date: Sun, 28 Oct 2018 18:10:06 -0700 Cc: freebsd-ppc , Koakuma Content-Transfer-Encoding: quoted-printable Message-Id: <04166F4E-6EBC-4BF2-8127-AF3A29EBA945@yahoo.com> References: <-h2qaAN8uPVLOtb4ngIa-cEr-sGMGrq0opq1cczaWnSCvra_jucS8kTEPCaB64a5bWcSzxsEcCr52NsrUKrOUjP5p6wusFed8OIVReIjD94=@protonmail.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 01:10:17 -0000 On 2018-Oct-28, at 5:31 PM, Koakuma via freebsd-ppc = 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 > 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)