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