thagrol / Guides

405 stars 35 forks source link

USB Mass Storage PDF - Section 5.4.4 missing command from Section 5.3.3 #33

Open mlugo-apx opened 3 months ago

mlugo-apx commented 3 months ago

Section 5.4.4 is missing the symbolic link command from Section 5.3.3:

ln -s functions/mass_storage.usb0 configs/c.1/

I was getting this error in dmesg:

` [ 112.220427] Mass Storage Function, version: 2009/09/11 [ 112.220475] LUN: removable file: (no medium) [ 112.321484] Config c/1 of mygadget needs at least one function. [ 112.321559] udc 20980000.usb: failed to start mygadget: -22 [ 112.321582] configfs-gadget.mygadget: probe of gadget.0 failed with error -22 [ 112.321808] UDC core: mygadget: couldn't find an available UDC or it's busy

`