[Login] # Ignore single-tap KEY_POWER from any source. The Shokz OpenMeet dongle # (3511:2EF2) emits KEY_POWER on USB enumeration and on headset power # transitions, which would otherwise immediately shut the host down. An # hwdb scancode remap was attempted but the kernel does not honor # EVIOCSKEYCODE for this device's HID consumer-page mapping. # # Long-press (>=5s) still triggers poweroff, preserving the real # hardware-power-button safety net. HandlePowerKey=ignore HandlePowerKeyLongPress=poweroff