On Thursday 15 March 2007 11:01 am, Wael Adel wrote:
> On Wednesday 23 August 2006 21:35 am, David Brownell wrote:
> 
> >> Both the UDC driver and gadgetfs are built as loadable modules. After
> >> successfully loading these two modules, I was able to mount gadget fs by
> >> doing "mount -t gadgetfs gadgetfs /dev/gadget". However only my UDC
> >> driver name ($CHIP?) showed up under /dev/gadget. I didn't see any
> >> endpoints under /dev/gadget. Or I have to create those endpoint files
> >> myself?
> 
> >It's behaving correctly.  You can't open those endpoint files until
> >you've first activated the device and thereby promised to respond to
> >requests on ep0.  See the sample driver code, downloadable from the
> >relevant section of http://www.linux-usb.org/gadget
> 
> what do u mean by activating the device? it is already opened and the
> configs are written to this device.

Without me looking more deeply at this ... did you really write
enough configuration information to ep0?  And have you issued a
read request to ep0?

This is something you should be able to debug, and thus find
out what you're not doing right.


> could u please say it in more simple way?
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to