PINE64
USB 2.0 OTG port - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: USB 2.0 OTG port (/showthread.php?tid=6629)



USB 2.0 OTG port - gautham159 - 10-05-2018

I have rock64 board, flashed Ubuntu 18.04 Bionic minimal 64bit Image booting off of sd-card. Updated rk3328-rock64.dts


Code:
&usb20_otg {
    dr_mode = "**peripheral**";
    status = "okay";
};

compiled and updated rk3328-rock64.dtb. Connected usb (type A) cable, rock64 USB 2.0 OTG port - latop. Laptop couldn't detect the usb-serial connection though.


Is rock64 OTG port working? am I missing any steps?

Any suggestion is very much appreciated because otg support is the blocker!!

Thank you in advance,
Gautham



RE: USB 2.0 OTG port - gamelaster - 10-07-2018

Hi,

You must enable USB Serial gadget and configure it to make it working.
There is commit made by ayufan on his repo which adds ETH gadget, look it and you can change it to be as Serial gadget:
https://github.com/ayufan-rock64/linux-package/commit/0c13cf09057a6e753cd03a270e304e99b691ff4a
Also, there is some articles how to make it on Raspberry Pi Zero: https://forum.armbian.com/topic/1735-tutorial-use-armbian-to-set-up-rpi-zero-for-g_serial-connection/ or on AllWinner devices https://github.com/dpavlin/usb-otg .

Good luck

-gamiee


RE: USB 2.0 OTG port - gautham159 - 10-10-2018

Thank for the suggestion. Works like a charm !!.


RE: USB 2.0 OTG port - jamie982 - 10-11-2018

(10-10-2018, 11:40 AM)gautham159 Wrote: Thank for the suggestion. Works like a charm !!.

any chance you can give me a rundown of what exactly you did?