summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 80cb7618..a2d7bd1d 100644
--- a/hel.nix
+++ b/hel.nix
@@ -97,7 +97,8 @@
97 services = { 97 services = {
98 gpsd = { 98 gpsd = {
99 enable = true; 99 enable = true;
100 device = "/dev/serial/by-path/pci-0000:00:14.0-usb-0:2:1.2-port0"; 100 debugLevel = 5;
101 device = "/dev/gps0";
101 readonly = false; 102 readonly = false;
102 }; 103 };
103 104
@@ -475,6 +476,8 @@
475 476
476 # Disallow ModemManager from touching Sierra Wireless EM7455 tty ports 477 # Disallow ModemManager from touching Sierra Wireless EM7455 tty ports
477 SUBSYSTEM=="tty", ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", ENV{ID_MM_DEVICE_MANUAL_SCAN_ONLY}="1" 478 SUBSYSTEM=="tty", ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", ENV{ID_MM_DEVICE_MANUAL_SCAN_ONLY}="1"
479
480 KERNEL=="serial/by-id/usb-Sierra_Wireless__Incorporated_Sierra_Wireless_EM7455_Qualcomm_Snapdragon_X7_LTE-A_LF5487977021013-if02-port0 /dev/serial/by-path/pci-0000:00:14.0-usb-0:2:1.2-port0", SYMLINK+="gps0"
478 ''; 481 '';
479} 482}
480 483