Hi guys,
I am newbie trying to come up with my first USB driver, I've read
through the usb-skeleton.c file and find it to be a very helpful
starting point for a beginner like myself. There are several things
though I am interested to learn a bit more. For example, is it a
mandatory thing to set
Gary Ng wrote:
For example, is it a
mandatory thing to set the urb transfer_buffer size same as the device
endpoint max packet size? What could happen if the urb transfer_buffer
size is different from the max packet size?
Don't make the i/o buffers small unless they need to be; it's a lot
On Tue, 8 Jul 2003, Gary Ng wrote:
Hi guys,
I am newbie trying to come up with my first USB driver, I've read
through the usb-skeleton.c file and find it to be a very helpful
starting point for a beginner like myself. There are several things
though I am interested to learn a bit more. For
Thanks very much for such a quick feedback. The information is very
helpful. Under 2.4, does that mean I have to set USE_QUEUE_BULK
in transfer_flags if I want to invoke usb_submit_urb() multiple times
without waiting for the completion handler to be called?
Thanks,
Gary
--- Alan Stern [EMAIL
On Tue, 8 Jul 2003, Gary Ng wrote:
Thanks very much for such a quick feedback. The information is very
helpful. Under 2.4, does that mean I have to set USE_QUEUE_BULK
in transfer_flags if I want to invoke usb_submit_urb() multiple times
without waiting for the completion handler to be
On Tuesday 08 July 2003 20:32, Alan Stern wrote:
On Tue, 8 Jul 2003, Gary Ng wrote:
Thanks very much for such a quick feedback. The information is very
helpful. Under 2.4, does that mean I have to set USE_QUEUE_BULK
in transfer_flags if I want to invoke usb_submit_urb() multiple times
Duncan Sands wrote:
On Tuesday 08 July 2003 20:32, Alan Stern wrote:
On Tue, 8 Jul 2003, Gary Ng wrote:
Under 2.4, does that mean I have to set USE_QUEUE_BULK
in transfer_flags if I want to invoke usb_submit_urb() multiple times
without waiting for the completion handler to be called?
I think
Thanks again. I'll make sure the driver will work under 2.5/2.6 as
well.
Gary
--- Duncan Sands [EMAIL PROTECTED] wrote: On Tuesday 08
July 2003 20:32, Alan Stern wrote:
On Tue, 8 Jul 2003, Gary Ng wrote:
Thanks very much for such a quick feedback. The information is
very
helpful. Under