Date: Tue, 13 Jun 2006 16:20:36 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= <larry@fantasyclub.ru> Cc: freebsd-usb@freebsd.org Subject: Re: High speed USB 2.0 Message-ID: <200606131620.37139.hselasky@c2i.net> In-Reply-To: <200606131737.24211.larry@fantasyclub.ru> References: <200606131231.48216.larry@fantasyclub.ru> <200606131527.31582.hselasky@c2i.net> <200606131737.24211.larry@fantasyclub.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606131620.37139.hselasky>
