Failure to Assign UDC to ConfigFS Gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I'm just following these slides: https://events.static.linuxfound.org/sites/events/files/slides/USB%20Gadget%20Configfs%20API_0.pdf

On page 18 I need to assign the UDC. On my version of Debian (repackaged by Armbian, with my own kernel and modules) there is no device in /sys/class/udc as expected, but there is a link that resolves to a device:

# stat /sys/class/udc/musb-hdrc.1.auto
  File: /sys/class/udc/musb-hdrc.1.auto -> ../../devices/platform/soc/1c19000.usb/musb-hdrc.1.auto/udc/musb-hdrc.1.auto

If I try to assign the UDC using the string 1c19000.usb I get:

# echo "1c19000.usb" > UDC                                       
bash: echo: write error: No such device

It's at this point I'm lost. I appreciate any help.

Cheers!



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux