summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-01-22 08:14:34 +0100
committermakefu <github@syntax-fehler.de>2019-01-22 08:14:34 +0100
commit04ddb5307bc68e91e4ce534469faa3cc52b4dd02 (patch)
tree58d8b46f3958f926b2338ef75b06b64e74285045 /makefu/2configs
parent9312695b39bb490c76d7297c346ef17ac462b569 (diff)
ma hw/malduino_elite: init
required so modem-manager does not try to use it as modem
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/hw/malduino_elite.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefu/2configs/hw/malduino_elite.nix b/makefu/2configs/hw/malduino_elite.nix
new file mode 100644
index 000000000..1af85493f
--- /dev/null
+++ b/makefu/2configs/hw/malduino_elite.nix
@@ -0,0 +1,15 @@
+{ config, lib, pkgs, ... }:
+
+{
+
+ services.udev.extraRules = ''
+ ACTION!="add|change", GOTO="mm_usb_device_blacklist_local_end"
+ SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_local_end"
+ ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_local_end"
+
+ ATTRS{idVendor}=="1b4f" ATTRS{idProduct}=="9204", ENV{ID_MM_DEVICE_IGNORE}="1"
+ ATTRS{idVendor}=="1b4f" ATTRS{idProduct}=="9203", ENV{ID_MM_DEVICE_IGNORE}="1"
+
+ LABEL="mm_usb_device_blacklist_local_end"
+ '';
+}