Yes.So you have the module, modprobe does not complain, yet the module does not load (lsmod)?
I see no change when running dmesg -w after running modprobe dwc_otg.What does dmesg say when you run modprobe?
And dmesg -w while running the modprobe? Nothing printed into dmesg?
pi@raspberrypi:~ $ dmesg | grep -i dwc_otg
[ 1.394911] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.395276] dwc_otg: FIQ enabled
[ 1.395287] dwc_otg: NAK holdoff enabled
[ 1.395296] dwc_otg: FIQ split-transaction FSM enabled
root@raspberrypi:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/0p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
I did some troubleshooting on RPi4 with raspbian (latest kernel 5.15 but that may not matter).
In Raspbian the dwc_otg is compiled into the kernel image, not as a module. modprobe dwc_otg outputs nothing, nor does dmesg, because the dwc_otg driver is already loaded at kernel boot.
Grepping the boot log yields the info:
Bash:pi@raspberrypi:~ $ dmesg | grep -i dwc_otg [ 1.394911] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.395276] dwc_otg: FIQ enabled [ 1.395287] dwc_otg: NAK holdoff enabled [ 1.395296] dwc_otg: FIQ split-transaction FSM enabled
I had to enable the host mode to get the USB-C port become host by adding otg_mode=1 to config.txt and NOT adding dtoverlay=dwc2. That switched the USB IP core from dwc2 to standard xhci and the controller appeared in lsusb -t. Any USB device plugged to the USB-C now is enumerated and works (not tested the performance, just enumeration) - a USB flash drive in this case:
Bash:root@raspberrypi:~# lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/0p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
I received a late Christmas present to myself from Italy today, the case turned out very nice if I do say so myself. Will probably open a new thread to discuss in more detail but here is a teaser pic.
View attachment 174953
Michael
Also purchased an alternative 3 mm faceplate as a lower machining cost option, also looks pretty nice although the 10 mm is certainly cleaner due to lower fastener count.
View attachment 174991
Michael
Was there ever?Is there still progress on the project?
Not really sure,.. just checking would still be a cool project; community,… and,.. science!Was there ever?