From 9055a3e72d98372a401967e0bf4d5df27c99185a Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Fri, 6 Oct 2017 10:22:44 +0200 Subject: [PATCH 1/5] Update README.md * Added information on "realtek-leds" for controlling LED switch --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3f527e8..44bd8b1 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,16 @@ at the end of file /etc/NetworkManager/NetworkManager.conf and restart NetworkMa 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 ``` astsam - for the main work + monitor/injection support - https://github.com/astsam From a2edcb9dceabd0966062009f70a390a1dd7cc50d Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Fri, 6 Oct 2017 10:24:13 +0200 Subject: [PATCH 2/5] Update README.md * Fixed dual line in LED parameter information --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44bd8b1..f25c594 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,8 @@ 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/ +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 From 8325e1859b10b76f2783bf9c4901e5ab3eee923e Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Fri, 6 Oct 2017 14:44:02 +0200 Subject: [PATCH 3/5] Update README.md * Corrected git clone download to avoid cloning 'master' which should not be used --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f25c594..a036ece 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ make install RTL8814=1 ## Notes 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* ``` To download v4.3.21 From c7ea7b6e6567c391962e463a4891b53e781a7dd1 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Fri, 6 Oct 2017 14:49:55 +0200 Subject: [PATCH 4/5] Update README.md * Fixed some typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a036ece..7192678 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ To download v4.3.21 ``` 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 linux-headers-`uname -r` @@ -88,7 +88,7 @@ sudo service NetworkManager restart ``` 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/ +"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 From ac3e1eb51bf297e1b3c4edcb128519c2a396aad7 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Fri, 6 Oct 2017 14:52:43 +0200 Subject: [PATCH 5/5] More USB VID/PID * Added adapter support for "Tenda U12" --- os_dep/linux/usb_intf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os_dep/linux/usb_intf.c b/os_dep/linux/usb_intf.c index 2487596..25a80e2 100644 --- a/os_dep/linux/usb_intf.c +++ b/os_dep/linux/usb_intf.c @@ -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, 0x3316), .driver_info = RTL8812}, /* D-Link - Cameo */ {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, 0x010D), .driver_info = RTL8812}, /* TP-Link - Archer T4U 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(0x148F, 0x9097), .driver_info = RTL8812}, /* Amped Wireless ACA1 */ {USB_DEVICE(0x0BDA, 0x8812), .driver_info = RTL8812}, /* Alfa - AWUS036AC, AWUS036ACH & AWUS036EAC */ + {USB_DEVICE(0x2604, 0x0012), .driver_info = RTL8812}, /* Tenda U12 */ #endif #ifdef CONFIG_RTL8821A