colinrmitchell.com

Blog

Ralink RT5392 on Linux

Posted Wednesday, May 27th 2015 in Uncategorized - Permalink

After installing a fresh copy of Xubuntu 14.04 for my grandfather, the wireless driver would not work. This is what I saw with lspci:

03:00.0 Network controller: Ralink corp. RT5392 PCIe Wireless Network Adapter
	Subsystem: Ralink corp. RT5392 PCIe Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at fe900000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: 
	Kernel driver in use: rt2800pci

I followed the steps from here to get it to work:

  • Get the driver at http://www.mediatek.com/_en/07_downl…il.php?sn=5001
  • Untar it
  • Download the patch at http://gridlox.net/diff/rt5592sta_fix_64bit_3.8.patch if you are using a 64-bit version of Linux.
  • patch -p1 < rt5592sta_fix_64bit_3.8.patch
    
  • Make sure the file /os/linux/config.mk has HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
  • Do a sudo make and sudo make install
  • sudo modprobe rt5390sta
  • Finally, blacklist conflicting drivers by adding the following to /etc/modprobe.d/blacklist.conf

    # Blacklist conflicting kernel modules
    blacklist rt2800pci
    blacklist rt2800lib
    blacklist rt2x00usb
    blacklist rt2x00pci
    blacklist rt2x00lib
    blacklist rt2860sta
    blacklist rt3090sta
    

After a reboot, the wireless card worked great!


List Posts Newest Posts Page 1Next Page