diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2020-05-16 01:50:28 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2020-05-16 01:50:28 +0000 |
| commit | 2e09b2590e837d8e0c9c820ad67e628d0c4efe08 (patch) | |
| tree | fcd05f8ec88d14558cb0ae9bcbffb5e24f0221b8 /sys/dev/acpica | |
| parent | c1be839971100cbfb6f758dc7d1613c280e6a373 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/acpi_lid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_lid.c b/sys/dev/acpica/acpi_lid.c index 25d9551b81fa1..51cd50516ecc1 100644 --- a/sys/dev/acpica/acpi_lid.c +++ b/sys/dev/acpica/acpi_lid.c @@ -114,6 +114,9 @@ acpi_lid_status_update(struct acpi_lid_softc *sc) /* range check value */ sc->lid_status = lid_status ? 1 : 0; + /* Send notification via devd */ + acpi_UserNotify("Lid", sc->lid_handle, sc->lid_status); + #ifdef EVDEV_SUPPORT /* Notify evdev about lid status */ evdev_push_sw(sc->lid_evdev, SW_LID, lid_status ? 0 : 1); |
