diff --git a/recipes-bsp/odu-static-devicenames/files/gsmk-owhw/odu-persistens-serial.rules b/recipes-bsp/odu-static-devicenames/files/gsmk-owhw/odu-persistens-serial.rules new file mode 100644 index 0000000..ca0ea6d --- /dev/null +++ b/recipes-bsp/odu-static-devicenames/files/gsmk-owhw/odu-persistens-serial.rules @@ -0,0 +1,19 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="remove", GOTO="owhw_persistent_serial_end" +SUBSYSTEM!="tty", GOTO="owhw_persistent_serial_end" +KERNEL!="ttyUSB[0-9]*", GOTO="owhw_persistent_serial_end" + +KERNELS=="2-1.2:1.0", SYMLINK+="ttyModem1DM" +KERNELS=="2-1.2:1.1", SYMLINK+="ttyModem1NMEA" +KERNELS=="2-1.2:1.2", SYMLINK+="ttyModem1AT" +KERNELS=="2-1.2:1.3", SYMLINK+="ttyModem1PPP" +KERNELS=="2-1.2:1.4", SYMLINK+="ttyModem1NDIS" + +KERNELS=="2-1.3:1.0", SYMLINK+="ttyModem2DM" +KERNELS=="2-1.3:1.1", SYMLINK+="ttyModem2NMEA" +KERNELS=="2-1.3:1.2", SYMLINK+="ttyModem2AT" +KERNELS=="2-1.3:1.3", SYMLINK+="ttyModem2PPP" +KERNELS=="2-1.3:1.4", SYMLINK+="ttyModem2NDIS" + +LABEL="owhw_persistent_serial_end" diff --git a/recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules b/recipes-bsp/odu-static-devicenames/files/sysmocom-odu/odu-persistens-serial.rules similarity index 100% rename from recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules rename to recipes-bsp/odu-static-devicenames/files/sysmocom-odu/odu-persistens-serial.rules