aircrack-ng / rtl8814au

Realtek rtl8814au driver
Other
425 stars 130 forks source link

Cannot turn off the LED #10

Open MR-Diamond opened 3 years ago

MR-Diamond commented 3 years ago

Hi, I switched from 88XXau to 8814au, for TP-link Archer T9UH; previously I was able to turn off the led by using rtw_led_ctrl=0 now instead this option is no longer available, or at least I don't see any related. Is to be implemented?

gebau00a commented 3 years ago

I identified there's a file in /proc/net/8814au/[adaptername]/led_config Writing into this file changes the led behavior, but i could not generate a standard output. Device is D-Link DWA-192

sudo echo 0 > led_config turned the LED constantly on, no blinking anymore.

Writing whatever value to the file does not change the value of bRegUseLed which I assume the trigger the LED.

Before the drivers for rtl8814 and rtl8812 where separated, the LED_ctrl worked on this device, so it's solely a driver issue

gebau00a commented 3 years ago

I created a fork and sent a pull request to implement the feature https://github.com/aircrack-ng/rtl8814au/pull/36