Andrey Konovalov

Results 70 comments of Andrey Konovalov

The workaround has been [merged](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf9f7a6ee7b1f53f9ae13da55585b7d16aee2460). Filed #70 to track/document the `USB_GADGET_DELAYED_STATUS` inconsistency in the UDC drivers.

Possibly caused by the same issue as suggested on Discord: > I'm trying to use ViewSB to sniff USB mouse communication with `openvizsla` backend (`./viewsb.sh openvizsla --speed=low`), but I'm only...

Hi, Yeah, Raw Gadget only supports up to 4 KB of data per transfer. I don't remember why I chose this limit, tbh, and I think we can just increase...

Do you have access to some hardware UDCs to test this? E.g. a Raspberry Pi. I'm wondering if this issue is specific to the Dummy UDC. Regardless, I think we'll...

Tested proxying with dwc2 on Raspberry Pi 4: the initial enumeration works, but attempting to stream a picture fails with `ioctl(USB_RAW_IOCTL_EP_ENABLE): Cannot allocate memory` and `dwc2 fe980000.usb: dwc2_hsotg_ep_enable: No suitable...

You're welcome! I recommend using a DWC3-based device for testing, if you have one. Raspberry Pi with its dwc2, unfortunately, doesn't work. Other UDCs I haven't tested.

I use a ThinkPad X1 Carbon 6th Gen laptop, but getting DWC3 enabled there is tricky: https://xairy.io/articles/thinkpad-xdci. I believe that ROCK Pi uses DWC3, but I haven't tried it myself.

That's awesome! I was running the proxy locally in a Terminal. Perhaps, the DWC3 controller in my laptop is just slow.

On a related note, dwc2 [does not support](https://lore.kernel.org/linux-usb/[email protected]/T/#mb8cf5ad642a7c859187f21dc9376b9c4783060f0) remote wake up.

Alan posted a testing-grade [patch](https://lore.kernel.org/linux-usb/[email protected]/T/#u) from pre-2008 era for this.