Re: [linux-usb-devel] reading URBs in usbtest.c

2006-02-01 Thread Greg KH
On Tue, Jan 31, 2006 at 05:37:37PM -0800, ashili wrote: > hi all: > I am trying to make/understand the misc/usbtest.c from > kernel tree . simple_io method is used for sending > urbs (by calling usb_submit_urb); however, I did not > follow how it is reading URBs for other test cases in > usbtest_io

Re: [linux-usb-devel] reading URBs in usbtest.c

2006-02-01 Thread Alan Stern
On Tue, 31 Jan 2006, ashili wrote: > hi all: > I am trying to make/understand the misc/usbtest.c from > kernel tree . simple_io method is used for sending > urbs (by calling usb_submit_urb); however, I did not > follow how it is reading URBs for other test cases in > usbtest_ioctl method Your que

[linux-usb-devel] reading URBs in usbtest.c

2006-01-31 Thread ashili
hi all: I am trying to make/understand the misc/usbtest.c from kernel tree . simple_io method is used for sending urbs (by calling usb_submit_urb); however, I did not follow how it is reading URBs for other test cases in usbtest_ioctl method Also, LDD3 book speaks about blocking read from bulkendp