-
Notifications
You must be signed in to change notification settings - Fork 5.2k
USB/Ethernet gadget on PiOS-5.15.16: kills xHCI host controller #4872
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
Comments
Not off the top of my head. However, since we are switching to 5.15 imminently it's probably time to break out the USB analyser. |
Just tried again on latest 5.15.18 with |
That's good timing - it was next on the list of things to look at. |
note: 5.15.24 further fixes many remaining gadget issues, hopefully for good... |
Describe the bug
Ethernet USB gadget mode works as expected on stock PiOS lite on PiZeroW 5.10.92, but fails with 5.15.16 kernel.
Host PC xHCI host controller dies with no other remedies than reboot (x64 Mint/Ubuntu).
Can't get USB/Ethernet gadget operation anymore.
Steps to reproduce the behaviour
On PiZeroW, I flashed 2022-01-28-raspios-bullseye-armhf-lite, set
dtoverlay=dwc2
inconfig.txt
, addedmodules-load=dwc2,g_ether
incmdline.txt
, connected the Pi to my Ubuntu PC USB port, all worked as expected.I could ssh into the Pi from Host PC, get to Pi to internet and do further setup: all good.
Pi kernel was at stock 5.10.92+
I then updated Pi to latest 5.15.16 kernel:
sudo BRANCH=next rpi-update
Update went just fine. I restarted pi, and... watched xHCI host controller dying through
dmesg
: Pi would obviously never come-up again on usb interface (and no other USB device can be used either until host reboot).(in fact I initially had the same problem with Alpine 3.15, and it similarly killed my Hosts on Mint/elementary, but wanted to replicate on PiOS just to be sure)
Device (s)
Raspberry Pi Zero W / WH
System
Linux raspberrypi 5.10.92+ #1514 Mon Jan 17 17:35:21 GMT 2022 armv6l GNU/Linux
Logs
on Pi side dwc2 and g_ether are loaded
Host dmesg log at initial successful setup:
After Pi update and reboot:
Additional context
@pelwell @P33M would you have any hint?
The text was updated successfully, but these errors were encountered: