High speed USB 2.0

Hans Petter Selasky hselasky at c2i.net
Tue Jun 13 14:20:37 UTC 2006


Hi,

On Tuesday 13 June 2006 15:37, Василий Петров wrote:
> Do you mean you have tested with umass driver original in 6.0-RELEASE? I
> use this version now. Or it is already reworked some way?

No.

> dmesg says nothing special, just one line:
> Jun 13 11:24:14 other kernel: umass0: vendor 0x05e3 USB TO IDE, rev
> 2.00/0.33, addr 2
> then there are lines from da:
> Jun 13 11:24:14 other kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Jun 13 11:24:14 other kernel: da0: <IC25N040 ATMR04-0 0811> Fixed Direct
> Access SCSI-0 device
> Jun 13 11:24:14 other kernel: da0: 40.000MB/s transfers
> Jun 13 11:24:14 other kernel: da0: 38154MB (78140160 512 byte sectors: 255H
> 63S/T 4864C)

Your device is at least high speed, that is what the 40.000MB/s indicates.

> So the problem in umass driver? 

Not really, but "umass" can be re-worked for higher performance.

I hope you can wait some weeks until the work is complete.

If you cannot wait, then have a look at:

http://www.turbocat.net/~hselasky/usb4bsd

I recommend that you install the latest version from SVN:

svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b

Then "cd i4b/trunk/i4b/FreeBSD.usb"

make S=../src package
make help | less
make install

Then build a new kernel, and reboot. Then try a simple:

dd if=/dev/da0 of=/dev/null bs=65536

You maybe want to try this first also, so that you have something to compare 
against. What does the following command show, if you let it run for some 
minutes, and the press CTRL+C ?

dd if=/dev/da0 of=/dev/null bs=65536

NOTE: there is a great likelihood that the system will panic if you have swap 
enabled, while using USB device drivers that are under my "emulation layer". 
This currently includes "umass". So far I have converted: "ugen", "ulpt", 
"ums", "ukbd" and "uhid".

Does it help?

--HPS


More information about the freebsd-usb mailing list