diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/system76/ec/Kconfig | 5 | ||||
-rw-r--r-- | src/ec/system76/ec/acpi/ec.asl | 3 | ||||
-rw-r--r-- | src/ec/system76/ec/acpi/s76.asl | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/ec/system76/ec/Kconfig b/src/ec/system76/ec/Kconfig index 8c9030e599..e9b8091f39 100644 --- a/src/ec/system76/ec/Kconfig +++ b/src/ec/system76/ec/Kconfig @@ -12,3 +12,8 @@ config EC_SYSTEM76_EC_COLOR_KEYBOARD depends on EC_SYSTEM76_EC bool default n + +config EC_SYSTEM76_EC_OLED + depends on EC_SYSTEM76_EC + bool + default n diff --git a/src/ec/system76/ec/acpi/ec.asl b/src/ec/system76/ec/acpi/ec.asl index 612c358e08..b24137ca4f 100644 --- a/src/ec/system76/ec/acpi/ec.asl +++ b/src/ec/system76/ec/acpi/ec.asl @@ -104,6 +104,9 @@ Device (\_SB.PCI0.LPCB.EC0) Method (_Q0B, 0, NotSerialized) // Screen Toggle { Debug = "EC: Screen Toggle" +#if CONFIG(EC_SYSTEM76_EC_OLED) + Notify (^^^^S76D, 0x85) +#endif // CONFIG(EC_SYSTEM76_EC_OLED) } Method (_Q0C, 0, NotSerialized) // Mute diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl index a2bb310938..62a93bab3d 100644 --- a/src/ec/system76/ec/acpi/s76.asl +++ b/src/ec/system76/ec/acpi/s76.asl @@ -6,6 +6,7 @@ // 0x82 - backlight down // 0x83 - backlight up // 0x84 - backlight color change +// 0x85 - OLED screen toggle Device (S76D) { Name (_HID, "17761776") Name (_UID, 0) |