Re: D-link wireless not detected

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 29 Dec 2015 14:36:38 +0200
> On 29 Dec 2015, at 14:31, Hans Petter Selasky <hps_at_selasky.org> wrote:
> 
> On 12/29/15 13:26, Daniel Braniss wrote:
>> 
>>> On 29 Dec 2015, at 12:20, Hans Petter Selasky <hps_at_selasky.org> 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  <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: <Wireless N Nano USB Adapter Realtek> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
>> 
>> rnd> svn diff
>> Index: usbdevs
>> ===================================================================
>> --- usbdevs     (revision 291745)
>> +++ usbdevs     (working copy)
>> _at__at_ -1657,6 +1657,7 _at__at_
>>  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)
>> _at__at_ -116,6 +116,7 _at__at_
>>         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

you are confusing Vladimir’s with mine.
here is mine again:
ugen0.4: <Wireless N Nano USB Adapter Realtek> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

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

danny
Received on Tue Dec 29 2015 - 11:36:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC