JasonS 0 Posted April 27, 2022 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
tooz 53 Posted July 5, 2022 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