I have been trying to follow the instructions at https://www.hardill.me.uk/wordpress/201 ... -c-gadget/ to set up my raspberry pi 4 as a usb-c gadget. These instructions are for a raspberry pi running Raspbian and I have set mine up with Arch Linux 64 (just installed this week with the latest version). I thought once I was able to load the kernel modules libcomposite and dwc2, that I would be able to see usb0 when I ran ip addr. When I run lsmod, I can see that libcomposite has loaded, and my understanding is that dwc2 is included in the kernel. But, I still don't see usb0 when I run ip addr, and am not able to set up anything further until usb0 is recognized as an interface.
I'm pretty new at this, so maybe I'm completely misunderstanding how this should work. Any advice you can provide would be greatly appreciated, even if it is just giving me some advice on what I need to go and learn more about.