I have a laptop HP650 with Wi fi chip RT539a. I'm using OS ubuntu 12.04, but the wifi does not work on this OS. The forum ubuntu gave me a couple of tips on how to solve these issues. Here they are:
Download the linux driver (RT5390PCIe) from Ralink.
Extract it. The files will be extracted to 2010_1216_RT5390_LinuxSTA_V18.104.22.168_WiFiBTCombo_DPO folder.
Download all the patches except the x64_86 patch, assuming you have a 32-bit system, from opensuse website.
Copy the patches to the folder – 2010_1216_RT5390_LinuxSTA_V22.214.171.124_WiFiBTCombo_DPO
Goto the folder.
Make the following change in /os/linux/config.mk file – HAS_ANTENNA_DIVERSITY_SUPPORT=y (originally was n)
cp RT2860STA.dat RT5390STA.dat
mkdir -p /etc/Wireless/RT5390STA
cp RT5390STA.dat /etc/Wireless/RT5390STA
make <- i have problems
But at one stage when I run "make", I have a compiler error:
/home/hp650/rt/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’: /home/hp650/rt/os/linux/../../common/cmm_asic.c:1233:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] /home/hp650/rt/os/linux/../../common/cmm_asic.c:1246:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] CC [M] /home/hp650/rt/os/linux/../../common/cmm_cmd.o CC [M] /home/hp650/rt/os/linux/../../chips/rtmp_chip.o /home/hp650/rt/os/linux/../../chips/rtmp_chip.c: In function ‘HWAntennaDiversityEnable’: /home/hp650/rt/os/linux/../../chips/rtmp_chip.c:2010:2: error: ‘regs’ undeclared (first use in this function) /home/hp650/rt/os/linux/../../chips/rtmp_chip.c:2010:2: note: each undeclared identifier is reported only once for each function it appears in make: *** [/home/hp650/rt/os/linux/../../chips/rtmp_chip.o] Error 1 make: *** [_module_/home/hp650/rt/os/linux] Error 2 make: Leaving directory `/usr/src/linux-headers-3.2.0-29-generic-pae' make: *** [LINUX] Error 2
Someone can help me in this matter?