Date: Tue, 12 Apr 2022 17:16:02 +0800 From: Archimedes Gaviola <archimedes.gaviola@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B Over-current USB Message-ID: <CAJFbk7EKpwMCav87nMg_5squJx_L-cO%2BeNfKSn5jA620uKT2YA@mail.gmail.com> In-Reply-To: <8dc68431-ad3d-84db-45b4-cd661d4a15df@selasky.org> References: <CAJFbk7FgSnWvN9Z7gp1wqW1CFa8bYqrr6zccMWEhotk5HMR=Tg@mail.gmail.com> <5deaf68b-267c-56dd-603d-8ec0d82ceae2@selasky.org> <CAJFbk7Hv7BHDqmg6tFaGwgFvt6%2B2%2Bu0nkCBPrqvGiNN--Y63zQ@mail.gmail.com> <8dc68431-ad3d-84db-45b4-cd661d4a15df@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000349e6605dc717f72 Content-Type: text/plain; charset="UTF-8" On Mon, Apr 11, 2022 at 9:59 PM Hans Petter Selasky <hps@selasky.org> wrote: > On 4/11/22 15:59, Archimedes Gaviola wrote: > > Hi Hans, > > > > Noted on the self-powered hub, thanks for the suggestion, I will try. > > > > Just wanted to share the observation from the testing I've conducted with > > my Raspberry Pi 4B with the same 14.0-CURRENT to check if overcurrent is > > also experienced and it did, there was overcurrent and each ports' power > > shut-off during the situation but it was able to recover back. I > initiated > > the command 'usbconfig reset' and each port gloriously came back alive > one > > by one and loaded my USB keyboard and Prolific uplcom(4) drivers into > > functional and operational states. My measuring device is showing the > same > > amount of current 460mA while the voltage stayed at 5.05 from a baseline > of > > 5.15 voltshttps://filebin.net/10vy575q6h2yl8og. Unlike my RPi 3B, > voltage > > dropped to 4.93 from a baseline of 5.19 volts. So, the difference I > > observed is when the voltage dropped below 5, the system will not give a > > chance to make the ports come back alive as a sort of protection > mechanism. > > Sharing to you the logs below (with hw.usb.uhub.debug=1). > > FreeBSD does not actively check and use "bMaxPower" . > Hi Hans, It's okay, just tried your recommendation on a self-powered USB hub, my Prolific device is now working. Thanks a lot! Archimedes --000000000000349e6605dc717f72 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Apr 11, 2022 at 9:59 PM Hans = Petter Selasky <<a href=3D"mailto:hps@selasky.org">hps@selasky.org</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">On 4/1= 1/22 15:59, Archimedes Gaviola wrote:<br> > Hi Hans,<br> > <br> > Noted on the self-powered hub, thanks for the suggestion, I will try.<= br> > <br> > Just wanted to share the observation from the testing I've conduct= ed with<br> > my Raspberry Pi 4B with the same 14.0-CURRENT to check if overcurrent = is<br> > also experienced and it did, there was overcurrent and each ports'= power<br> > shut-off during the situation but it was able to recover back. I initi= ated<br> > the command 'usbconfig reset' and each port gloriously came ba= ck alive one<br> > by one and loaded my USB keyboard and Prolific uplcom(4) drivers into<= br> > functional and operational states. My measuring device is showing the = same<br> > amount of current 460mA while the voltage stayed at 5.05 from a baseli= ne of<br> > 5.15 voltshttps://<a href=3D"http://filebin.net/10vy575q6h2yl8og" rel= =3D"noreferrer" target=3D"_blank">filebin.net/10vy575q6h2yl8og</a>. Unlike = my RPi 3B, voltage<br> > dropped to 4.93 from a baseline of 5.19 volts. So, the difference I<br= > > observed is when the voltage dropped below 5, the system will not give= a<br> > chance to make the ports come back alive as a sort of protection mecha= nism.<br> > Sharing to you the logs below (with hw.usb.uhub.debug=3D1).<br> <br> FreeBSD does not actively check and use "bMaxPower" .<br></blockq= uote><div><br></div><div>Hi Hans,</div></div><div class=3D"gmail_quote"><br= ></div><div class=3D"gmail_quote">It's okay, just tried your recommenda= tion on a self-powered USB hub, my Prolific device is now working. Thanks a= lot!</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">= Archimedes<br></div></div> --000000000000349e6605dc717f72--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7EKpwMCav87nMg_5squJx_L-cO%2BeNfKSn5jA620uKT2YA>