From nobody Mon Nov 18 12:35:10 2024 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 4XsRt15TwBz5d39T for ; Mon, 18 Nov 2024 12:35:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsRt14tVWz4RKp for ; Mon, 18 Nov 2024 12:35:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731933321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yyqmZH3yuv3b3ixU7O2sRIMrWaVtObuF83RaQuqgA/g=; b=WwEsHWMbEB33kOjvXJwlbd9skxp2H8O+5V5DSa3GyuzLgUl01DxLfGbsJRl7V2TaIozYVC VgvP9YIADIUSxDS40p2KVuGPiD6AxuoP9EBZFqcvNwp9UozLSiFy4XqDIdFfB95DB9p6Vg 6YQ+dQYPdA9FxJfd08RZitCjtXfS51WMd0vIxjbXodXq/dmeWcPcVrEKrsq45mDvxC/eqh yTb0TzSdRxmbek0EChcnyZplMHzsRJr5S0Joqyf/yVBMGLGCGSoi+6c6q2DB+EfIjfyces hxRZ8lT1UI6s48NwcL3hXSK1DMjnRgbEtZo6vhGz3y0LD9PeymkSmfEtG+4sAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731933321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yyqmZH3yuv3b3ixU7O2sRIMrWaVtObuF83RaQuqgA/g=; b=w6i8uG80YM+UH+fWSrEBr73oDugGcSqa9VnVDojfCIij4z2JNkTFI/u8DcDLcvH75/aAsl WyPx30p2WzxnmmC4r0zbf5SMUVUFj1/Ei5ZCFPMBO6RcS8uGMO8ada2RrCkBJb2CAtLyeI yFgZEYnz2pjCT1tK1fwb9AYFRTqda+YCvB1ND4OEfD3McWG8wjiirpymeG5G6kdlie6vfz waIz+xMjwiqK7XQF5atexJYYXBV0ihhA8anDgSs8FN5y+T6bG/yj9z1Gub30Cq29iZdmrK CeQJ+VKsTBh/R615QrmUOQk9OoyA2X8dpYx6bFKudgd7HVkknfFEZ/iJYoU+ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731933321; a=rsa-sha256; cv=none; b=rfThxFiXFA1gVUNUCxrnM4m1utGBEN9zdjFqIgrESZPiJWG880RFnLfw/wFqsuEaT8edYX YIUcI1S59PAeHKTkRBUwQVWTu19F2otCg81bzcTTxWBS7sVTlHk4e0F6nGibj14smnMslH +OqrF/75BzWP41Q+f9hwwQU9Ne4DUToVslzl7whp2qKBtKw1hjUiyMVpfyvbY3OkdqwmHt 1lAv/HpZ8k7nzl06pRHmGfH5lTMwDeEkYDQyLE2shHXNRCnFgbuxI8JPxngTQM5KFPVx0y lflRUqKb5EL/htLc/fddfulL+7987OTES3QiCp249odwzoT1tDUbvlMYCrlEYg== Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XsRt14GwKz10jS for ; Mon, 18 Nov 2024 12:35:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-7b15479cecaso19273485a.2 for ; Mon, 18 Nov 2024 04:35:21 -0800 (PST) X-Gm-Message-State: AOJu0Yz26BfFAZXT7wssPbZZy1KfukMmY/tUa0gsF4X2WLcD4/V4xd03 Om6n0a0PmU3PWfO3/kql+BY4Bh66inwIbYZRhOg+5hrrO22mEHBERmqZELzOFPZ7k26OWEApbVv wbzGBB531XKWnXG8rsnX0VBIjuZ4= X-Google-Smtp-Source: AGHT+IEpAcgX06oMbgeztHxD4mTgS48x3UFgZr1t5QLD4IBUz34RtuBNuNd8DDoeaGCJSvX2toRu3+I+spHYoXU9OQY= X-Received: by 2002:a05:622a:19a4:b0:460:e4e3:457 with SMTP id d75a77b69052e-46363e972acmr79874261cf.11.1731933321007; Mon, 18 Nov 2024 04:35:21 -0800 (PST) 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 References: <20241118125337.b54d024802f26faac8fa25c2@bidouilliste.com> In-Reply-To: <20241118125337.b54d024802f26faac8fa25c2@bidouilliste.com> From: Nuno Teixeira Date: Mon, 18 Nov 2024 12:35:10 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: rpi4 fan speed control To: Emmanuel Vadot Cc: FreeBSD ARM List Content-Type: multipart/alternative; boundary="0000000000005fa30206272f269c" --0000000000005fa30206272f269c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Official fan connects same way: https://youtu.be/BP44pCxQWAY?t=3D60 4 - 5v - Red 6- GND - Black 8 - GPIO- Blue While in some schmatics for rpi4 8 pin is UART0 TX... Can't get it Emmanuel Vadot escreveu (segunda, 18/11/2024 =C3=A0= (s) 11:53): > On Mon, 18 Nov 2024 11:03:29 +0000 > Nuno Teixeira wrote: > > > Hello all, > > > > My rpi4 small fan is about to die since it started to have noises. Its = a > > small 40x10 fan attached to a plastic box. > > > > I'm thinking in something like: > > > https://www.zdnet.com/home-and-office/the-best-cooler-for-raspberry-pi-po= wer-users/ > > > > Anyone controlling speed fan, i.e., not using fan a full speed all the > time? > > > > Thanks, > > > > -- > > Nuno Teixeira > > FreeBSD UNIX: Web: https://FreeBSD.org > > I find the wiring a bit weird, usually you use a pwm controller to > control the speed of a fan and we have support for rpi pwm (even though > it's not handled by the pwm(4) framework iirc) but on the website they > plug the control pin to the uart TX ??? > > Cheers > > -- > Emmanuel Vadot > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000005fa30206272f269c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Official fan connects same way:

<= div>https://youtu.be/BP44pC= xQWAY?t=3D60

4 - 5v - Red
6- GND - B= lack
8 - GPIO- Blue


While in some schmatics= for rpi4 8 pin is UART0 TX... Can't get it

Emmanuel Vadot <= ;manu@bidouilliste.com> esc= reveu (segunda, 18/11/2024 =C3=A0(s) 11:53):
On Mon, 18 Nov 2024 11:03:29 +0000
Nuno Teixeira <= eduardo@freebsd.org> wrote:

> Hello all,
>
> My rpi4 small fan is about to die since it started to have noises. Its= a
> small 40x10 fan attached to a plastic box.
>
> I'm thinking in something like:
> https://www.= zdnet.com/home-and-office/the-best-cooler-for-raspberry-pi-power-users/=
>
> Anyone controlling speed fan, i.e., not using fan a full speed all the= time?
>
> Thanks,
>
> --
> Nuno Teixeira
> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0= https= ://FreeBSD.org

=C2=A0I find the wiring a bit weird, usually you use a pwm controller to control the speed of a fan and we have support for rpi pwm (even though
it's not handled by the pwm(4) framework iirc) but on the website they<= br> plug the control pin to the uart TX ???

=C2=A0Cheers

--
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--0000000000005fa30206272f269c--