Re: [PATCH] usb bulk transfer: 1024 byte packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 14 Apr 2007 09:14:25 -0400 (EDT), "Jeremy C. Andrus" <[email protected]> wrote:
> On Fri, April 13, 2007 22:16, Pete Zaitcev wrote:

> > The transfer size in the URB is not limited by the maximum packet
> > size. The HC driver splits up the transfer as specified by URB into
> > the required number of packets.
> 
> The problem was not in the transfer from PC -> Device, but from Device
> -> PC. If I remember correctly, the 512 limit (in the
> urb->transfer_flags) is used to setup the DMA. When the device sent
> packets which were 1024 bytes in size, the urb came back with a status
> set to -EOVERFLOW.

It's a bug in your driver. Supply the correct size with the URB and
all will be fine. Like I said, HC splits up the transfer transparently,
no matter what direction.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux