Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 14:36:38 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Vladimir Botka <vbotka@gmail.com>, freebsd-arm@freebsd.org, freebsd-wireless@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: D-link wireless not detected
Message-ID:  <B5DF789A-E119-4A1F-A78F-5406BF6EE670@cs.huji.ac.il>
In-Reply-To: <56827D08.2070602@selasky.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> <56825E74.3050609@selasky.org> <1EC3E6CB-5031-46F3-A3AD-329DB1FDC882@cs.huji.ac.il> <56827D08.2070602@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 29 Dec 2015, at 14:31, Hans Petter Selasky <hps@selasky.org> wrote:
>=20
> On 12/29/15 13:26, Daniel Braniss wrote:
>>=20
>>> On 29 Dec 2015, at 12:20, Hans Petter Selasky <hps@selasky.org> =
wrote:
>>>=20
>>> On 12/29/15 11:12, Daniel Braniss wrote:
>>>>=20
>>>> =
https://github.com/Mange/rtl8192eu-linux-driver/blob/master/os_dep/linux/u=
sb_intf.c  =
<https://github.com/Mange/rtl8192eu-linux-driver/blob/master/os_dep/linux/=
usb_intf.c>
>>>> and look at line 216
>>>>=20
>>>> danny
>>>=20
>>> Hi,
>>>=20
>>> You should be able to get this device working by adding a device =
entry to:
>>>=20
>>> src/sys/dev/usb/wlan/if_urtwn.c
>>>=20
>>> Can you make a patch and PR for this, and I'll submit upstream. I =
recommend you test using an 11-current kernel.
>>>=20
>>> --HPS
>>=20
>> clearly, I=E2=80=99m missing something, because it=E2=80=99s not =
working :-(
>> the only visible change is now
>> ugen0.4: <802.11n WLAN Adapter RealtekWireless N Nano USB A> at =
usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA)
>> before it was
>> ugen0.4: <Wireless N Nano USB Adapter Realtek> at usbus0, cfg=3D0 =
md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA)
>>=20
>> rnd> svn diff
>> Index: usbdevs
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- 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
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- 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),
>>=20
>=20
> Hi,
>=20
> You should use vendor RALINK (according to your usbconfig dump)
>=20
> vendor RALINK		0x148f	Ralink Technology

you are confusing Vladimir=E2=80=99s with mine.
here is mine again:
ugen0.4: <Wireless N Nano USB Adapter Realtek> at usbus0, cfg=3D0 =
md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA)

 bLength =3D 0x0012=20
 bDescriptorType =3D 0x0001=20
 bcdUSB =3D 0x0210=20
 bDeviceClass =3D 0x0000  <Probed by interface class>
 bDeviceSubClass =3D 0x0000=20
 bDeviceProtocol =3D 0x0000=20
 bMaxPacketSize0 =3D 0x0040=20
 idVendor =3D 0x2001 	<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D D-LINK
 idProduct =3D 0x3319=20
 bcdDevice =3D 0x0200=20
 iManufacturer =3D 0x0001  <Realtek>
 iProduct =3D 0x0002  <Wireless N Nano USB Adapter>
 iSerialNumber =3D 0x0003  <00e04c000001>
 bNumConfigurations =3D 0x0001=20

danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5DF789A-E119-4A1F-A78F-5406BF6EE670>