In some new ASUS devices, hotkey Fn+F13 is used for mic mute. If mic-mute LED is present by checking WMI ASUS_WMI_DEVID_MICMUTE_LED, we will add a mic-mute LED classdev, asus::micmute, in the asus-wmi driver to control it. The binding of mic-mute LED controls will be swithched with LED trigger.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -49,6 +49,7 @@ · 48 unmodified lines | ||
| 49 | 49 | #define ASUS_WMI_DEVID_LED4 0x00020014 |
| 50 | 50 | #define ASUS_WMI_DEVID_LED5 0x00020015 |
| 51 | 51 | #define ASUS_WMI_DEVID_LED6 0x00020016 |
| 52 | +#define ASUS_WMI_DEVID_MICMUTE_LED 0x00040017 | |
| 52 | 53 | |
| 53 | 54 | /* Backlight and Brightness */ |
| 54 | 55 | #define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */ |