Hi,

the EP_REGS_OUT endpoint on my device is interrupt not bulk [1].
This cause the problem described on
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=116129264007056&w=2 [2]
 .

Why are we using bulk urb on an endpoint declared as interrupt ?

Should that be fixed ?

Matthieu

[1]
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=079b ProdID=0062 Rev=48.10
S:  Manufacturer=ZyDAS
S:  Product=802.11b/g USB WLAN
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=zd1211rw
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=04(O) Atr=03(Int.) MxPS=  64 Ivl=125us


[2]
bulk write are print where we do usb_bulk_msg(udev, usb_sndbulkpipe(udev,
EP_REGS_OUT)

Oct 20 20:55:39 localhost kernel: bulk write Oct 20 20:55:39
localhost kernel: usb 1-2: link qh0-00ff/ed6f7180 start 0 [2/0 us] Oct 20
20:55:39 localhost kernel: usb 1-2: unlink qh0-00ff/ed6f7180 start 0 [2/0
us] Oct 20 20:55:39 localhost kernel: bulk write Oct 20 20:55:39 localhost
kernel: usb 1-2: link qh0-00ff/ed6f7180 start 0 [2/0 us] Oct 20 20:55:39
localhost kernel: usb 1-2: unlink qh0-00ff/ed6f7180 start 0 [2/0 us]


-------------------------------------------------------------------------
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
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to