Answer the question
In order to leave comments, you need to log in
How to bind usb modem via udev symlink?
All the best! I can't figure out how to fix the problem I'm facing.
I have several modems (2pcs) when connected, the system sees one modem as
ttyUSB0,ttyUSB1,ttyUSB2
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/*", SYMLINK+="mts-01-audio "
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.1/*", SYMLINK+="mts-01- data"
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.2/*", SYMLINK+="mts-01 -other"
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1d.7/usb7/7-1/7-1:1.0/*", SYMLINK+="mts- 02-audio"
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1d.7/usb7/7-1/7-1:1.1/*", SYMLINK+="mts -02-data"
KERNEL=="ttyUSB*", DEVPATH=="/devices/pci0000:00/0000:00:1d.7/usb7/7-1/7-1:1.2/*",SYMLINK+="mts-02-other"
KERNEL=="ttyUSB*", DEVLINKS=="/dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0*" , ATTRS{device}=="0x2835", SYMLINK+="mts—audio"
SUBSYSTEMS=="tty", ENV{DEVLINKS}=="/dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0*" , ATTRS{device}=="0x2835", SYMLINK+="mts—audio"
udevadm info -a -n /dev/ttyUSB , udevadm info --query=property --name=ttyUSB , udevadm monitor --environment --udev) or something else...
Answer the question
In order to leave comments, you need to log in
I mounted via imei and set the necessary ports, something like this:
PS
Find the config as I mounted the modems does not work, but I used their imei to set the port.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question