Date: Thu, 17 Mar 2022 21:54:47 +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 USB Printing Issue Message-ID: <CAJFbk7EsAE=N215xJeK12%2BfOBJJ0DT3b69qyzm4EYCgO-2qDuQ@mail.gmail.com> In-Reply-To: <CAJFbk7HaLdwQ4RVSLs9xv%2BRFnTHNJAbQwenjbgiM_DsQDkTJWA@mail.gmail.com> References: <CAJFbk7EzSfPNbaGxiweKrivwNrKXCPVzA1b7_=0_bTvbs8oBow@mail.gmail.com> <CAJFbk7EAjrQG5Kj_upVKW72opOS%2B8d63VrMnQdLxcJjUcfsd=g@mail.gmail.com> <8226461b-5740-9c19-0575-2740bd952e16@selasky.org> <CAJFbk7GwjFA-=GrJG3KTCnqVfEPhRSY1g8xyws_nE8pAohErEg@mail.gmail.com> <dabb798c-435c-6dd3-ac9b-8db3fb02a43c@selasky.org> <CAJFbk7FFeNTKvbNMr41kkwwYtyamJybTzk3=DQB1Hg3z%2Bx2hgQ@mail.gmail.com> <CAJFbk7GZF4ahORzCUKaLZS4b=fCJQbEADPJmMYZjyaJwRR%2Bhbw@mail.gmail.com> <CAJFbk7Fxz24r73AzHGhZHHKYwyHLqn-HCpiCpsAi4D-E6oKtKg@mail.gmail.com> <7a77e3bd-1186-56a6-e60e-89e51c190a01@selasky.org> <CAJFbk7EutGbB-LoHxN_mUZbSb70C8yjxfZBADvejuCLwTcD5FA@mail.gmail.com> <CAJFbk7G_SVcoH4pak4SvNp0EYsbU_i4LiNZ6HyEDrmxAPvviUg@mail.gmail.com> <87a3da15-d83d-c864-bdb7-6035db5cd70d@selasky.org> <CAJFbk7FOQQG7upVtiq9R5tF34yJypbdYfNJ90o0G%2BRGM4C5TiA@mail.gmail.com> <CAJFbk7GjHS3UpYSOAWN-OvPEu4wiuAtedm7HGB6bw7e9e5%2BpYA@mail.gmail.com> <CAJFbk7H8-kgQ952L_0ryjhMgvgdPNYBJWXf6iMf5fF-KjJEYJQ@mail.gmail.com> <f61e41e0-ddf5-ff8a-d2be-dbce680a87c5@selasky.org> <CAJFbk7HaLdwQ4RVSLs9xv%2BRFnTHNJAbQwenjbgiM_DsQDkTJWA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000015d75c05da6a6083 Content-Type: text/plain; charset="UTF-8" On Wed, Mar 16, 2022 at 10:17 PM Archimedes Gaviola < archimedes.gaviola@gmail.com> wrote: > > > On Wed, Mar 16, 2022 at 9:31 PM Hans Petter Selasky <hps@selasky.org> > wrote: > >> Hi Archimedes, >> >> I don't see any issue in there. There should be a print containing ERROR . >> >> Did you set the DWC OTG debug level to 17 ? >> > > > Hi Hans, > > I tried that with debug level 17 on DWC OTG but my keyboard seems not > responsive even when I unplug and re-plugged the keyboard. That's why I > just stay to level 1. Let me try this time, I have an idea, I'll put this > printing script in cron and run it there and then have the debug level at > 17. Let's see how it goes. > > Thanks, > Archimedes > Hi Hans, The cron idea works and printing is now automated with DWC OTG in debug level 17. With this debug level 17 enabled, my keyboard gets unresponsive for some period of time but still you can type. It just takes time to respond but not totally unresponsive. Anyway, nothing to worry now as automation is in place. As of this moment, still no error is encountered, very intermittent. So, until its presence. By the way, I have another observation. Since this printing investigation, the USB's physical port assignments of my Epson printer and my USB keyboard haven't changed. My keyboard is detected and assigned as a ugen1.5 device on usbus1 while my printer is assigned as ugen1.4 on usbus1 as well. Sometimes I turned off this printer and after several hours turned it back on, the usbus1 assignment of the printer changed to ugen1.5 device. Though not all the time, I noticed this twice already. Is this an expected behavior? Thanks, Archimedes --00000000000015d75c05da6a6083 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 Wed, Mar 16, 2022 at 10:17 PM Arch= imedes Gaviola <<a href=3D"mailto:archimedes.gaviola@gmail.com">archimed= es.gaviola@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quo= te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204= );padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div cl= ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 16, 2= 022 at 9:31 PM Hans Petter Selasky <<a href=3D"mailto:hps@selasky.org" t= arget=3D"_blank">hps@selasky.org</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">Hi Archimedes,<br> <br> I don't see any issue in there. There should be a print containing ERRO= R .<br> <br> Did you set the DWC OTG debug level to 17 ?<br></blockquote><div><br></div>= <br></div><div class=3D"gmail_quote">Hi Hans,</div><div class=3D"gmail_quot= e"><br></div><div class=3D"gmail_quote">I tried that with debug level 17 on= DWC OTG but my keyboard seems not responsive even when I unplug and re-plu= gged the keyboard. That's why I just stay to level 1. Let me try this t= ime, I have an idea, I'll put this printing script in cron and run it t= here and then have the debug level at 17. Let's see how it goes.<br></d= iv><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">Thanks,<= /div><div class=3D"gmail_quote">Archimedes<br></div></div></blockquote><div= ><br></div><div><br></div><div></div><div>Hi Hans,</div><div><br></div><div= >The cron idea works and printing is now automated with DWC OTG in debug le= vel 17. With this debug level 17 enabled, my keyboard gets unresponsive for= some period of time but still you can type. It just takes time to respond = but not totally unresponsive. Anyway, nothing to worry now as automation is= in place. As of this moment, still no error is encountered, very intermitt= ent. So, until its presence.<br></div><div><br></div><div>By the way, I hav= e another observation. Since this printing investigation, the USB's phy= sical port assignments of my Epson printer and my USB keyboard haven't = changed. My keyboard is detected and assigned as a ugen1.5 device on usbus1= while my printer is assigned as ugen1.4 on usbus1 as well. Sometimes I tur= ned off this printer and after several hours turned it back on, the usbus1 = assignment of the printer changed to ugen1.5 device. Though not all the tim= e, I noticed this twice already. Is this an expected behavior?<br></div><di= v><br></div><div>Thanks,</div><div>Archimedes <br></div><div>=C2=A0<br></di= v></div></div> --00000000000015d75c05da6a6083--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7EsAE=N215xJeK12%2BfOBJJ0DT3b69qyzm4EYCgO-2qDuQ>