RTL88x2BU-Linux-Driver
RTL88x2BU-Linux-Driver copied to clipboard
is there an option to disable useless led light on a dongle?
just thought it would be nice.
No built-in option, if you want to disable, try remove #define CONFIG_RTW_LED
in include/autoconf.h
.
just curious, how is the LED light useless? It's useful for debugging if the device is working at a quick glance in my opinion.
@silvernode I think he means, that the blinking interrupts one toughts, if the dongle is visible and no debugging needs to be done.
Some sense in the world.
On Thu, Oct 21, 2021, 2:43 AM Martins Avots @.***> wrote:
@silvernode https://github.com/silvernode I think he means, that the blinking interrupts one toughts, if the dongle is visible and no debugging needs to be done.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RinCat/RTL88x2BU-Linux-Driver/issues/44#issuecomment-948438493, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZRATEZGZTAI3LMAJRQNRLUH7OENANCNFSM4RZIOA7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@nickpitlosh Did you try doing this and did it work?
I'd advocate making a proper configuration option to enable/disable the LED, so it can be toggled not only at compile time but also at runtime.
$ echo 0 > /proc/net/rtl88x2bu/das_blinken_lights
This would be really useful for me, since my dongle has a super-bright blue LED and it's on at night in a little server in my bedroom and it felt like trying to sleep in a laser disco until I covered the annoying thing with some duct tape.
WAIT A SECOND!!! What's this?
$ cat /proc/net/rtl88x2bu/wlx1cbfceb2abdb/led_config
strategy:12
bRegUseLed:1
iface_en_mask:0x01
ctl_en_mask[0]:0xFFFFFFFF
Hmmm.
$ echo 0 | sudo tee /proc/net/rtl88x2bu/wlx1cbfceb2abdb/led_config
0
and the LED is OFF!!!!
$ cat /proc/net/rtl88x2bu/wlx1cbfceb2abdb/led_config
strategy:0
bRegUseLed:1
iface_en_mask:0x01
ctl_en_mask[0]:0xFFFFFFFF