forked from mareksuscak/asus-pce-n53-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default driver downloaded from Asus website.
- Loading branch information
1 parent
180b09c
commit 3ebec87
Showing
176 changed files
with
149,777 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
RT5592 Linux Driver quick start | ||
|
||
==================== | ||
Check tools: | ||
|
||
==================== | ||
*Before install driver, please check already install compile tool and kernel source code | ||
|
||
1>Install compile tool | ||
$yum install gcc-c++ | ||
|
||
2>check kernel source code exists /usr/src/kernels/ "kernel name" | ||
|
||
Download your kernel source code | ||
*http://www.kernel.org/pub/linux/kernel/ | ||
or | ||
$yum install kernel-devel | ||
|
||
|
||
|
||
==================== | ||
Build Instructions: | ||
|
||
==================== | ||
1> $tar -jxvf DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x.tar.bz2 | ||
go to "DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x" directory. | ||
|
||
|
||
|
||
2> In Makefile | ||
|
||
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX" | ||
|
||
define the linux kernel source include file path LINUX_SRC | ||
|
||
modify to meet your need. | ||
|
||
|
||
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'. | ||
|
||
=> $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'. | ||
|
||
=> $wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d | ||
|
||
4> $make | ||
|
||
# compile driver source code, need administrator. | ||
|
||
# To fix "error: too few arguments to function ��iwe_stream_add_event" | ||
|
||
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c | ||
|
||
5> $make install | ||
#install driver | ||
#copy RT2860STA.dat to /etc/Wireless/RT2860STA/RT2860STA.dat | ||
|
||
6>$vi /etc/rc.d/rc.local | ||
#input "ifconfig ra0 up" | ||
$reboot | ||
|
||
7> unload driver | ||
|
||
$ifconfig ra0 down | ||
|
||
$rmmod rt5592sta | ||
|
||
|
Oops, something went wrong.