From nobody Sun Dec 19 17:11:26 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A018918E4ECB for ; Sun, 19 Dec 2021 17:11:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (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 4JH8QK2fpjz3rrn for ; Sun, 19 Dec 2021 17:11:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639933890; bh=l7YFNPGX5A0iCuUrByhF2btVDV7Yf3KrcKouhLrJIeQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=EcMSDN96sM1G8ai1k8BPUY2iYdIV4XKd2Y8arTEDJH/10n0Yf+SDZYbrFyHCqJeMDkpH0ZCQszuz1SsG+8BFHesXfXwfAOsTnjCJhJacnpv4H8d3oOfvqiGqzBTJLAeQG1enoktbS8Uu+dbgpy/S8+5tGwd6cBFOnzMs7KB/NNaoMoC9k4JE9st0YtcF5vJIkdjBOlWrXiA4INXNOsHfnmYiuDTXrSXc6yz9JEB+keblvwR+VswsgS8irk9Ffwt+6znSbVM1Rc9wKieWzjZo1HAiJr0797Xe34Hz07UhC0FyvZQARgyRTNDPTrZ0ifnR/OYKMmUN9j1B/eR8ZGLgTw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639933890; bh=jm22VaWJuDVm29oFAWtkWw4rJ33nLR9ug02e4YjSeka=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=PPWjCvR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LnYbHmnviGfe60k.02WIvlxH84kLF8T EzkAHUUaxQCsxQ_OLa4T3te0tTvk9SCw8iHwCnKSYgOlOnHLEdb5uPiVBio5DJslcwdYiWciwN0o kN9nPna9OHaDYbulqKjoZBdLrCK3hbVNZ4tzA6BpyE1RMkxqk.YMaQc9HnMZ.d0qcH8mNtLoVSY9 hqVf539ngFpB3Bil0Lhuf4QyIxJL.XWOe3v6Y8SKBjznV23VLpMdL5bV2Zk8CHP8clv8RoSJLa2V reMcgoD6vrDXbGQGhYgbym3NWhzTLIya5p4ULjOJYTdMIn6XrFyIt0LO65Cit8lcHdKVa09dh9hL 5x.kdggRoZxJgXeg49azM6ufDujIRsltywyAiTacBFbln72JeV8RX3RZM2LXYGaNNO4O5TdZPPZH H85n7C.UsEaHGrEcXuyldxnwi20.Vy4FGZh5THcTFqbMpFdsSlaTW4Zstfx.WmEKfnj_lhUTn6Dk AYJRMfMvDHDWhrEpaiOzj.d.Jnz5J5pTOgw4- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 19 Dec 2021 17:11:30 +0000 Received: by kubenode523.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID dd9ce508703ae807f045cc18c2c16b5a; Sun, 19 Dec 2021 17:11:28 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Dealing with slow USB disks, was: Re: Saving environment variables in u-boot In-Reply-To: <20211219161816.GA14873@www.zefox.net> Date: Sun, 19 Dec 2021 09:11:26 -0800 Cc: MJ , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3F624D6C-1A78-4F08-8AF2-A3959476F86F@yahoo.com> References: <20211217013613.GA4452@www.zefox.net> <20211218005946.GA7670@www.zefox.net> <5C44D0E6-2FF1-4EEB-B21A-83333D6FCF46@yahoo.com> <9D416106-660F-40BB-98D2-1354B53D2FEF@yahoo.com> <20211218223543.GA9484@www.zefox.net> <6105a8a6-e760-2183-72fd-92e5a60aa8df@gmail.com> <20211219005134.GA12292@www.zefox.net> <4910504f-3051-9a95-d8e4-95434042196d@gmail.com> <20211219161816.GA14873@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JH8QK2fpjz3rrn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Dec-19, at 08:18, bob prohaska wrote: > On Sun, Dec 19, 2021 at 10:03:47PM +1100, MJ wrote: >>=20 >> I would think a mechanical USB is going to pull a "lot" of power when = beginning spin-up, but once rotating should be easily powered by a USB = hub. Though this would not explain how it works on RPI4 unless the = powered hub you're using is USB2. >>=20 >=20 > That's what I thought too. I certainly didn't expect the disk to work > without a powered hub. The Pi4 is a different animal; it has USB3 = ports > and more power available. That the mechanical disk works at all on the=20= > Pi3's USB2 ports without assistance is quite surprising.=20 >=20 > There's a table at > https://hddfaqs.com/seagate-st1000lm048/ > listing power requirements for the drive: > Required Power For Spinup: 1000 mA (I'm guessing they list that as the largest surge current. But they do not list figures for READ or WRITE activity.) = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#typi= cal-power-requirements lists the "Maximum total USB peripheral current draw" as: 1.2A (so 1200 mA) for the B+, 2B, 3B, 3B+, 4B, and Pi400. The 3B and 3B+ list a "Recommended PSU current capacity" of 2.5A, the 4B lists 3.0A. Some keyboards or other such could lead to problems if also connected at power up: Having both a keyboard and mouse at power up, in addition to the drive, could be a problem: QUOTE keyboards and mice can take as little as 100mA or as much as 1000mA END QUOTE So stick to a low total power for your other USB devices that are to be already connected at power up. You might have to carefully pick what keyboards/mice/whatever to fit the 200mA budget that is left --or plug some things in only after the drive has spun up. > Power Required (Seek): 1.7 W > Power Required (Idle): 1.6 W > Power Required (Standby): 0.18 W >=20 > So far I haven't tried to power cycle the combo, that might not work.=20= > Still, it's been an informative exercise. Getting rid of the hub is a > welcome simplification. The machine is still up after standing = overnight. =3D=3D=3D Mark Millard marklmi at yahoo.com