diff --git a/README.md b/README.md index 3f527e8..7192678 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,14 @@ 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 ``` 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` @@ -84,6 +84,17 @@ 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 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