Can't get the USB-C port to work as OTG

November 2, 2023, 16:31

mimosvk

Hi, I am working on a project that needs to use USB C port as OTG. I bought a power hat (X735 v3) to power the RPi4. I am using Raspbian Bullseye. I added “dtoverlay=dwc2” to config.txt, “dwc2” to /etc/modules, and used “sudo modprobe dwc2”. Dmesg says: [ 3.806204] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator [ 3.806633] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator [ 4.013582] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM [ 4.014016] dwc2 fe980000.usb: DWC OTG Controller [ 4.014052] dwc2 fe980000.usb: new USB bus registered, assigned bus number 3 [ 4.014112] dwc2 fe980000.usb: irq 38, io mem 0xfe980000 [ 4.014966] usb usb3: Manufacturer: Linux 6.1.21-v8+ dwc2_hsotg however, dmesg-w doesn’t show anything when I try to connect something to the port (phone, USB stick). What should I do? Could this be a hardware issue?

premnair1234321

Pretty sure the usb c is for power only but I might be wrong

oops.se


oops.se

<@1051459919796244501> From The official documentation "raspberry-pi-4-reduced-schematics.pdf"

oops.se

[    3.806204] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[    3.806633] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[    4.013582] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[    4.014016] dwc2 fe980000.usb: DWC OTG Controller
[    4.014052] dwc2 fe980000.usb: new USB bus registered, assigned bus number 3
[    4.014112] dwc2 fe980000.usb: irq 38, io mem 0xfe980000
[    4.014966] usb usb3: Manufacturer: Linux 6.1.21-v8+ dwc2_hsotg
There is no error in the dmesg.

oops.se

Have you updated your bullseye?

oops.se

Oops, The message supply vusb_d not found means that the USB port doesn't see any 5v and an OTG port supplies its devices with 5v