> > 2. Try exactly the same script I gave you, do not try change any > > charaters (except the position for your application) > > > > > > cd /sys/kernel/config/usb_gadget > > > > cd g1 > > > > echo "0x1d6b" > idVendor > > > > echo "0x0105" > idProduct > > > > mkdir /dev/usb-ffs > > > > mkdir functions/ffs.usb > > > > mount -t functionfs usb /dev/usb-ffs ln -s functions/ffs.usb > > > > configs/c.1 /home/root/usb_test/ffs_test/ffs-test & /* your own > > > > test application */ while [ ! -e /dev/usb-ffs/ep1 ] do echo "." > > > > sleep 1; > > > > done > > > > > > > > [1]: I actually did not have CONFIG_USB_CONFIGFS_F_FS nor F_NCM/ECM > set however the necessary code seemed to have been pulled in some other way > and the modules were available. They were loaded, and as explained my shell- > based configfs code worked. They are set now and the problem persists. > > > > Hi, sorry I was not clear. The kernel config is fine, and > CONFIG_USB_CONFIGFS_F_FS is set. I run your exact script (minus the ffs-test > line) and it fails to create the functions/ffs.usb directory as I described before. I can > create other functions just fine. You may enable debug at configfs.c, f_fs.c and your udc driver to see what happened. Peter