Hi all.

I have something called DWA-125 (model D1A, h/w ver: D1, f/w ver: 4.00).

# usbconfig -d 6.2 dump_device_desc
ugen6.2: <product 0x330f vendor 0x2001> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x2001
  idProduct = 0x330f
  bcdDevice = 0x0000
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <DWA-125 11n Adapter>
  iSerialNumber = 0x0003  <C4A81DF3B74A>
  bNumConfigurations = 0x0001

Patch to detect it:

Index: sys/dev/usb/usbdevs
--- sys/dev/usb/usbdevs (revision 269923)
+++ sys/dev/usb/usbdevs (working copy)
@@ -1624,6 +1624,7 @@
 product        DLINK RTL8192CU_1       0x3307  RTL8192CU
 product        DLINK RTL8192CU_2       0x3309  RTL8192CU
 product        DLINK RTL8192CU_3       0x330a  RTL8192CU
+product        DLINK RTL8192CU_4       0x330f  RTL8192CU
 product        DLINK DWA131B           0x330d  DWA-131 rev B
 product DLINK2 RTL8192SU_1     0x3300  RTL8192SU
 product DLINK2 RTL8192SU_2     0x3302  RTL8192SU
Index: sys/dev/usb/wlan/if_urtwn.c
--- sys/dev/usb/wlan/if_urtwn.c (revision 269923)
+++ sys/dev/usb/wlan/if_urtwn.c (working copy)
@@ -112,6 +112,7 @@
        URTWN_DEV(DLINK,        RTL8192CU_1),
        URTWN_DEV(DLINK,        RTL8192CU_2),
        URTWN_DEV(DLINK,        RTL8192CU_3),
+       URTWN_DEV(DLINK,        RTL8192CU_4),
        URTWN_DEV(DLINK,        DWA131B),
        URTWN_DEV(EDIMAX,       EW7811UN),
        URTWN_DEV(EDIMAX,       RTL8192CU),

# kldload urtwn
Aug 13 16:10:19 limbo kernel: urtwn0: <vendor 0x2001 product 0x330f, class 0/0, rev 2.00/0.00, addr 1> on usbus6
Aug 13 16:10:20 limbo kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R

urtwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 00:00:a8:1d:f3:b7
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier

# ifconfig wlan0 create wlandev urtwn0
# ifconfig wlan0 country ua
# ifconfig wlan0 up scan

Gives nothing.

# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:00:a8:1d:f3:b7
        inet6 fe80::200:a8ff:fe1d:f3b7%wlan0 prefixlen 64 scopeid 0x7
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 1 (2412 MHz 11b)
        regdomain NONE country UA authmode OPEN privacy OFF txpower 30
bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
        roam:rate 1 bintval 0

# ifconfig wlan0 list caps

Is there any easy way to make it work or should I just dump it?

Sphinx of black quartz judge my vow.
freebsd-wireless@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to