1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-01-07 06:35:29 +00:00

Merge pull request #23 from kimocoder/v5.1.5

Import of some additions
This commit is contained in:
Christian kimocoder 2017-10-06 14:57:37 +02:00 committed by GitHub
commit 28cb565c83
2 changed files with 15 additions and 3 deletions

View File

@ -35,14 +35,14 @@ make install RTL8814=1
## Notes ## Notes
Download Download
``` ```
git clone https://github.com/aircrack-ng/rtl8812au.git git clone -b v5.1.5 https://github.com/aircrack-ng/rtl8812au.git
cd rtl* cd rtl*
``` ```
To download v4.3.21 To download v4.3.21
``` ```
git clone -b v4.3.21 https://github.com/aircrack-ng/rtl8812au.git git clone -b v4.3.21 https://github.com/aircrack-ng/rtl8812au.git
``` ```
Maybe you should install some packet to build it. Package / Build dependencies
``` ```
sudo apt-get install build-essential sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r` sudo apt-get install linux-headers-`uname -r`
@ -84,6 +84,17 @@ at the end of file /etc/NetworkManager/NetworkManager.conf and restart NetworkMa
sudo service NetworkManager restart sudo service NetworkManager restart
``` ```
## Led Parameter
```
We've added the "realtek-leds.conf" in build directory,
with this you may change the leds to
"2: Allways On", "1: Normal" or "0: Allways Off" with placing the file in "/etc/modprobe.d/
Manual modprobe will override this file if option value also included at the command line, e.g.,
$ sudo modprobe -r 8812au
$ sudo modprobe 8812au rtw_led_ctrl=1
```
## Credits ## Credits
``` ```
astsam - for the main work + monitor/injection support - https://github.com/astsam astsam - for the main work + monitor/injection support - https://github.com/astsam

View File

@ -166,7 +166,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
{USB_DEVICE(0x2001, 0x3315), .driver_info = RTL8812}, /* D-Link - Cameo */ {USB_DEVICE(0x2001, 0x3315), .driver_info = RTL8812}, /* D-Link - Cameo */
{USB_DEVICE(0x2001, 0x3316), .driver_info = RTL8812}, /* D-Link - Cameo */ {USB_DEVICE(0x2001, 0x3316), .driver_info = RTL8812}, /* D-Link - Cameo */
{USB_DEVICE(0x13B1, 0x003F), .driver_info = RTL8812}, /* Linksys - WUSB6300 */ {USB_DEVICE(0x13B1, 0x003F), .driver_info = RTL8812}, /* Linksys - WUSB6300 */
{USB_DEVICE(0x2357, 0x0101), .driver_info = RTL8812}, /* TP-Link - Archer T4U */ {USB_DEVICE(0x2357, 0x0101), .driver_info = RTL8812}, /* TP-Link - Archer T4U AC1200 */
{USB_DEVICE(0x2357, 0x0103), .driver_info = RTL8812}, /* TP-Link - T4UH */ {USB_DEVICE(0x2357, 0x0103), .driver_info = RTL8812}, /* TP-Link - T4UH */
{USB_DEVICE(0x2357, 0x010D), .driver_info = RTL8812}, /* TP-Link - Archer T4U AC1300 */ {USB_DEVICE(0x2357, 0x010D), .driver_info = RTL8812}, /* TP-Link - Archer T4U AC1300 */
{USB_DEVICE(0x2357, 0x010E), .driver_info = RTL8812}, /* TP-Link - Archer T4UH AC1300 */ {USB_DEVICE(0x2357, 0x010E), .driver_info = RTL8812}, /* TP-Link - Archer T4UH AC1300 */
@ -177,6 +177,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
{USB_DEVICE(0x050D, 0x1109), .driver_info = RTL8812}, /* Belkin F9L1109 - SerComm */ {USB_DEVICE(0x050D, 0x1109), .driver_info = RTL8812}, /* Belkin F9L1109 - SerComm */
{USB_DEVICE(0x148F, 0x9097), .driver_info = RTL8812}, /* Amped Wireless ACA1 */ {USB_DEVICE(0x148F, 0x9097), .driver_info = RTL8812}, /* Amped Wireless ACA1 */
{USB_DEVICE(0x0BDA, 0x8812), .driver_info = RTL8812}, /* Alfa - AWUS036AC, AWUS036ACH & AWUS036EAC */ {USB_DEVICE(0x0BDA, 0x8812), .driver_info = RTL8812}, /* Alfa - AWUS036AC, AWUS036ACH & AWUS036EAC */
{USB_DEVICE(0x2604, 0x0012), .driver_info = RTL8812}, /* Tenda U12 */
#endif #endif
#ifdef CONFIG_RTL8821A #ifdef CONFIG_RTL8821A