mosen Posted October 1, 2016 Share Posted October 1, 2016 Hello, I want to use the OTG-Port of my cubietruck in normal host mode. According this conversation (link) I've changed script.bin. After that I've rebooted [usbc0] usb_used = 1 usb_port_type = 1 usb_detect_type = 0 usb_id_gpio = port:PH19<0><1><default><default> usb_det_vbus_gpio = port:PH22<1><0><default><0> usb_drv_vbus_gpio = port:PH17<1><0><default><0> usb_restrict_gpio = port:PH00<1><0><default><0> usb_host_init_state = 1 usb_restric_flag = 0 usb_restric_voltage = 3550000 usb_restric_capacity = 5 Unfortunately my cubietruck does not detect a USB-Device (e.g. USB-Stick). Neither dmesg nor lsusb. The USB-Stick works fine in the regular USB-Ports. I've installed the armbian image (Xenial Server - Vanilla 4.7.3-sunxi) Do I have to apply more changes to get my stick working on the OTG-Port? Thank you in advance! Link to comment Share on other sites More sharing options...
gnasch Posted October 1, 2016 Share Posted October 1, 2016 script.bin or .fex is for 3.x legacy kernel. for vanilla 4.x kernel you have to use device tree. There is something about it at: http://forum.armbian.com/index.php/topic/385-banana-pi-usb-otg/#entry16721 hth, gnasch Link to comment Share on other sites More sharing options...
zador.blood.stained Posted October 1, 2016 Share Posted October 1, 2016 On cubietruck with vanilla kernel OTG is working out of the box if you load at least 1 gadget module (i.e.g_serial), you don't need to edit anything. Link to comment Share on other sites More sharing options...
mosen Posted October 1, 2016 Author Share Posted October 1, 2016 OMG! Guys, thank you so much for your help! Link to comment Share on other sites More sharing options...
Recommended Posts