Displaying 1 result from an estimated 1 matches for "pipe_isochron".
2006 Jul 06
1
tracing a problem with newhidups
...urb.number_of_packets = 0; /* don't do isochronous yet */
urb.usercontext = NULL;
ret = ioctl(dev->fd, IOCTL_USB_SUBMITURB, &urb);
----------
and in the kernel code of linux/drivers/usb/host/uhci.c:
----------
static int uhci_submit_urb(struct urb *urb)
[...]
case PIPE_ISOCHRONOUS:
if (urb->bandwidth == 0) { /* not yet checked/allocated
*/
if (urb->number_of_packets <= 0) {
ret = -EINVAL;
----------
So it seems that setting number_of_packets to zero is directly related with
the kernel...