From nobody Thu Mar 17 13:54:47 2022 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 D5E101A14DB1 for ; Thu, 17 Mar 2022 13:54:58 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KK7tp0tLgz594d for ; Thu, 17 Mar 2022 13:54:58 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id x34so5493369ede.8 for ; Thu, 17 Mar 2022 06:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2sOT0XrzGGPhPNLDmuvIdmZD55wUfn7cfQn3aTQ9i6M=; b=Yl/CYDVLYJCDUKgCdN8FL9Ei1sDSLWA2hCEBpLgfP+algFcniuv1obthgFn5jG235o jzsmo7dRzblNMEgtV3FRo8G3zIpRMNm5lBnhPQucXB+Wq4uJXJJhPqDMg5zN3kMnoFN0 dGYDnCGuRwOLdTkb8E7oxazfR6LpMIuNsPw1Rrul0ur4nr9fthMDja/Tv5m5e2FMXjCs qmoZX+ghtL91f6hRaQACbsmNUxBexsWYl6p31oczEcej5hsyYbWWPAAdtwmgsEIzdwBl vc6QUSVJirs0g/FA06qJvMI2fz5AWBiA+MY+EaAw2dXRcEf6vt9k70rzzTTGYV99GNNt xJew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2sOT0XrzGGPhPNLDmuvIdmZD55wUfn7cfQn3aTQ9i6M=; b=XVdk+NdGnRAAjfooMlfomxiq0x3eVX7ff/73tBZQ0kZfMObc/aV87ND4Qk6wW4cW65 vajkD6wI/iM3WlKFBk31LvRW5AMhmsYr2W5yNfD7mq5wS6f3XGKagKLrWp+StAMLlWFA X8W7limFgtrc6KSOnqGNAFWipTxnRHWnqQuFTo59WAZ2Kuu6XEIMQVNkbHNdb7p0zzHj Hom7gA6FjsAnHmPzb+tgOJ8knrqGFHzhoydwSBbHM14+/lHPcu0sBQ/+FwDPDb94n5P7 mJjVRoNBxl8BQkbecFd96+WIuM9Epa9PvpbjROxZevLuouYNTIS2jrXefAF/qpV3HdgR TDiw== X-Gm-Message-State: AOAM530U8b5VIOYJCW5OhVcCfDYVvdDnon92j6KAP+AXo+YeKTyDjl2Q 4wmVk60dlyLmY0lw6/TuX9gZsTYUOdsGOcn/lVw= X-Google-Smtp-Source: ABdhPJy1SKciZ4KeTEIO9Rg57LMUHZp0fdJe6MU1iK/XH1uTXkMXPMpBt5tDrbEfg9cJRK+jooQof9OWHpJOYvBckas= X-Received: by 2002:a05:6402:35c7:b0:418:6577:9eb0 with SMTP id z7-20020a05640235c700b0041865779eb0mr4408019edc.343.1647525296984; Thu, 17 Mar 2022 06:54:56 -0700 (PDT) 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: <8226461b-5740-9c19-0575-2740bd952e16@selasky.org> <7a77e3bd-1186-56a6-e60e-89e51c190a01@selasky.org> <87a3da15-d83d-c864-bdb7-6035db5cd70d@selasky.org> In-Reply-To: From: Archimedes Gaviola Date: Thu, 17 Mar 2022 21:54:47 +0800 Message-ID: Subject: Re: Raspberry Pi 3B USB Printing Issue To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000015d75c05da6a6083" X-Rspamd-Queue-Id: 4KK7tp0tLgz594d X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="Yl/CYDVL"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedesgaviola@gmail.com designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=archimedesgaviola@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::529:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --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 > 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


=
On Wed, Mar 16, 2022 at 10:17 PM Arch= imedes Gaviola <archimed= es.gaviola@gmail.com> wrote:


On Wed, Mar 16, 2= 022 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 ERRO= R .

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-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.

Thanks,<= /div>
Archimedes


Hi Hans,

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.

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?

Thanks,
Archimedes
=C2=A0
--00000000000015d75c05da6a6083--