Re: Raspberry Pi 3B USB Printing Issue

Hans Petter Selasky <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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;
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.