On Thu, Aug 17, 2000 at 02:16:40PM +0000, Charlie Flynn wrote:
<...>
> I am having problems with getting my PC to receive the full amount of
> packets sent by the iPAQ. It seems to drop the first 64 byte packet (
> the packet size is set to 64 bytes both endpoints) If I send 63 bytes my
>
> callback routine isn't entered. If I send 68 bytes my callback routine
> reports 4 bytes and if I send 132 bytes my callback routine reports
> 132-64 bytes and so on. The data reported by the callback routine is
> consistent with the packet received.
<...>
That is strange. I've just tested usb-uhci again with the usbstress-package
(for Anchor/Cypress EZ-USB chips). It has a test called bulk echo.
Essentially it sends 480Bytes in one URB to the chip and reads 480Bytes
back:
unsigned int size = 480;
<...>
for (r = 0; r < size; r++)
buf[r] = random();
r = usb_bulk_msg(dev, USB_DIR_OUT|(2*intf), size, buf, 1000);
<...>
r = usb_bulk_msg(dev, USB_DIR_IN|(2*intf), sizeof(bufr), bufr, 1000);
The compare buf vs. bufr afterwards shows no differences, so all data was
received.
The test was run on the usb-uhci version 1.237 (2.4.0-pre7 or such...).
Can you show some code?
BTW: The linux-usb@suse mailing list is almost dead, please switch to
linux-usb-devel at sourceforge.
--
Georg Acher, [EMAIL PROTECTED]
http://www.in.tum.de/~acher/
"Oh no, not again !" The bowl of petunias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]