Bananian

OTG g_mass_storage: no such device

15 6296
Strange thing though, I copied the USBC0 section from the forums  fex file to the fex file I was using originally (BananaPi-OTG/script.fex) but it rendered the same response as the one I received here: http://forum.lemaker.org/forum.p ... amp;page=1#pid90749

Try removing and reinserting the storage module a few times when you get the "usb device is not active " error....I'm sure you've tried.

With the older(working) fex file try using the "stall=0" option with modprobe
  1. modprobe g_mass_storage file=xyz stall=0
Copy the Code


In the working Fex try changing under [usbc0]
usb_port_type = 0
usb_detect_type = 0

Just sth to try out,though I'm not too hopeful.

Hey Sanshijoseph I finally had some time to try it out.
Adding the stall=0 part fixed the problem for me.

Thank you so much for the great advice and the time you took to walk me through it!

Getting this working is a life-saver! (Quite literally even, we'll be using the BananaPi as a proof of concept device in a medical application)

I'm truly forever grateful!

Hi Wouter...

nice to know you got it working and thanks for posting the final fix which worked.

I have the same problem.
I'm using bananian 15-08.
bananian-hardware set to bananapi-otg

stall=0 dosn't help me.

there are any other possibility to get OTG working?

torgiren replied at Jan 06, 2016 07:17
I have the same problem.
I'm using bananian 15-08.
bananian-hardware set to bananapi-otg

Yes you need to make some changes in your fex-file.

Convert your script.bin into script.fex.

Open the fex-file with an editor and find and change these two parameters:


[usbc0]
usb_port_type = 0
usb_detect_type = 0

Convert it back to script.bin and reboot. USB OTG is in device-mode and your banana will act as a client to a host.

You have to log in before you can reply Login | Sign Up

Points Rules