From owner-freebsd-arm@freebsd.org Tue Dec 29 10:12:32 2015 Return-Path: Delivered-To: freebsd-arm@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 CDFC2A55815; Tue, 29 Dec 2015 10:12:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87720106B; Tue, 29 Dec 2015 10:12:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1aDrGU-0000Go-OB; Tue, 29 Dec 2015 12:12:26 +0200 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: D-link wireless not detected From: Daniel Braniss In-Reply-To: <5682580B.30107@selasky.org> Date: Tue, 29 Dec 2015 12:12:26 +0200 Cc: Vladimir Botka , freebsd-arm@freebsd.org, freebsd-wireless@FreeBSD.org, freebsd-current@FreeBSD.org Message-Id: <346C6669-E51E-498F-8AD0-C294F70B441D@cs.huji.ac.il> 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> To: Hans Petter Selasky X-Mailer: Apple Mail (2.2104) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 10:12:32 -0000 > On 29 Dec 2015, at 11:53, Hans Petter Selasky wrote: >=20 > On 12/29/15 10:42, Daniel Braniss wrote: >>=20 >>> On 29 Dec 2015, at 11:33, Vladimir Botka wrote: >>>=20 >>> Hi Danny, >>>=20 >>> On Tue, 29 Dec 2015 11:16:27 +0200 >>> Daniel Braniss wrote: >>>> Hi All, >>>> I have a working tp-link usb (realtek), but can=E2=80=99t get a = d-link(also realtek) to work. >>>> usbconfig: >>>> ugen0.4: at usbus0, cfg=3D0 = md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA) >>>> This is on a raspberry pi running a resent current. >>>> cheers & season greetings, >>>> danny >>>=20 >>> I've added freebsd-wireless list. >>>=20 >>> My 2 cents. It might be helpful to see more details about the = adapters. >>> For example: >>>=20 >>> # usbconfig -u 0 -a 7 dump_device_desc >>> ugen0.7: <802.11 n WLAN Ralink> at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH >>> (480Mbps) pwr=3DON (450mA) >>> bLength =3D 0x0012 >>> bDescriptorType =3D 0x0001 >>> bcdUSB =3D 0x0200 >>> bDeviceClass =3D 0x0000 >>> bDeviceSubClass =3D 0x0000 >>> bDeviceProtocol =3D 0x0000 >>> bMaxPacketSize0 =3D 0x0040 >>> idVendor =3D 0x148f >>> idProduct =3D 0x5370 >>> bcdDevice =3D 0x0101 >>> iManufacturer =3D 0x0001 >>> iProduct =3D 0x0002 <802.11 n WLAN> >>> iSerialNumber =3D 0x0003 <1.0> >>> bNumConfigurations =3D 0x0001 >>=20 >>=20 >> so here it is: >> root@:~ # usbconfig -u 0 -a 4 dump_device_desc >> ugen0.4: at usbus0, cfg=3D0 = md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA) >>=20 >> bLength =3D 0x0012 >> bDescriptorType =3D 0x0001 >> bcdUSB =3D 0x0210 >> bDeviceClass =3D 0x0000 >> bDeviceSubClass =3D 0x0000 >> bDeviceProtocol =3D 0x0000 >> bMaxPacketSize0 =3D 0x0040 >> idVendor =3D 0x2001 >> idProduct =3D 0x3319 >> bcdDevice =3D 0x0200 >> iManufacturer =3D 0x0001 >> iProduct =3D 0x0002 >> iSerialNumber =3D 0x0003 <00e04c000001> >> bNumConfigurations =3D 0x0001 >>=20 >> thanks, >> danny >>=20 >=20 > Did you google the idVendor and idProduct values and see if Linux has = a driver already? >=20 > =E2=80=94HPS >=20 = https://github.com/Mange/rtl8192eu-linux-driver/blob/master/os_dep/linux/u= sb_intf.c = and look at line 216 danny