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?
to your account
====Device problem occurs on====
Raspberry Pi 4 Model B
====Software versions of OpenWrt release, packages, etc.====
OpenWrt version: master branch
Packages installed: //kmod-usb-dwc2//, //kmod-usb-gadget-eth// (//g_ether//)
USB-C port of Pi 4 is capable of running in device/guest mode (USB OTG) just like Pi Zero.
[[https://www.factoryforward.com/pi-zero-w-headless-setup-windows10-rndis-driver-issue-resolved/|Raspberry Pi Zero W Headless setup – Windows 10 RNDIS Driver issue resolved - FactoryForward]]
It used to work with OpenWrt and Linux kernel 4.19, but it breaks when switched to 5.4.
In //dmesg//, you get errors like
[ 1759.419106] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 1770.559826] g_ether gadget: high-speed config #2: RNDIS
[ 1783.798053] rndis_msg_parser: unknown RNDIS message 0x00520328 len 4456526
[ 1783.804934] RNDIS command error -524, 24/24
[ 2259.991384] rndis_msg_parser: unknown RNDIS message 0x00520328 len 4456526
[ 2259.998275] RNDIS command error -524, 24/24
====Steps to reproduce====
uci set network.lan.ifname='eth0 usb0'
uci commit network
//g_ether// will run CDC-ECM when connected to Linux/macOS, not RNDIS.
The text was updated successfully, but these errors were encountered:
Should be fixed in kernel 5.4.120 and 5.10.38
Sorry, something went wrong.
No branches or pull requests