As i am using imx6 board as peripheral and mounting of gadgetFS also done. But i am unable to see usb port at host side . by command lsusb.
After mounting gadgetFS logs i'm getting is -
root@imx6ull14x14evk:~# mkdir /dev/gadget
root@imx6ull14x14evk:~# mount -t gadgetfs gadgetfs /dev/gadget
root@imx6ull14x14evk:~# cd /dev/gadget/
root@imx6ull14x14evk:/dev/gadget# ls
2184000.usb
So what changes and what things i have to update to get usb port at host . and i'm using imx6ull board as peripheral.
Hello Wigros,
Thank you for reply , but i go through is code and I build peripheral side code successfully but unable to get usb port number at PC (host) side . So, can i made any changes to kernel customization???
How can I detect usb port at Host side as I'm using IMX6ULL evaluation board.
Did you load gadgetfs.ko by "insmod gadgetfs.ko" ?
or compilied it into linux kernel?
You can also refer to the link, very similar to your question.
https://community.nxp.com/thread/487090
Weidong
Hello venkat,
Here is the detailed information:
Create your own USB gadget with GadgetFS
Hope the information is helpful for you!
Have a great day!
B.R,
Weidong