This patch allows the urtwn driver to attach to my Belkin F7D2102
(N300 Micro Wireless USB).

My device:

usbdevs -v | grep Belkin

port 1 addr 2: high speed, power 500 mA, config 1, Belkin Wireless
Adapter(0x2103), Realtek(0x050d), rev 2.00, iSerialNumber 00e04c000001


dmesg | grep urtwn0

urtwn0 at uhub0 port 1 "Realtek Belkin Wireless Adapter" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address 08:86:3b:....


The patch:

Index: sys/dev/usb/if_urtwn.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v
retrieving revision 1.20
diff -u -p -r1.20 if_urtwn.c
--- sys/dev/usb/if_urtwn.c      26 Nov 2011 06:39:33 -0000      1.20
+++ sys/dev/usb/if_urtwn.c      7 Apr 2012 19:29:58 -0000
@@ -80,6 +80,7 @@ static const struct usb_devno urtwn_devs
        { USB_VENDOR_ABOCOM,    USB_PRODUCT_ABOCOM_RTL8192CU },
        { USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_RTL8188CE_1 },
        { USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_RTL8188CE_2 },
+       { USB_VENDOR_BELKIN,    USB_PRODUCT_BELKIN_F7D2102 },
        { USB_VENDOR_BELKIN,    USB_PRODUCT_BELKIN_RTL8188CU },
        { USB_VENDOR_COREGA,    USB_PRODUCT_COREGA_RTL8192CU },
        { USB_VENDOR_DLINK,     USB_PRODUCT_DLINK_RTL8188CU },
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.577
diff -u -p -r1.577 usbdevs
--- sys/dev/usb/usbdevs 26 Mar 2012 19:10:19 -0000      1.577
+++ sys/dev/usb/usbdevs 7 Apr 2012 19:30:00 -0000
@@ -1095,6 +1095,7 @@ product BELKIN F6C800             0x0980  F6C800 UPS
 product BELKIN F6C1100         0x1100  F6C1100/1200 UPS
 product BELKIN RTL8188CU       0x1102  RTL8188CU
 product BELKIN F5U120          0x1203  F5U120-PC Hub
+product BELKIN F7D2102         0x2103  F7D2102
 product BELKIN ZD1211B         0x4050  ZD1211B
 product BELKIN F5D5055         0x5055  F5D5055
 product BELKIN F5D7050         0x7050  F5D7050 54g USB Network Adapter

Reply via email to