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

"Wael Adel" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 3/27/07, Alan Stern <[email protected]> wrote:
> On Tue, 27 Mar 2007, nesta wrote:
>
> > Dear Alan,
> > sorry for being late,i have tried the new version that u sent me,
> > finally the endpoint files have been created but still have the following
> > problem:
> > now if i want to send any data to the host, i should open the in-endpoint
> file
> > then write the data to this file, right?
> > this is done in the function named by simple_source_thread:
> > where the writing is done by the following line:
> >
> > status = write (source_fd, buf, len);
> >
> > when i put the previous line between 2 printf's i.e as follows:
> >
> > printf("1\n");
> > status = write (source_fd, buf, len);
> > printf("2\n");
> >
> > printing number 1 is done but number 2 is not printed.
> > so why this happen?
> > is it waiting for Acknowledge or what?
>
> I don't know; it depends on how the OMAP UDC driver works.

> > if so, should i read these data at the host side or what?
>
> Of course you should.

Actually i dont know how can i read the data at the host side i.e. my computer?
do u have any suggestions?
thanks in advance

>
> 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
_______________________________________________
[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.