On Tue, 16 May 2006, aermongk wrote:

> >>T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
> >>D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> >>P:  Vendor=2001 ProdID=3c00 Rev= 0.01
> >>S:  Manufacturer=ANI
> >>S:  Product=802.11g WLAN Adapter
> >>C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA
> >>I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=rtusb
> >>E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> >>E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> >>    
> >>
> >
> >According to this, the MxPS value for endpoint 1 is 512.  Not 64.
> >  
> >
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
>                                            ^^^^^^^
> How about this value?  Isn't this is what configured on the device?

That is the MaxPacket value for endpoint 0.  The last two lines above show
the MaxPacket values for endpoint 1.

> I did a printk of this value for both endpoint 0 and 1 right at the
> beginning of probe function and the values are 64. That was the reason
> that I mentioned 64.  I did try to increase the value to 256, again
> from inside probe function, but it didn't help.

You must not change these values.  They are defined by the device, not by 
the kernel.

> BTW, I also tried usbmon as you'd suggested.  Do you mind looking at
> the files that I've captured?  If you don't mind I will send to you
> directly.  There are 3 files that I captured - one for channel 6,
> one for channel 11, and last is chan 6 and 11 running simultaneously.
> The first 2 files are ~575K and last is ~1.12M.  I am still trying
> to figure out the values produced by usbmon and what are these
> timings meant.  You probable can spot problem much faster than I do.
> Please let me know if I can sent to you.

Try sending just the first 100 KB of the channel 6 file and the first 200
KB of the dual-channel file.  You can gzip them if you want; that should 
shrink them quite a bit.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to