-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dwc2 #9
Comments
No, dwc2 is not needed for the beaglebone. |
Thanks. I removed that line, and now I am getting a different error from 'mount -t gadgetfs gadgetfs /dev/gadget': 'modprobe gadgetfs' seems to work fine, and I got the following in dmesg: Any idea what else I need to do? |
This probably means that the usb device driver is not loaded. Check if you have an usb device driver ko module available. If not you may have to build it from the kernel sources. |
It seems I have the usb driver loaded: debian@beaglebone:~/uMTP/uMTP-Responder/conf$ lsmod Which image did you use for validation on beaglebone black? Mine is the default one (Debian 9.5 2018-08-30 4GB SD IoT) downloaded from their website: https://beagleboard.org/latest-images |
Ok i see : You have the libcomposite layer loaded conflicting with the gadgetfs layer. 2 solutions :
|
Thanks. I decided to try the FunctionFS mode. I uncommented these lines in umtprd.conf:
Then I ran the code in umtprd-ffs.sh. I had to change the executable permission on the files for 'echo' to work. Other then that, the script ran fine for the most part but it gives an error on the last line: echo 300000.gadget > cfg/usb_gadget/g1/UDC Any idea what went wrong? Also I noticed the line that is invoking 'umtprd' is commented out in the file. Was this intentional? |
I got it running on the BeagleBoneBlack (with disabling libcomposite)
How i got rid of libcomposite: in the file
after a restart These are the commands i used to download and setup uMTP-Responder
I added the # to the
at the end of the File To start uMTP-Responder:
It may not be the best way to get it to work, but it works. |
Thanks for your feedback ! Anyway i recommend to use the standard FunctionFs mode since this is now supported by the uMTP-Responder. |
Hi, I have built umtprd on beaglebone black running their default Debian image (Debian 9.5 2018-08-30 4GB SD IoT), and put it under /usr/bin. I have gadgetfs, but got an error when running umtprd.sh:
modprobe: FATAL: Module dwc2 not found in directory /lib/modules/4.14.67-ti-r73
Looks like the script is trying to invoke modprobe on dwc2. What is the latter - is it necessary and what should I do to get it?
The text was updated successfully, but these errors were encountered: