RTL88x2BU-Linux-Driver icon indicating copy to clipboard operation
RTL88x2BU-Linux-Driver copied to clipboard

is there an option to disable useless led light on a dongle?

Open nickpitlosh opened this issue 4 years ago • 7 comments

just thought it would be nice.

nickpitlosh avatar Sep 25 '20 08:09 nickpitlosh

No built-in option, if you want to disable, try remove #define CONFIG_RTW_LED in include/autoconf.h.

RinCat avatar Sep 25 '20 15:09 RinCat

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 avatar Oct 17 '21 18:10 silvernode

@silvernode I think he means, that the blinking interrupts one toughts, if the dongle is visible and no debugging needs to be done.

martins-1992 avatar Oct 21 '21 09:10 martins-1992

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 avatar Oct 21 '21 14:10 nickpitlosh

@nickpitlosh Did you try doing this and did it work?

gusennan avatar Feb 01 '22 20:02 gusennan

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.

barak avatar May 04 '22 12:05 barak

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

barak avatar May 04 '22 12:05 barak