View Full Version : USB1 speed on USB2??

06-21-2004, 01:39 AM
I'm using Knoppix 3.4 and booting with knoppix26.
I have a USB2 CF card reader in a USB2 PCI port and can mount a CF card in the reader with no problem. But when I read lots of images from the card I only get USB1 transfer rates of about 700kB/sec. When I use the same reader in Windows I get around 2MB/sec. I'm new at this and am not sure what, if anything, can be done to get USB2 transfer rates from the reader.

This is what I get from dmesg | grep usb:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb 1-1: new full speed USB device using address 2
usb 1-2: new low speed USB device using address 3
usb 3-1: new full speed USB device using address 2
usb 2-2: new full speed USB device using address 2
usbcore: registered new driver usb-storage
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0014
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver hiddev
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.00 Mouse [BTC USB Cordless Mouse] on usb-0000:00:04.2-2
drivers/usb/input/hid-core.c: ctrl urb status -32 received
hiddev96: USB HID v1.00 Device [BTC USB Cordless Mouse] on usb-0000:00:04.2-2
usbcore: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver

and this is the relevant entry in /proc/bus/usb/devices:

T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0760 Rev= 1.13
S: Product=Flash Reader
S: SerialNumber=00220
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

and this is the line for the USB reader in /etc/fstab:
/dev/sda1 /mnt/sda auto noauto,users,exec 0 0

I changed the /mnt/sda1 to /mnt/sda to suit a program I wrote.

Is there something I can do to soup up the transfer rates?
And can I set up the entry in /etc/fstab so that when I put a card in the reader it is auto mounted?


06-21-2004, 02:18 AM
Looks like I've found the answer. I somehow missed a previous post about this issue but have now read it and tried out the suggestion:

su-to-root and:
'modprobe ehci-hcd'

Having done the modprobe, /etc/fstab now contains an entry for /dev/sdb1 instead of /dev/sda1 and the reader now transfers at 2.81MB/sec - 40% faster than window's best speed :-)