From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 02:54:53 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DF2B106566C for ; Sun, 14 Sep 2008 02:54:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 9439F8FC1A for ; Sun, 14 Sep 2008 02:54:52 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=twss2o89-wcA:10 a=UuSVL50luqwA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=7GPmbMBVDWicYbqaqPAA:9 a=wKTI2Lm5bI97a7R9g3EA:7 a=bY2-RPVGIUHZqkUS8m2iK69REJcA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1074761194; Sun, 14 Sep 2008 04:54:50 +0200 From: Hans Petter Selasky To: "Olivier SMEDTS" Date: Sun, 14 Sep 2008 04:56:42 +0200 User-Agent: KMail/1.9.7 References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> In-Reply-To: <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140456.43055.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 02:54:53 -0000 On Sunday 14 September 2008, Olivier SMEDTS wrote: > 2008/9/14 Hans Petter Selasky : > > What does: > > > > dd if=/dev/da0 of=/dev/null bs=65535 > > > > Output for your memory stick? > > [2:24] root@q 173 ~# dd if=/dev/da0 of=/dev/null bs=65535 > dd: /dev/da0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000040 secs (0 bytes/sec) > [2:24] root@q 174 ~# dd if=/dev/da0 of=/dev/null bs=64K > 15480+0 records in > 15480+0 records out > 1014497280 bytes transferred in 106.596679 secs (9517157 bytes/sec) > > I'm copying files to it (mount -t msdosfs) at a speed of 4MB/s. > > > Is there a way to know which ports handle USB2.0 (EHCI), and devices > wattage (like with the usbdevs command) ? Before usb2, I had the > following kernel output : Hi, The wattage can be read from the device descriptor. See "bMaxPower" or something like that, which uses 2mA units. I just added a "usbconfig" utility to my SVN repository. The output can probably be better and comments are welcome. The companion printouts are gone :-( --HPS