Date: Wed, 3 May 2023 02:26:02 +0200 From: "Dmitry N. Medvedev" <dmitry.medvedev@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-acpi@freebsd.org Subject: Re: managing a fan speed via memory address Message-ID: <CAPf62nF8DtCCRvzos9taoh7QW6K0K6whCWfBwq4dLEWgsaBeJA@mail.gmail.com> In-Reply-To: <CAJ-VmonUyHkBBbQSZsL-ur6LYy0eRs%2Buf-qaSjF_WQwVKAXVUQ@mail.gmail.com> References: <CAPf62nErnFh7WjseZhjyhgohf2j%2BfLCm5of2yir8T=Eyi54NNA@mail.gmail.com> <CAJ-VmonUyHkBBbQSZsL-ur6LYy0eRs%2Buf-qaSjF_WQwVKAXVUQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ca094605fabf1af5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable good morning Adrian, 1. I am just learning :) Not 100% sure ACPI has anything to do with fan control ( still it looks that it actually does ) -- found the Advanced Configuration and Power Interface Specification PDF. Will spend some time grasping the ideas 2. to quickly write any driver I will have to first find out how to do it :) any guidance ( preferable in textual form will be greatly appreciated ) will learn it :) 3. there isn't a single thermal sensor, but the SAS disks report their temperatures ( via dmidecode if I am not mistaken, or some other program -- I will be more sure tomorrow morning ). so, theoretically I could be able to read their temperature and decide if I would like to send more power to the fan. On Wed, May 3, 2023 at 2:14=E2=80=AFAM Adrian Chadd <adrian@freebsd.org> wr= ote: > Is it not an ACPI driver? If not, you could write a quick fan driver! > > Is there a thermal sensor(s) you could read to see how warm they get? > > > > -adrian > > > On Tue, 2 May 2023 at 17:06, Dmitry N. Medvedev <dmitry.medvedev@gmail.co= m> > wrote: > >> good morning, >> >> Recently I have learned about the dmidecode program and found the addres= s >> of the FRNTFAN port in my HP Z420 machine: 0x0037. >> Since I am a complete newbie, I would like to learn if there is a way to >> read and change the value at this address. >> I need a bit of guidance. >> >> *The context*: I have added 8 SAS disks to the machine, put noctua fan >> in front of them and connected the fan to the FRNTFAN port on the >> motherboard. >> It looks like the fan works, but I am sure the disks would benefit if th= e >> fan produced more pressure. Which I fantasize I could do via changing th= e >> value at the said address. >> Not sure, of course. >> >> best regards, >> Dmitry N. Medvedev >> > --000000000000ca094605fabf1af5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">good morning Adrian,<div><br></div><div>1. I am just learn= ing :) Not 100% sure ACPI has anything to do with fan control ( still it lo= oks that it actually does )</div><div>-- found the Advanced Configuration a= nd Power Interface Specification PDF. Will spend some time grasping the ide= as</div><div>2. to quickly write any driver=C2=A0I will have to first find = out how to do it :) any=C2=A0guidance ( preferable in textual form will be = greatly appreciated ) will learn it :)</div><div>3. there isn't a singl= e thermal sensor, but the SAS disks report their temperatures</div><div>( v= ia dmidecode if I am not mistaken, or some other program -- I will be more = sure tomorrow morning ).</div><div>so, theoretically I could be able to rea= d their temperature and decide if I would like to send more power to the fa= n.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai= l_attr">On Wed, May 3, 2023 at 2:14=E2=80=AFAM Adrian Chadd <<a href=3D"= mailto:adrian@freebsd.org">adrian@freebsd.org</a>> wrote:<br></div><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Is it not an = ACPI driver? If not, you could write a quick fan driver!<div><br></div><div= >Is there a thermal sensor(s) you could read to see how warm they get?</div= ><div><br></div><div><br></div><div><br></div><div>-adrian</div><div><br></= div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at= tr">On Tue, 2 May 2023 at 17:06, Dmitry N. Medvedev <<a href=3D"mailto:d= mitry.medvedev@gmail.com" target=3D"_blank">dmitry.medvedev@gmail.com</a>&g= t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p= x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div d= ir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr"><di= v>good morning,<div><br></div><div>Recently I have learned about the dmidec= ode program and found the address of the FRNTFAN port in my HP Z420 machine= : 0x0037.</div><div>Since I am a complete newbie, I would like to learn if = there is a way to read and change the value at this address.</div><div>I ne= ed a bit of guidance.</div><div><br></div><div><b>The context</b>: I have a= dded 8 SAS disks to the machine, put noctua fan in front of them and connec= ted the fan to the FRNTFAN=C2=A0port on the motherboard.</div><div>It looks= like the fan works, but I am sure the disks would benefit if the fan produ= ced more pressure. Which I fantasize I could do via changing the value at t= he said address.</div><div>Not sure, of course.</div><div><br></div><div>be= st regards,<br></div><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr= "><div>Dmitry N. Medvedev</div></div></div></div></div></div></div></div></= div></div></div></div> </blockquote></div> </blockquote></div> --000000000000ca094605fabf1af5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPf62nF8DtCCRvzos9taoh7QW6K0K6whCWfBwq4dLEWgsaBeJA>