1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00
rtl8812au/realtek-leds.conf
Christian kimocoder 502443b1b9 Add rtw_led_ctrl module parameter for changing led
Also adds example /etc/modprobe.d/ configuration file (realtek-leds.conf) that can
be used to set this new parameter option value automatically at boot or when
command e.g "modprobe 8812au" is done with no module parameter.

Howto do this manually?
sudo modprobe -r 8812au
sudo modprobe 8812au rtw_led_ctrl=1 (0 is allways off, 1 is normal & 2 is allways on)
2017-09-26 19:17:04 +02:00

21 lines
702 B
Plaintext

# Place this file in directory /etc/modprobe.d/
# Uncomment one options line so when modprobe occurs either manually or
# automatically (e.g., after boot with wifi usb adapter connected) it
# will set that option value. 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
#
# Led always off
#options 8812au rtw_led_ctrl=0
#options 8814au rtw_led_ctrl=0
#
# Default: normal blink of led (all options lines commented causes normal
# blink too).
options 8812au rtw_led_ctrl=1
options 8814au rtw_led_ctrl=1
#
# Led always on
#options 8812au rtw_led_ctrl=2
#options 8814au rtw_led_ctrl=2