From d46b32761c6a49fb0a4a2b384ff94960fb533a4c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 Oct 2017 13:47:48 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hel.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hel.nix b/hel.nix index 8b71a99a..8417a186 100644 --- a/hel.nix +++ b/hel.nix @@ -474,10 +474,7 @@ SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" - # Disallow ModemManager from touching Sierra Wireless EM7455 tty ports - SUBSYSTEM=="tty", ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", ENV{ID_MM_DEVICE_MANUAL_SCAN_ONLY}="1" - - KERNELS=="1-2:1.2", SYMLINK+="gps0" + KERNELS=="1-2:1.2", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gps0" ''; } -- cgit v1.2.3