History

platform/x86: asus-wmi: support the disable camera LED on F10 of Zenbook 2023

Adds a sysfs entry for the LED on F10 above the crossed out camera icon on 2023 Zenbooks.

Devin Bayer committed 2 years ago

Commit 4bf1ea31 parent cf254772 files · +39 −0Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+4−0
@@ -51,6 +51,10 @@ · 50 unmodified lines
51#define ASUS_WMI_DEVID_LED6 0x0002001651#define ASUS_WMI_DEVID_LED6 0x00020016
52#define ASUS_WMI_DEVID_MICMUTE_LED 0x0004001752#define ASUS_WMI_DEVID_MICMUTE_LED 0x00040017
53 53
54/* Disable Camera LED */
55#define ASUS_WMI_DEVID_CAMERA_LED_NEG 0x00060078 /* 0 = on (unused) */
56#define ASUS_WMI_DEVID_CAMERA_LED 0x00060079 /* 1 = on */
57
54/* Backlight and Brightness */58/* Backlight and Brightness */
55#define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */59#define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */
56#define ASUS_WMI_DEVID_BACKLIGHT 0x0005001160#define ASUS_WMI_DEVID_BACKLIGHT 0x00050011

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t