Re: old new device: another sample of DWA-125
On 15.08.2014 04:41, Kevin Lo wrote: The D-Link DWA-125 rev D1 uses the RTL8188EU chip. Please try this patch, thanks. Hm, looks better: # ifconfig wlan0 list scan SSID/MESH IDBSSID CHAN RATE S:N INT CAPS NS 54:04:a6:5b:03:801 54M -140:-95 100 EP RSN HTCAP WPS WME ms18883 a0:f3:c1:b5:ec:081 54M -140:-95 100 EPS RSN HTCAP WME ATH WPS TP-LINK_7EAADE a0:f3:c1:7e:aa:de6 54M -140:-95 100 EPS RSN HTCAP WPA WME ATH WPS TP-LINK_58DE70 10:fe:ed:58:de:706 54M -140:-95 100 ES HTCAP WME ATH WPS kyivstar21 10:fe:ed:59:71:1a 11 54M -140:-95 100 EPS RSN HTCAP WME ATH WPS Kyivstar-ho... f8:1a:67:76:54:10 11 54M -140:-95 100 EPS RSN HTCAP WPA WME ATH WPS TP-LINK_C9C02C c0:4a:00:c9:c0:2c1 54M -140:-95 100 EPS RSN HTCAP WPA WME ATH WPS But it still can't join the network, two minutes passed: wlan0: flags=8c43 metric 0 mtu 1500 ether c4:a8:1d:f3:b7:4a inet6 fe80::c6a8:1dff:fef3:b74a%wlan0 prefixlen 64 scopeid 0x7 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid TP-LINK_58DE70 channel 8 (2447 MHz 11g) regdomain NONE country UA authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Same configuration, ath_pci: wlan0: flags=8843 metric 0 mtu 1500 ether c0:4a:00:eb:4c:17 inet6 fe80::c24a:ff:feeb:4c17%wlan0 prefixlen 64 scopeid 0x6 inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255 nd6 options=21 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid TP-LINK_58DE70 channel 6 (2437 MHz 11g ht/40-) bssid 10:fe:ed:58:de:70 regdomain NONE country UA indoor ecm authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k shortgi wme burst -- Sphinx of black quartz judge my vow. ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: old new device: another sample of DWA-125
On Wed, Aug 13, 2014 at 04:25:33PM +0300, Volodymyr Kostyrko wrote: > > Hi all. Hi, > 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: at usbus6, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON (500mA) > >bLength = 0x0012 >bDescriptorType = 0x0001 >bcdUSB = 0x0200 >bDeviceClass = 0x >bDeviceSubClass = 0x >bDeviceProtocol = 0x >bMaxPacketSize0 = 0x0040 >idVendor = 0x2001 >idProduct = 0x330f >bcdDevice = 0x >iManufacturer = 0x0001 >iProduct = 0x0002 >iSerialNumber = 0x0003 >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 @@ > productDLINK RTL8192CU_1 0x3307 RTL8192CU > productDLINK RTL8192CU_2 0x3309 RTL8192CU > productDLINK RTL8192CU_3 0x330a RTL8192CU > +productDLINK RTL8192CU_4 0x330f RTL8192CU > productDLINK 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: 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 metric 0 mtu 2290 > ether 00:00:a8:1d:f3:b7 > nd6 options=21 > 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 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 > 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 > drivercaps=2181c001 > > Is there any easy way to make it work or should I just dump it? The D-Link DWA-125 rev D1 uses the RTL8188EU chip. Please try this patch, thanks. Index: sys/dev/usb/usbdevs === --- sys/dev/usb/usbdevs (revision 270007) +++ sys/dev/usb/usbdevs (working copy) @@ -1592,6 +1592,7 @@ product DLINK DUBE100 0x1a00 10/100 Ethernet product DLINK DUBE100C10x1a02 DUB-E100 rev C1 product DLINK DSB650TX40x200c 10/100 Ethernet product DLINK DWL120E 0x3200 DWL-120 rev E +product DLINK DWA125D1 0x330f DWA-125 rev D1 product DLINK DWL122 0x3700 DWL-122 product DLINK DWLG120 0x3701 DWL-G120 product DLINK DWL120F 0x3702 DWL-120 rev F Index: sys/dev/usb/wlan/if_urtwn.c === --- sys/dev/usb/wlan/if_urtwn.c (revision 270007) +++ sys/dev/usb/wlan/if_urtwn.c (working copy) @@ -152,6 +152,7 @@ static const STRUCT_USB_HOST_ID urtwn_devs[] = { URTWN_DEV(TRENDNET, RTL8192CU), URTWN_DEV(ZYXEL,RTL8192CU), /* URTWN_RTL8188E */ + URTWN_RTL8188E_DEV(DLINK, DWA125D1), URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV), URTWN_RTL8188E_DEV(REALTEK, RTL8188EU), #undef URTWN_RTL8188E_DEV ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
old new device: another sample of DWA-125
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: at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x2001 idProduct = 0x330f bcdDevice = 0x iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 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 @@ productDLINK RTL8192CU_1 0x3307 RTL8192CU productDLINK RTL8192CU_2 0x3309 RTL8192CU productDLINK RTL8192CU_3 0x330a RTL8192CU +productDLINK RTL8192CU_4 0x330f RTL8192CU productDLINK 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: 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 metric 0 mtu 2290 ether 00:00:a8:1d:f3:b7 nd6 options=21 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 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 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 drivercaps=2181c001 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 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"