Hi,
One question regarding this Gadget FS, do I have to mount that as a
device on linux host so that I can use this driver? if yes, can
anybody tell me why?
I'm not sure if I'm following your question. The gadgetfs provides a
file system on the embedded Linux that you need to mount to make your
user-space driver work it that's what you mean.
On the USB host side you need a class driver for whatever class you
are implementing.
I originally thought Gadget FS is just a API driver which exposes
USB endpoint interrupts to user mode, so that User can design USB
control parsing engine in application threads,
Is there a need to do the mounting?
GadgetFS mounts a file system that provides a file that you open in
user space to control the ep0, and once the device is configured it
creates files for every endpoint that you created.
Try running the usb.c example code and you will see how it works.
Diego Dompe
RidgeRun Engineering
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source