Re: question about usbtest.c, test.sh and testusb.c?

"Wael Adel" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 4/8/07, Alan Stern <[email protected]> wrote:
> On Sun, 8 Apr 2007, nesta wrote:
>
> > hello guys,
> > i want to test the iso packets written by the host so
> > i should write : ./test.sh -t15
> > everything is fine uptill now but my question is:
> >
> > where is the buffer that is filled by the iso-packets?
> >
> > i have searched for it in testusb.c and usbtest.c but i cant find it?
> >
> > can anyone tell me please where is it?
>
> The buffer is created in usbtest.c:iso_alloc_urb(), at the point where it
> calls usb_buffer_alloc().

Actually cant i fill this buffer in user space?
it is more logic to fill the buffer in the user-space (testusb.c)
then let the usbtest.c module send the iso-packet that contains the
data of the filled buffer.

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