Jump to content

Recommended Posts

Posted

Hello,

 

just discovered ability to support legacy USB gadgets. There is UDC called max3420_udc and also gadgetfs module. By using startup script

 

    mkdir /dev/gadget
    modprobe max3420_udc
    modprobe gadgetfs
    mount -t gadgetfs none /dev/gadget

 

it appears to be possible to use old gadget developed for kernel 3.4. It was descibed once in the link 
https://forum.armbian.com/index.php/topic/1759-usb-gadget-built-for-h3-processor-on-top-of-gadgetfs/
just line

 

else if (stat(DEVNAME = "sunxi_usb_udc", &statb) == 0) {

 

should be replaced by line

 

else if (stat(DEVNAME = "musb-hdrc", &statb) == 0) {
 

Hope this helps. 

Just curious, where would it be possible to find any information (in Armbian documentation) about that? 

<

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines