You are not logged in.
Thanks for the above!
I have an Edimax card: http://www.edimax.com/en/produce_detail … pl2_id=139
and was able to build on 3.14.6-1 64bit kernel.
Steps taken:
Download Patch and PKGBUILD from @Webbah
Add the extra step provided by @benjkaiser
then
makepkg -s
su
pacman -U {pkg}
depmod
modprobe rt5592sta
lspci -k
01:00.0 Network controller: Ralink corp. Device 5592
Subsystem: Device 7392:d722
Kernel driver in use: rt2860
Kernel modules: rt5592sta
had some issues though initially but after reboot makepkg -s seemed to work fine??
{EDIT}
After fix from @benjkaizer I also needed to edit the PKGBUILD in order to not decompress the original source code again:
build() {
cd "${srcdir}/Linux"
#tar -xjf ${_srctarname}
cd $(basename -s .tar.bz2 $_srctarname)
# patch the moronic makefile
patch -p1 -i "${srcdir}/arch_build_preparation.patch"
# patching for 3.8 kernel compatibility
patch -p1 -i "${srcdir}/rt5592sta_fix_64bit_3.8.patch"
patch -p1 -i "${srcdir}/patch314.patch"
make
}
Last edited by JohnnySSH (2014-06-14 15:49:20)
Offline
Current patch tested with 3.15.4, which fixes an incorrect type usage and removes the __DATE__ and __TIME__ macro usage (they prevent repeated builds from making identical output).
http://gridlox.net/diff/rt5592sta_fix_64bit_3.15.patch
Last edited by jcrews (2014-07-10 03:07:40)
Offline
I'm going to be installing Arch Linux this weekend with the Asus PCE-N53 card, and stumbled across this forum post while researching how to make the card work on Linux. I'll be using kernel version 3.15.7. I don't really have anything to contribute right now other than thanks to jcrews for making this patch available, but I'll post an update in a few days about how it went; hopefully my experience can be helpful to some other people as well. I'm optimistic that I'll be able to make it work thanks to all the information in this thread.
Offline
OK, I just compiled this driver under kernel 3.15.8. The wireless card works great now. For anyone else trying to do the same, here's the steps I took:
1. Download and extract driver src from Asus's website
2. Download jcrews's 3.15.8 patch
3. cd to driver src root directory
4. run "patch -p1 < /path/to/patch/file"
5. make
6. make install
7. modprobe rt5592sta
Last edited by bgladx64 (2014-08-16 20:29:08)
Offline
I am trying to get this to work with kernel 3.17.6-1 to no avail. I am web developer with embarrassingly little to no experience with C or make.
This is exactly what I have done.
1. wget http://dlcdnet.asus.com/pub/ASUS/wirele … 3_1008.zip
2. unzip Linux_PCE_N53_1008.zip
3. cd Linux
4. tar -xvjpf DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326.tar.bz2
5. cd DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326
6. wget http://gridlox.net/diff/rt5592sta_fix_64bit_3.15.patch
7. patch -p1 < rt5592sta_fix_64bit_3.15.patch
8. make (both as normal user and root)
It fails at step 8, with the following output:
make -C tools
make[1]: Entering directory '/home/sup3rman/build/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/sup3rman/build/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools'
/home/sup3rman/build/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools/bin2h
cp -f os/linux/Makefile.6 /home/sup3rman/build/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/Makefile
make -C /lib/modules/3.17.6-1-ARCH/build SUBDIRS=/home/sup3rman/build/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux modules
make[1]: Entering directory '/usr/lib/modules/3.17.6-1-ARCH/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/3.17.6-1-ARCH/build'
Makefile:384: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Am I doing something wrong or does it not work with this kernel version?
Offline
Building kernel modules outside of the kernel tree can be a PITA.
One solution is DKMS
I usually cheat. After upgrading my Arch kernel, I usually grab the kernel source from kernels.org and roll my own kernel with drivers I I interested built in. If I want to slip in patches or new modules, I add them to the tree I had downloaded, and do a make, followed by a make install_modules. Note that this is NOT the recommended method.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Just to say that I now don't have that card anymore, since it was a real pain to get working on every kernel update.
Bought one from thinkpenguin and works like a charm, out of the box. There are some disconnections from time to time, but no more than maybe twice a week. I recommend the switch to everyone, seriously. Your asus will drive you nutz.
Offline
I just follwed bgladx64's steps and was able to install the driver on OpenSuse with kernel version 3.16.7.
Before i started with steps I installed kernel-devel and gcc-c++ packages.
Nothing needed to be changed in the Makefile as the location of Linux sources was good.
The card works great. I am able to get online in no time.
Thanks alot for to everyone who contributed!
Offline
felixz. please don't necrobump, especially with an empty post about an unsupported distro...
https://wiki.archlinux.org/index.php/Fo … bumping.22
https://wiki.archlinux.org/index.php/Fo … mpty_Posts
https://wiki.archlinux.org/index.php/Fo … pport_ONLY
Closing
Offline