clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
443 stars 90 forks source link

LED does not work #23

Closed andreas-R17 closed 3 years ago

andreas-R17 commented 3 years ago

LED does not work on adapter MERCUSYS MW300UM.

# lsusb Bus 005 Device 002: ID 2c4e:0100

How to make it work?

clnhub commented 3 years ago

Try (MakeFile): EXTRA_CFLAGS += -DCONFIG_RTW_LED -DCONFIG_RTW_SW_LED -DCONFIG_LED_ENABLE

andreas-R17 commented 3 years ago

Thank you very much.

griloHBG commented 3 years ago

This worked for TL-WN823N!

Thanks!

smdjll commented 2 years ago

@griloHBG Sorry to bother you; I also have a TL-WN823N. Do you remember where exactly on the Makefile did you put the CFLAG? and which one worked out for you

clnhub commented 2 years ago

Just add the whole line.

mraandtux commented 1 month ago

EXTRA_CFLAGS += -DCONFIG_RTW_LED -DCONFIG_RTW_SW_LED -DCONFIG_LED_ENABLE

That line doesn't work on Ubuntu 24.04 with 6.8 kernel. From make.log: /var/lib/dkms/rtl8192eu/1.0/build/os_dep/linux/rtw_proc.c:640:5: error: no previous prototype for ‘proc_get_led_config’ [-Werror=missing-prototypes]