add udev.rules files for icE1usb and e1-tracer

Change-Id: Ie1be28359def6fc181f88558834ac52a001312b7
diff --git a/software/99_e1tracer.rules b/software/99_e1tracer.rules
new file mode 100644
index 0000000..d1344b1
--- /dev/null
+++ b/software/99_e1tracer.rules
@@ -0,0 +1,13 @@
+# copy this file to /etc/udev/rules.d/
+
+# If not adding the device, go away
+ACTION!="add", GOTO="e1_tracer_rules_end"
+SUBSYSTEM!="usb", GOTO="e1_tracer_rules_end"
+
+# Osmocom e1-tracer, DFU mode
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6150", GROUP="plugdev"
+# Osmocom e1-tracer, runtime
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6151", GROUP="plugdev"
+
+# All done
+LABEL="e1_tracer_rules_end"
diff --git a/software/99_icE1usb.rules b/software/99_icE1usb.rules
new file mode 100644
index 0000000..7232b7c
--- /dev/null
+++ b/software/99_icE1usb.rules
@@ -0,0 +1,13 @@
+# copy this file to /etc/udev/rules.d/
+
+# If not adding the device, go away
+ACTION!="add", GOTO="ice40_e1_rules_end"
+SUBSYSTEM!="usb", GOTO="ice40_e1_rules_end"
+
+# Osmocom icE1usb USB E1 interface, DFU mode
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6144", GROUP="plugdev"
+# Osmocom icE1usb USB E1 interface, runtime
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6145", GROUP="plugdev"
+
+# All done
+LABEL="ice40_e1_rules_end"