You are not logged in.

#51 2014-06-14 15:27:18

JohnnySSH
Member
Registered: 2013-05-04
Posts: 77

Re: ASUS PCE-N53 Kernel Panic

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

#52 2014-07-10 03:05:44

jcrews
Member
Registered: 2013-01-27
Posts: 11

Re: ASUS PCE-N53 Kernel Panic

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

#53 2014-08-08 18:36:39

bgladx64
Member
Registered: 2014-08-08
Posts: 2

Re: ASUS PCE-N53 Kernel Panic

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

#54 2014-08-09 21:27:38

bgladx64
Member
Registered: 2014-08-08
Posts: 2

Re: ASUS PCE-N53 Kernel Panic

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

#55 2014-12-23 11:52:56

sup3rman
Member
Registered: 2014-12-06
Posts: 6

Re: ASUS PCE-N53 Kernel Panic

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

#56 2014-12-23 16:28:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,117

Re: ASUS PCE-N53 Kernel Panic

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
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#57 2015-01-29 20:26:50

Webbeh
Member
Registered: 2012-07-08
Posts: 33

Re: ASUS PCE-N53 Kernel Panic

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

#58 2015-04-01 06:05:42

felixz
Member
Registered: 2015-04-01
Posts: 1

Re: ASUS PCE-N53 Kernel Panic

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

#59 2015-04-01 06:21:05

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 19,024
Website

Re: ASUS PCE-N53 Kernel Panic


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB