-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to virtual USB serial port #10
Comments
This makes it so that the USB port *only* works in gadget mode. It fixes an issue where the USB connection didn't work to my laptop. Presumably, the USB stack thinks that the port should be run in host mode. However, it was unclear why everything worked in Raspbian. See issue #10 for more details.
I did some more investigation. I can reproduce this on a Dell Precision M4700 laptop and an HP Omen. It works fine for me on an iMac. I also captured traces of the USB bus for working and non-working cases, and it looks like there's corruption in the dual-mode case that the iMac can get past but the other hardware can't. I'm including the traces below. Use the Total Phase Data Center software to view. The only glimmer of hope is that Raspbian somehow is able to make dual-mode work on all system, I think. It doesn't look like any special dwc2 module parameters are involved with Raspbian and experimenting with some kernel options didn't seem to do anything, though. |
This makes it so that the USB port *only* works in gadget mode. It fixes an issue where the USB connection didn't work to my laptop. Presumably, the USB stack thinks that the port should be run in host mode. However, it was unclear why everything worked in Raspbian. See issue #10 for more details.
Looks maybe related: raspberrypi/linux#1997 |
Since we're no longer using dual mode and gadget-only mode seems pretty solid (ignoring the unrelated mDNS issue), I'm going to close this. |
When the Raspberry Pi Zero is connected to my Linux laptop, I see errors like this in
dmesg
:On the Pi Zero, it looks like it's trying to enumerate the laptop:
The text was updated successfully, but these errors were encountered: