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

From: Pete Zaitcev
Date: Fri Apr 13 2007 - 22:18:41 EST


On Fri, 13 Apr 2007 12:56:47 -0400, "Jeremy C. Andrus" <jeremy@xxxxxxxxxxx> wrote:

> I recently ran into a couple of USB devices which insisted on using 1024
> byte packets in bulk transfer mode (despite the hard limit of 512
> established in the spec). I really wanted to use these devices, so I
> created a kernel patch which allows the use of 1024 byte URBs, but does
> not interfere with normal (512 byte) operation. I did this through a
> bit in the transfer_flags bitfield.

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.

I think you might want to write to linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
to discuss the specifics of what it mean "devices insisted on 1024".
I presume the devices didn't show up on your doorstep with baseball
bats to have a little chat. So there must be a specific failure symptom.
Until you share it, I don't see this patch going anywhere.

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