Re: is gadgetfs driver so hard that no one can answer me?

nesta <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Alan Stern <stern <at> rowland.harvard.edu> writes:

> 
> On Sat, 17 Mar 2007, nesta wrote:
> 
> > hi all,
> > i m very astonished why isnt there anyone who can answer me about how to 
use 
> > the gadgetfs i m gonna be made?
> > i begin to wonder is it very toooooooooo hard ?
> > again all what i wanna do is:
> > make my computer and my kit communicate with each other through usb cable?
> > is so hard or impossible thing if so please someone can tell me that what 
i m 
> > trying to do is impossible and put me on the right way on how to make this?
> 
> What are you talking about?  You (nesta) haven't posted any questions 
> about gadgetfs.  There have been some questions from Wael Adel using the 
> same email address, but they have been answered by David Brownell.
> 
> Using gadgetfs isn't hard.  Trying to explain it to someone who isn't
> willing to go through the examples and figure things out for himself is
> _very_ hard.
> 
> Alan Stern
> 
> -------------------------------------------------------------------------
> 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 <at> lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> 
> 

thanks a lot Alan for your help but 
i wanna tell u somthing:
it is about usb.c did u take a look at this file?  u will find in the function 
named by
 autoconfig,
that
it does not contain any case for omap_udc but it only contains cases for 
net2280,  pxa2xx_udc,   goku_udc and sh_udc
so i have increased a case for omap_udc as follows:
 
********************************* 
else if (stat (DEVNAME = "omap_udc", &statb) == 0) {

HIGHSPEED = 0;

device_desc.bcdDevice = __constant_cpu_to_le16 (0x0106),

fs_source_desc.bEndpointAddress = USB_DIR_IN | 1;

EP_IN_NAME = "ep1in";


fs_sink_desc.bEndpointAddress = USB_DIR_OUT | 2;

EP_OUT_NAME = "ep1out";

source_sink_intf.bNumEndpoints = 3;

fs_status_desc.bEndpointAddress = USB_DIR_IN | 3;

EP_STATUS_NAME = "ep3in";


}

***************************************************************

do u have any suggestion about above part  that i have increased?





-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.