RE: USB1.1/USB2.0 consecutive transfers on the same bus within Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 1 Oct 2010, [Windows-1252] Hársszegi Tibor wrote:

> > > Hi,
> > >
> > > Our company is trying to use a USB2VGA adapter from StarTech.com
> > > (practically it is a sisusbvga stuff) under OpenSuse. The USB2VGA
> > > adapter operates at USB 2.0 high speed. We also have a USB
> > 1.1 printer using usblp. The 2 devices are one the same bus.
> > >
> > > T:  Bus=04 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
> > > D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > > P:  Vendor=0711 ProdID=0900 Rev= 1.10
> > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=222mA
> > > I:  If#= 0 Alt= 0 #EPs= 9 Cls=ff(vend.) Sub=00 Prot=00 Driver=sisusb
> > >
> > > T:  Bus=04 Lev=02 Prnt=02 Port=05 Cnt=02 Dev#=  7 Spd=12  MxCh= 0
> > > D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > P:  Vendor=13ea ProdID=0326 Rev= 0.16
> > > S:  Manufacturer= Scientific Games Ltd
> > > S:  Product=USB PRINTER
> > > S:  SerialNumber=0100001060577867
> > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=400mA
> > > I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp

You should have included the information for the other devices on this 
bus.  What is the overall topology?

> > > When doing transfers to the printer the sisusbvga starts to
> > act crazy,
> > > starts - after a while - refusing URBs with EPIPE or similar.

I tried doing a similar test on my system.  It has an Intel ICH5 
chipset.  I plugged a high-speed hub into the computer, a old 
full-speed (USB-1.1) hub into that, a flash drive into the full-speed 
hub, and a high-speed LaCie cdrom drive into the high-speed hub:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  2, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.21-168.fc12.i686 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=07 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0608 Rev= 7.02
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 4
D:  Ver= 1.01 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0604 Rev= 0.12
S:  Product=USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=01 Lev=03 Prnt=04 Port=03 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1307 ProdID=0165 Rev= 1.00
S:  Manufacturer=USBest Technology
S:  Product=USB Mass Storage Device
S:  SerialNumber=00000000000126
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=8ms

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  7 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=059f ProdID=0202 Rev=10.06
S:  Manufacturer=LaCie
S:  Product=LaCie StudioDrive USB2        
S:  SerialNumber=11000E000034D580
C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms

I did concurrent transfers, reading from both the flash device (4 MB)  
and the cdrom (12 MB) at the same time.  The transfers took a few 
seconds and there were no errors.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux