Author Topic: [ SOLVED ] D-Link Wireless N 150 USB Adapter DWA-125 / rev A3 / RT5370  (Read 14289 times)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #15 on: May 10, 2012, 04:47:30 AM »
A3  it is apparently

D-Link DWA-125

P/N  EWA125EU,,,,,A3G

H/W Ver.: A3
F/W Ver.: 1.50

FCC ID:n KA2WA125A3
IC:  4216A-WA125A3

#########



Quote
[user@XPS ~]$ modinfo rt2800usb | grep 2001
alias:          usb:v2001p3C17d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3C1Bd*dc*dsc*dp*ic*isc*ip*

Code: [Select]
usb 1-3.3: New USB device found, idVendor=2001, idProduct=3c19

I think this device needs 2001:3c19  in that list ......  if I understand correctly ........  or more to the point it needs the RT5370 driver .... which does not appear to be supported in this kernel?

Quote
vendor: 2001 ("D-Link Corp."), product: 3c19 ("DWA-125 Wireless N 150 Adapter(rev.A3) [Ralink RT5370]")
« Last Edit: May 10, 2012, 05:11:18 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #16 on: May 10, 2012, 08:50:05 AM »
I downloaded

2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2

but have no idea where to go from there  :(

It expands to

2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO

 ???

The file includes the following @ line 138442

Quote
#ifdef RT5370
   {USB_DEVICE(0x148F,0x5370)}, /* Ralink 5370 */   
   {USB_DEVICE(0x148F,0x5372)}, /* Ralink 5370 */   
   {USB_DEVICE(0x13D3,0x3365)}, /* Azurewave */
   {USB_DEVICE(0x13D3,0x3329)}, /* Azurewave */
   {USB_DEVICE(0x2001,0x3C15)}, /* Alpha */
   {USB_DEVICE(0x2001,0x3C19)}, /* Alpha */
   {USB_DEVICE(0x2001,0x3C1C)}, /* DLink */
   {USB_DEVICE(0x2001,0x3C1D)}, /* DLink */
   {USB_DEVICE(0x043E,0x7A12)}, /* Arcadyan */
   {USB_DEVICE(0x043E,0x7A22)}, /* LG innotek */

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #17 on: May 10, 2012, 09:02:55 AM »
I downloaded

2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2

but have no idea where to go from there  :(

It expands to

2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO

 ???

The file includes the following @ line 138442

Quote
#ifdef RT5370
   {USB_DEVICE(0x148F,0x5370)}, /* Ralink 5370 */   
   {USB_DEVICE(0x148F,0x5372)}, /* Ralink 5370 */   
   {USB_DEVICE(0x13D3,0x3365)}, /* Azurewave */
   {USB_DEVICE(0x13D3,0x3329)}, /* Azurewave */
   {USB_DEVICE(0x2001,0x3C15)}, /* Alpha */
   {USB_DEVICE(0x2001,0x3C19)}, /* Alpha */
   {USB_DEVICE(0x2001,0x3C1C)}, /* DLink */
   {USB_DEVICE(0x2001,0x3C1D)}, /* DLink */
   {USB_DEVICE(0x043E,0x7A12)}, /* Arcadyan */
   {USB_DEVICE(0x043E,0x7A22)}, /* LG innotek */



It should be a tar file, using a wrong .bz2 extension instead of .tar.bz2 ...  :D :P
untar the file, you should find the instructions inside ...  ;)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #18 on: May 10, 2012, 09:15:27 AM »
:D  Thanks  ;)

Strange ......  I see no mention of the 5370 in there (under chips) ....  nearest is 5390 .....
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #19 on: May 10, 2012, 09:31:55 AM »
:D  Thanks  ;)

Strange ......  I see no mention of the 5370 in there (under chips) ....  nearest is 5390 .....


EDIT: yes, code for RT5370 is in rt5390.c

you need to build it:
Code: [Select]
cd  2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO
make
gzip -9 ./os/linux/rt5370sta.ko
su
cp ./os/linux/rt5370sta.ko.gz  /lib/modules/`uname -r`/kernel/drivers/net/usb/
depmod -a

reboot

 ;)
« Last Edit: May 10, 2012, 09:44:42 AM by AS »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #20 on: May 10, 2012, 10:18:16 AM »
In PCC - Hardware I am presented with three options for creating a wireless network
Quote
:Ralink 11n Adapter
ra0: ra0
ra0: Use a Windows driver (with ndiswrapper)

It is unable to find the 11n  (using rt2870 driver)
The rao interface fails to connect.

dmesg output ....

Code: [Select]
usb 1-3.3: USB disconnect, device number 15
usb 1-3.2: new high-speed USB device number 16 using ehci_hcd
usb 1-3.2: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.2: Product: 11n Adapter
usb 1-3.2: Manufacturer: Ralink
usb 1-3.2: SerialNumber: 1.0
rtusb init rt2870 --->


=== pAd = dff81000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
usb 1-3.2: USB disconnect, device number 16
rtusb_disconnect: unregister usbnet usb-0000:00:0b.1-3.2
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
usb 1-3.4: new high-speed USB device number 17 using ehci_hcd
usb 1-3.4: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.4: Product: 11n Adapter
usb 1-3.4: Manufacturer: Ralink
usb 1-3.4: SerialNumber: 1.0


=== pAd = e03f7000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
RTMP_TimerListAdd: add timer obj e043e8fc!
RTMP_TimerListAdd: add timer obj e043e92c!
RTMP_TimerListAdd: add timer obj e043e95c!
RTMP_TimerListAdd: add timer obj e043e8cc!
RTMP_TimerListAdd: add timer obj e043e83c!
RTMP_TimerListAdd: add timer obj e043e86c!
RTMP_TimerListAdd: add timer obj e0409474!
RTMP_TimerListAdd: add timer obj e03f8ef0!
RTMP_TimerListAdd: add timer obj e03f8f28!
RTMP_TimerListAdd: add timer obj e0409518!
RTMP_TimerListAdd: add timer obj e0409414!
RTMP_TimerListAdd: add timer obj e04094e4!
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt2800usb
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
usb 1-3.4: USB disconnect, device number 17
rtusb_disconnect: unregister usbnet usb-0000:00:0b.1-3.4
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
usb 1-3.2: new high-speed USB device number 18 using ehci_hcd
usb 1-3.2: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.2: Product: 11n Adapter
usb 1-3.2: Manufacturer: Ralink
usb 1-3.2: SerialNumber: 1.0


=== pAd = e0271000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
RTMP_TimerListAdd: add timer obj e02b88fc!
RTMP_TimerListAdd: add timer obj e02b892c!
RTMP_TimerListAdd: add timer obj e02b895c!
RTMP_TimerListAdd: add timer obj e02b88cc!
RTMP_TimerListAdd: add timer obj e02b883c!
RTMP_TimerListAdd: add timer obj e02b886c!
RTMP_TimerListAdd: add timer obj e0283474!
RTMP_TimerListAdd: add timer obj e0272ef0!
RTMP_TimerListAdd: add timer obj e0272f28!
RTMP_TimerListAdd: add timer obj e0283518!
RTMP_TimerListAdd: add timer obj e0283414!
RTMP_TimerListAdd: add timer obj e02834e4!
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
[user@XPS ~]$
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #21 on: May 10, 2012, 10:28:36 AM »
In PCC - Hardware I am presented with three options for creating a wireless network
Quote
:Ralink 11n Adapter
ra0: ra0
ra0: Use a Windows driver (with ndiswrapper)

It is unable to find the 11n  (using rt2870 driver)
The rao interface fails to connect.

dmesg output ....

Code: [Select]
usb 1-3.3: USB disconnect, device number 15
usb 1-3.2: new high-speed USB device number 16 using ehci_hcd
usb 1-3.2: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.2: Product: 11n Adapter
usb 1-3.2: Manufacturer: Ralink
usb 1-3.2: SerialNumber: 1.0
rtusb init rt2870 --->


=== pAd = dff81000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
usbcore: registered new interface driver rt2870
usb 1-3.2: USB disconnect, device number 16
rtusb_disconnect: unregister usbnet usb-0000:00:0b.1-3.2
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
usb 1-3.4: new high-speed USB device number 17 using ehci_hcd
usb 1-3.4: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.4: Product: 11n Adapter
usb 1-3.4: Manufacturer: Ralink
usb 1-3.4: SerialNumber: 1.0


=== pAd = e03f7000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
RTMP_TimerListAdd: add timer obj e043e8fc!
RTMP_TimerListAdd: add timer obj e043e92c!
RTMP_TimerListAdd: add timer obj e043e95c!
RTMP_TimerListAdd: add timer obj e043e8cc!
RTMP_TimerListAdd: add timer obj e043e83c!
RTMP_TimerListAdd: add timer obj e043e86c!
RTMP_TimerListAdd: add timer obj e0409474!
RTMP_TimerListAdd: add timer obj e03f8ef0!
RTMP_TimerListAdd: add timer obj e03f8f28!
RTMP_TimerListAdd: add timer obj e0409518!
RTMP_TimerListAdd: add timer obj e0409414!
RTMP_TimerListAdd: add timer obj e04094e4!
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt2800usb
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
usb 1-3.4: USB disconnect, device number 17
rtusb_disconnect: unregister usbnet usb-0000:00:0b.1-3.4
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
usb 1-3.2: new high-speed USB device number 18 using ehci_hcd
usb 1-3.2: New USB device found, idVendor=2001, idProduct=3c19
usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.2: Product: 11n Adapter
usb 1-3.2: Manufacturer: Ralink
usb 1-3.2: SerialNumber: 1.0


=== pAd = e0271000, size = 510628 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
RTMP_TimerListAdd: add timer obj e02b88fc!
RTMP_TimerListAdd: add timer obj e02b892c!
RTMP_TimerListAdd: add timer obj e02b895c!
RTMP_TimerListAdd: add timer obj e02b88cc!
RTMP_TimerListAdd: add timer obj e02b883c!
RTMP_TimerListAdd: add timer obj e02b886c!
RTMP_TimerListAdd: add timer obj e0283474!
RTMP_TimerListAdd: add timer obj e0272ef0!
RTMP_TimerListAdd: add timer obj e0272f28!
RTMP_TimerListAdd: add timer obj e0283518!
RTMP_TimerListAdd: add timer obj e0283414!
RTMP_TimerListAdd: add timer obj e02834e4!
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
RT5390_Init: FlgIsHwAntennaDiversitySup --> True
-->RTUSBVenderReset
<--RTUSBVenderReset
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
1. Phy Mode = 0
ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
!!! rt28xx Initialized fail !!!
[user@XPS ~]$


look like I forgot at least one command:
Code: [Select]
cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
please follow the info in README_STA_usb about RT2870sta.dat parameters


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #22 on: May 10, 2012, 11:25:19 AM »
Code: [Select]
make[1]: Leaving directory `/usr/src/kernel-devel-3.2.16-pclos1.pae.bfs'
cp -f /Downloads/D-Link/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/rt5370sta.ko /tftpboot
cp: cannot create regular file `/tftpboot': Permission denied
make: *** [LINUX] Error 1

I am unsure about the error regarding   /tftboot

It appears to be trying to copy and rename the driver and store it in   /

 ???
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #23 on: May 10, 2012, 11:51:35 AM »
Code: [Select]
make[1]: Leaving directory `/usr/src/kernel-devel-3.2.16-pclos1.pae.bfs'
cp -f /Downloads/D-Link/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/rt5370sta.ko /tftpboot
cp: cannot create regular file `/tftpboot': Permission denied
make: *** [LINUX] Error 1

I am unsure about the error regarding   /tftboot

It appears to be trying to copy and rename the driver and store it in   /

 ???


It is trying to copy the module under a (not existent) directory /tftpboot
Ignore the error, and proceed to compress and install the module  under /lib/modules/...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #24 on: May 10, 2012, 11:52:18 AM »
Thanks.  ;)
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #25 on: May 10, 2012, 12:49:00 PM »
I got a connection without encryption .....  using it now.

Using either WEP or WPA/PSK I had some odd behaviour.
The router showed it connected, and sometimes the Network Manager (drakroam?) showed connected, but never got any data through it.

I probably need to look a little more closely at the configuration before building.
Unfortunately I know little of what is needed there  :(

Thanks for the help with this.
It looks like this is the driver for this device, coupled with the newer kernel.

If you have any further suggestions, please feel free  ;)

regards
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #26 on: May 10, 2012, 12:55:33 PM »
I got a connection without encryption .....  using it now.

Using either WEP or WPA/PSK I had some odd behaviour.
The router showed it connected, and sometimes the Network Manager (drakroam?) showed connected, but never got any data through it.

I probably need to look a little more closely at the configuration before building.
Unfortunately I know little of what is needed there  :(

Thanks for the help with this.
It looks like this is the driver for this device, coupled with the newer kernel.

If you have any further suggestions, please feel free  ;)

regards


from the README file:
Quote
3> In os/linux/config.mk
        define the GCC and LD of the target machine
        define the compiler flags CFLAGS
        modify to meet your need.
        ** Build for being controlled by NetworkManager or wpa_supplicant wext functions
           Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
           => #>cd wpa_supplicant-x.x
           => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
        ** Build for being controlled by WpaSupplicant with Ralink Driver
           Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
           => #>cd wpa_supplicant-0.5.7
           => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

this is the running process on my system, using -D wext, then I suppose the first option should be that one to use ...
Quote
/usr/sbin/wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D wext

edit: if you change config, I think you need to rebuild the module ...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #27 on: May 10, 2012, 02:00:11 PM »
I had forgotten to run wpa_supplicant  :(

I had I *think* edited the file as described .....  or rather I had edited it and hoped I did it correctly  :)

I ran the command, changing the router back to WPA/PSK and got connected.

So if I have done things correctly, this should now work ....  but at least I know it will work  :D

I have disconnected and unplugged the device, and it reconnected on reinsertion.
I have not yet rebooted .....  but signs are good.

Thank you for all the help  ;)

Posted using Wifi and WPA/PSK  :D
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #28 on: May 10, 2012, 02:07:51 PM »
rebooted with the device plugged in ......  came up perfectly!

Pulled it out ....  and when re-inserted it re-connected again properly!

All looks good here with this driver  :D

regards.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: D-Link Wireless N 150 USB Adapter DWA-125
« Reply #29 on: May 10, 2012, 02:14:14 PM »
rebooted with the device plugged in ......  came up perfectly!

Pulled it out ....  and when re-inserted it re-connected again properly!

All looks good here with this driver  :D

regards.

Glad it worked!  :D

At the same time it look a bit difficult to integrated it in pclos kernels ...
While you are going to mark it as solved, please add to the subject line "rev A3" / RT5370"  ;)

AS