From owner-freebsd-usb@FreeBSD.ORG Mon Dec 3 18:14:09 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2256607 for ; Mon, 3 Dec 2012 18:14:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 384588FC08 for ; Mon, 3 Dec 2012 18:14:09 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 348613203; Mon, 03 Dec 2012 19:09:01 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: run(4) needs clarification Date: Mon, 3 Dec 2012 19:10:37 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <50BCC386.9060002@gmail.com> In-Reply-To: <50BCC386.9060002@gmail.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201212031910.37071.hselasky@c2i.net> Cc: Volodymyr Kostyrko X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 18:14:09 -0000 On Monday 03 December 2012 16:21:42 Volodymyr Kostyrko wrote: > Hi all. > > As per man page run driver supports DWA-140, but I currently obtained > one piece that identifies as: > > # usbconfig -d 0.2 dump_device_desc > ugen0.2: <11n Adapter D-Link> at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x2001 > idProduct = 0x3c15 > bcdDevice = 0x0101 > iManufacturer = 0x0001 > iProduct = 0x0002 <11n Adapter> > iSerialNumber = 0x0003 <1.0> > bNumConfigurations = 0x0001 > > After patching kernel to make it detectable I got this: > > Dec 3 17:15:17 ar1l0u kernel: run0: 2.00/1.01, addr 2> on usbus0 > Dec 3 17:15:17 ar1l0u kernel: run0: MAC/BBP RT5392 (rev 0x0222), RF > unknown (MIMO 2T2R), address 84:c9:b2:82:8f:ba > > And chip RT5392 is not supported yet. > > This one is: > > H/W Ver.: B3 F/W Ver.: 2.00 > > Can anyone update man page to explicitly state that only ver. A* is > supposed to work? Send a patch for the man-page and I'll commit. --HPS