mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
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)
This commit is contained in:
parent
699922ec91
commit
502443b1b9
20
realtek-leds.conf
Normal file
20
realtek-leds.conf
Normal file
@ -0,0 +1,20 @@
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user