From owner-freebsd-wireless@freebsd.org Tue Dec 29 12:29:02 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 80577A531F9; Tue, 29 Dec 2015 12:29:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4988B1D2F; Tue, 29 Dec 2015 12:29:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 646871FE024; Tue, 29 Dec 2015 13:28:59 +0100 (CET) Subject: Re: D-link wireless not detected To: Daniel Braniss 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> <56825E74.3050609@selasky.org> <1EC3E6CB-5031-46F3-A3AD-329DB1FDC882@cs.huji.ac.il> Cc: Vladimir Botka , freebsd-arm@freebsd.org, freebsd-wireless@FreeBSD.org, freebsd-current@FreeBSD.org From: Hans Petter Selasky Message-ID: <56827D08.2070602@selasky.org> Date: Tue, 29 Dec 2015 13:31:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1EC3E6CB-5031-46F3-A3AD-329DB1FDC882@cs.huji.ac.il> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 12:29:02 -0000 On 12/29/15 13:26, Daniel Braniss wrote: > >> On 29 Dec 2015, at 12:20, Hans Petter Selasky wrote: >> >> On 12/29/15 11:12, Daniel Braniss wrote: >>> >>> https://github.com/Mange/rtl8192eu-linux-driver/blob/master/os_dep/linux/usb_intf.c >>> and look at line 216 >>> >>> danny >> >> Hi, >> >> You should be able to get this device working by adding a device entry to: >> >> src/sys/dev/usb/wlan/if_urtwn.c >> >> Can you make a patch and PR for this, and I'll submit upstream. I recommend you test using an 11-current kernel. >> >> --HPS > > clearly, I’m missing something, because it’s not working :-( > the only visible change is now > ugen0.4: <802.11n WLAN Adapter RealtekWireless N Nano USB A> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > before it was > ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > > rnd> svn diff > Index: usbdevs > =================================================================== > --- usbdevs (revision 291745) > +++ usbdevs (working copy) > @@ -1657,6 +1657,7 @@ > product DLINK2 RTL8192SU_1 0x3300 RTL8192SU > product DLINK2 RTL8192SU_2 0x3302 RTL8192SU > product DLINK2 DWA131A1 0x3303 DWA-131 A1 > +product DLINK DWA131 0x3319 DWA-131 > product DLINK2 DWA160A2 0x3a09 DWA-160 A2 > product DLINK2 DWA120 0x3a0c DWA-120 > product DLINK2 DWA120_NF 0x3a0d DWA-120 (no firmware) > Index: wlan/if_urtwn.c > =================================================================== > --- wlan/if_urtwn.c (revision 291745) > +++ wlan/if_urtwn.c (working copy) > @@ -116,6 +116,7 @@ > URTWN_DEV(DLINK, RTL8192CU_2), > URTWN_DEV(DLINK, RTL8192CU_3), > URTWN_DEV(DLINK, DWA131B), > + URTWN_DEV(DLINK, DWA131), // danny > URTWN_DEV(EDIMAX, EW7811UN), > URTWN_DEV(EDIMAX, RTL8192CU), > URTWN_DEV(FEIXUN, RTL8188CU), > Hi, You should use vendor RALINK (according to your usbconfig dump) vendor RALINK 0x148f Ralink Technology --HPS