]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: Listen to WMI hotkeys to catch SW_DOCK state/events 1100/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 1 Sep 2015 08:51:15 +0000 (10:51 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 1 Sep 2015 08:51:15 +0000 (10:51 +0200)
commit7577e5181a9120fba89868122f1165ca7505de94
treeba18c744e4dada165e312f3eb526bdfff4708dd1
parentd4c8dcc47aab8da904b6998c53c457d3d9a7b227
logind: Listen to WMI hotkeys to catch SW_DOCK state/events

On Dell and HP laptops the dock state/events (SW_DOCK) come from the "{Dell,HP}
WMI hotkeys" input devices. Tag them as power-switch so that login actually
considers them. Use a general match in case this affects other vendors, too.

Thanks to Andreas Schultz for debugging this!

https://launchpad.net/bugs/1450009
src/login/70-power-switch.rules