add udev.rules files for icE1usb and e1-tracer

Change-Id: Ie1be28359def6fc181f88558834ac52a001312b7
This commit is contained in:
Harald Welte 2020-12-14 22:34:35 +01:00
parent 2b7dadf73e
commit 7d4ba34552
2 changed files with 26 additions and 0 deletions

View File

@ -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"

13
software/99_icE1usb.rules Normal file
View File

@ -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"