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

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
> >
> > 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?

No.


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

Not really ... remember that one of the things being tested is whether
certain kinds of operation trigger low level races in peripheral and/or
host side controller drivers.  Forcing round-trip delays to userspace
in the critical between-packets paths would prevent such testing.


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