oandrew / ipod-gadget

iPod usb gadget for audio playback. Client app: https://github.com/oandrew/ipod
MIT License
205 stars 33 forks source link

couldn't find an available UDC #5

Closed mkorganashvili closed 6 years ago

mkorganashvili commented 6 years ago

After I run insmod g_ipod_gadget.ko, I get this message in dmesg udc-core: couldn't find an available UDC - added [g_ipod] to list of pending drivers

Did i miss something?

akuholla commented 6 years ago

Hi! Can you please share on how you solved this problem?

zanppa commented 5 years ago

I got the same message, which was caused by having ethernet gadget enabled in the raspberry pi when trying to load the ipod gadget modules. I had to first remove the ethernet modules, then the ipod gadget got loaded and worked. E.g. in my case I had to run: sudo modprobe -r g_ncm usb_f_ncm u_ether

dangerzau commented 7 months ago

Realising this is a very old comment - In case anyone else has the issue & Assuming you're using a Pi Zero - You need to tell it to load the driver tree for gadgets (I think thats what this does). So to do this.. simple add this line to end of your /boot/config.txt file: dtoverlay=dwc2

or if your on a later version it goes into the /boot/firmware/config.txt file (Same file, different location)