From owner-freebsd-wireless@freebsd.org Tue Dec 29 13:58:23 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59EAAA55657; Tue, 29 Dec 2015 13:58:23 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EB7C91E1C; Tue, 29 Dec 2015 13:58:22 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.9/8.14.9) with ESMTP id tBTDvHwO016004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Dec 2015 21:57:18 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.9/8.14.9/Submit) id tBTDvFb7016003; Tue, 29 Dec 2015 21:57:15 +0800 (CST) (envelope-from kevlo) Date: Tue, 29 Dec 2015 21:57:15 +0800 From: Kevin Lo To: Daniel Braniss Cc: Hans Petter Selasky , freebsd-wireless@FreeBSD.org, freebsd-arm@freebsd.org, freebsd-current@FreeBSD.org Subject: Re: D-link wireless not detected Message-ID: <20151229135715.GA15933@ns.kevlo.org> References: <1BA8A509-38E0-4975-BD66-95D934D9E055@cs.huji.ac.il> <20151229103348.29c9469c@planb.netng.org> <382E50DE-7B65-4469-9851-8F28A335096C@cs.huji.ac.il> <5682580B.30107@selasky.org> <346C6669-E51E-498F-8AD0-C294F70B441D@cs.huji.ac.il> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <346C6669-E51E-498F-8AD0-C294F70B441D@cs.huji.ac.il> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 13:58:23 -0000 On Tue, Dec 29, 2015 at 12:12:26PM +0200, Daniel Braniss wrote: > > > On 29 Dec 2015, at 11:53, Hans Petter Selasky wrote: > > > > On 12/29/15 10:42, Daniel Braniss wrote: > >> > >>> On 29 Dec 2015, at 11:33, Vladimir Botka wrote: > >>> > >>> Hi Danny, > >>> > >>> On Tue, 29 Dec 2015 11:16:27 +0200 > >>> Daniel Braniss wrote: > >>>> Hi All, > >>>> I have a working tp-link usb (realtek), but can’t get a d-link(also realtek) to work. > >>>> usbconfig: > >>>> ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > >>>> This is on a raspberry pi running a resent current. > >>>> cheers & season greetings, > >>>> danny > >>> > >>> I've added freebsd-wireless list. > >>> > >>> My 2 cents. It might be helpful to see more details about the adapters. > >>> For example: > >>> > >>> # usbconfig -u 0 -a 7 dump_device_desc > >>> ugen0.7: <802.11 n WLAN Ralink> at usbus0, cfg=0 md=HOST spd=HIGH > >>> (480Mbps) pwr=ON (450mA) > >>> bLength = 0x0012 > >>> bDescriptorType = 0x0001 > >>> bcdUSB = 0x0200 > >>> bDeviceClass = 0x0000 > >>> bDeviceSubClass = 0x0000 > >>> bDeviceProtocol = 0x0000 > >>> bMaxPacketSize0 = 0x0040 > >>> idVendor = 0x148f > >>> idProduct = 0x5370 > >>> bcdDevice = 0x0101 > >>> iManufacturer = 0x0001 > >>> iProduct = 0x0002 <802.11 n WLAN> > >>> iSerialNumber = 0x0003 <1.0> > >>> bNumConfigurations = 0x0001 > >> > >> > >> so here it is: > >> root@:~ # usbconfig -u 0 -a 4 dump_device_desc > >> ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > >> > >> bLength = 0x0012 > >> bDescriptorType = 0x0001 > >> bcdUSB = 0x0210 > >> bDeviceClass = 0x0000 > >> bDeviceSubClass = 0x0000 > >> bDeviceProtocol = 0x0000 > >> bMaxPacketSize0 = 0x0040 > >> idVendor = 0x2001 > >> idProduct = 0x3319 > >> bcdDevice = 0x0200 > >> iManufacturer = 0x0001 > >> iProduct = 0x0002 > >> iSerialNumber = 0x0003 <00e04c000001> > >> bNumConfigurations = 0x0001 > >> > >> thanks, > >> danny > >> > > > > Did you google the idVendor and idProduct values and see if Linux has a driver already? > > > > —HPS > > > > > https://github.com/Mange/rtl8192eu-linux-driver/blob/master/os_dep/linux/usb_intf.c > and look at line 216 Your device (D-Link DWA-131 rev E1) is rtl8192eu, which is not supported by FreeBSD. > danny Kevin