I'm getting about 20x slower throughput from my USB scanner on Linux
vs. Windows, and it looks like it's the USB subsystem.  Everything is
working, just at a crawl's pace (takes 2 hours to scan vs. 10
minutes).  Basicly, it is unusable.  I would appreciate any help in
debugging this:

Is this to be expected?  

Can anything be tweaked in the USB to get a better measure of
throughput?

Are there any known issues with my chipset?

My Stats:

Dual-PIII,667MHz, 512MB, Tyan Tiger 133 (S1834) Motherboard, uses Apollo Pro
133A Chipset.  Kernel 2.4.13, also tried with 2.4.8 with no
difference.

[cat /proc/bus/pci/devices]
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Port=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Port=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Port=ff MxPS= 8 #Cfgs=  1
P:  Vendor=04b8 ProdID=0110 Rev= 3.02
S:  Manufacturer=EPSON
S:  Product=EPSON Scanner
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Port=ff
Driver=usbscanner
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms


[lspci -v]
00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev
c4)
        Flags: bus master, medium devsel, latency 0
        Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP]
(prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: dc000000-ddffffff
        Prefetchable memory behind bridge: d0000000-d7ffffff
        Capabilities: [80] Power Management version 2

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Apollo PRO]
(rev 23)
        Subsystem: VIA Technologies, Inc. VT82C596/A/B PCI to ISA
        Bridge
        Flags: bus master, stepping, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo]
(rev 10) (prog-if 8a [Master SecP PriP])
        Flags: bus master, medium devsel, latency 32
        I/O ports at d000 [size=16]
        Capabilities: [c0] Power Management version 2

00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 11)
(prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d400 [size=32]
        Capabilities: [80] Power Management version 2

00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev
30)
        Flags: medium devsel

00:0f.0 Ethernet controller: National Semiconductor Corporation:
Unknown device 0020
        Subsystem: Netgear: Unknown device f312
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d800 [size=256]
        Memory at df000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [40] Power Management version 2

00:10.0 Multimedia audio controller: Creative Labs SB Live! EMU10000
(rev 05)
        Subsystem: Creative Labs CT4760 SBLive!
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at dc00 [size=32]
        Capabilities: [dc] Power Management version 1

00:10.1 Input device controller: Creative Labs SB Live! (rev 05)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 32
        I/O ports at e000 [size=8]
        Capabilities: [dc] Power Management version 1

00:12.0 Multimedia video controller: Brooktree Corporation Bt878 (rev
02)
        Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at df001000 (32-bit, prefetchable) [size=4K]

00:12.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
        Subsystem: Hauppauge computer works Inc.: Unknown device 13eb
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at df002000 (32-bit, prefetchable) [size=4K]

00:13.0 SCSI storage controller: Advanced System Products, Inc
ABP940-UW
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at e400 [size=64]
        Memory at df003000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at <unassigned> [disabled] [size=64K]

01:00.0 VGA compatible controller: nVidia Corporation NV15 (Geforce2
GTS) (rev a4) (prog-if 00 [VGA])
        Subsystem: LeadTek Research Inc.: Unknown device 2840
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
        Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
        Capabilities: [44] AGP version 2.0

[cat /proc/interrupts]
           CPU0       CPU1
  0:     738772     730682    IO-APIC-edge  timer
  1:      10887      11346    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:          0          1   IO-APIC-level  bttv
  8:          1          0    IO-APIC-edge  rtc
 10:      23246      22744   IO-APIC-level  EMU10K1
 11:     189553     189338   IO-APIC-level  advansys, usb-uhci, eth0
 12:      81370      82479    IO-APIC-edge  PS/2 Mouse
 14:      12107       9016    IO-APIC-edge  ide0
 15:          1          5    IO-APIC-edge  ide1
NMI:    1469386    1469386
LOC:    1469408    1469406
ERR:          0
MIS:          0

[lsmod]
Module                  Size  Used by
scanner                 8720   0  (unused)
usb-uhci               22608   0  (unused)
binfmt_misc             6464   1
emu10k1                62768   1
sound                  60832   0  [emu10k1]
soundcore               4624   7  [emu10k1 sound]
ac97_codec              9344   0  [emu10k1]
nfsd                   71232   8  (autoclean)
lp                      5920   0
parport_pc             20448   1
parport                26304   1  [lp parport_pc]
nfs                    79104   5  (autoclean)
lockd                  51152   1  (autoclean) [nfsd nfs]
sunrpc                 68352   1  (autoclean) [nfsd nfs lockd]
autofs4                10224   3  (autoclean)
af_packet              14000   1  (autoclean)
usbcore                53824   1  [scanner usb-uhci]
natsemi                14928   1  (autoclean)
nls_iso8859-1           2880   3  (autoclean)
isofs                  27072   3  (autoclean)
inflate_fs             19520   0  (autoclean) [isofs]
loop                   11280   6  (autoclean)
tuner                   8528   1  (autoclean)
tvaudio                10400   1  (autoclean)
msp3400                14752   1  (autoclean)
bttv                   60880   0  (unused)
videodev                5504   3  [bttv]
i2c-algo-bit            7328   1  [bttv]
i2c-core               13920   0  [tuner tvaudio msp3400 bttv
i2c-algo-bit]
rtc                     6608   0  (autoclean)
reiserfs              160064   5
advansys               86828   0  (unused)
sd_mod                 11416   0  (unused)
scsi_mod               96028   2  [advansys sd_mod]

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to