Jump to content
Sign in to follow this  
JasonS

How to utilize the USB-Type C port for custom USB gadget

Recommended Posts

Hi there,

    I would like to replace the RPi4 with Tinker Board and the most important feature is the USB ethernet gadget, which is relatively easy to setup on RPi4.

    Is there any way to disable the ASUS default USB OTG function and add custom function on Tinker Board (either Tinker Board 2 or Tinker Board R2.0)?
    When I try to write any folder/file into

/sys/kernel/config/usb_gadget

  it is always rejected with the error: Cannot allocate memory

  Thanks in advance.

Share this post


Link to post
Share on other sites

hello @JasonS

if you're using debian os, you can modify /etc/init.d/adbd.sh to ultilize the usb gadget

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...