OWHW: persistent modem serial device names
This commit is contained in:
parent
2f5446c306
commit
aa087fcc27
|
@ -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"
|
Loading…
Reference in New Issue