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, Denon AVR-X2300W #26

Open danboid opened 3 years ago

danboid commented 3 years ago

I recently got a Denon AVR-X2300W but was disappointed it doesn't support UAC, only iPod or USB memory stick so it'll be great if I can get this to work! I was able to build and load the kernel modules OK but I don't see a /dev/iap0 after connecting my amp. instead I see this in dmesg:

[93975.740345] **********************************************************
[93975.740346] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[93975.740346] **                                                      **
[93975.740346] ** trace_printk() being used. Allocating extra memory.  **
[93975.740347] **                                                      **
[93975.740347] ** This means that this is a DEBUG kernel and it is     **
[93975.740347] ** unsafe for production use.                           **
[93975.740348] **                                                      **
[93975.740348] ** If you see this message and you are not debugging    **
[93975.740348] ** the kernel, report this immediately to your vendor!  **
[93975.740348] **                                                      **
[93975.740349] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[93975.740349] **********************************************************
[94002.524086] ipod-gadget: init
[94002.524088] udc-core: couldn't find an available UDC - added [g_ipod] to list of pending drivers

Have you got any suggestions? I'm running Ubuntu 20.04 amd64 with kernel 5.4.0-81

Also, it would be nice to see an install target added to the makefile.

Thanks

danboid commented 3 years ago

My laptop has 2x USB C ports. I have read somewhere that USB C supports host mode but I'm not sure it it requires configuration and I get the same error when I attach my amp with a USB C -> USB A cable.

Should it be possible to use ipod-gadget with USB C?