summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/malduino_elite.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-01-22 16:36:46 +0100
committerlassulus <lassulus@lassul.us>2019-01-22 16:36:46 +0100
commitd619bcbf4aa9b71c14b330efcfeea4fa94fa8573 (patch)
tree5a9bd58573336e717dc8b6d25fcaf3e24d9ed3c6 /makefu/2configs/hw/malduino_elite.nix
parente14abf9583a2605eb3fad186cfef1a5ec11beb7f (diff)
parentb8bd543a79684d1c63a06fe5c1784d75e6dbbf85 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/hw/malduino_elite.nix')
-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"
+ '';
+}