Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2022 08:59:03 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Archimedes Gaviola <archimedes.gaviola@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi 3B USB Printing Issue
Message-ID:  <87a3da15-d83d-c864-bdb7-6035db5cd70d@selasky.org>
In-Reply-To: <CAJFbk7G_SVcoH4pak4SvNp0EYsbU_i4LiNZ6HyEDrmxAPvviUg@mail.gmail.com>
References:  <CAJFbk7EzSfPNbaGxiweKrivwNrKXCPVzA1b7_=0_bTvbs8oBow@mail.gmail.com> <7c67118e-f6ec-c87d-9a81-3ee6a5952f49@selasky.org> <CAJFbk7GYbLAFTJY077Nzh3CTBJM6bk8swr4AkgGMaukCxrfcHQ@mail.gmail.com> <60f98b10-dcdc-cdf4-3d7a-fe9fd4dff223@selasky.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/15/22 05:57, Archimedes Gaviola wrote:
> I did comment-out usbd_transfer_submit(xfer) and still the same behavior is
> experienced when hw.usb.dwc_otg.debug is enabled. The system seems to
> freeze as my USB keyboard is unresponsive and I cannot connect over the
> Ethernet NIC with SSH. I can't print and capture.

Hi,

If you re-plug the USB keyboard, does it come back?

Try setting "sysctl kern.consmute=1". Then only capture logs from 
/var/log/messages.

--HPS

> 
> freebsd@generic:/usr/src/sys/dev/usb % diff -Nur usb_hub.c.orig usb_hub.c
> --- usb_hub.c.orig      2022-03-14 22:37:03.162678000 +0800
> +++ usb_hub.c   2022-03-14 22:38:23.832660000 +0800
> @@ -202,7 +202,7 @@
> 
>          case USB_ST_SETUP:
>                  usbd_xfer_set_frame_len(xfer, 0, usbd_xfer_max_len(xfer));
> -               usbd_transfer_submit(xfer);
> +               /* usbd_transfer_submit(xfer); */
>                  break;
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87a3da15-d83d-c864-bdb7-6035db5cd70d>