From: Roger B. <ro...@ro...> - 2004-02-24 05:35:33
|
> I made a version of sendpbcommand in com_sanyo5500 that seems to get > around timeouts. I simply rewrite the output packet and wait for the > reply again. This can work for the sanyo phones since there are no init > and nextentry as there are for the LG phones. When you are happy with it, can you put it back in the main code for all phones :-) Maybe add a safe to retry parameter to the routine which would always be yes for Sanyo, and no for Brew and LG stuff? > E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > I think the Sanyo 5500 is also 64 characters. That is what it looks like for those endpoints. It doesn't quite explain why Snoopy was claiming packets larger than that since that would be a violation of the USB protocol.bp The USBFile code in BitPim chops up USB requests and responses to be the max size (or the size requested if smaller). Maybe the kernel internals do the same as well. Roger |