[ask] avoid conflict between 2 same usb modem
hi guys,
i have 2 same 3g modem. i install the linux driver from the modem
storage. if i plug the first modem into pc's usb, the 8 devices links
will appear as below:
crw------- 1 root root 188, 0 May 17 21:18 /dev/ttyUSB0
crw------- 1 root root 188, 1 May 17 21:18 /dev/ttyUSB1
crw------- 1 root root 188, 2 May 17 21:18 /dev/ttyUSB2
crw-rw---- 1 root root 188, 3 May 17 21:18 /dev/ttyUSB3
crw-rw---- 1 root root 188, 4 May 17 21:18 /dev/ttyUSB4
crw-rw---- 1 root root 188, 1 May 17 21:18 /dev/ttyUSB_utps_diag
crw-rw---- 1 root root 188, 0 May 17 21:21 /dev/ttyUSB_utps_modem
crw-rw---- 1 root root 188, 2 May 17 21:30 /dev/ttyUSB_utps_pcui
when the i plug the second modem into pc'usb, the same device links
will appear and also will overide for ttyUSB_utps_diag,
ttyUSB_utps_modem, and ttyUSB_utps_pcui. the rest are ttyUSB5,
ttyUSB6, ttyUSB7,ttyUSB8, ttyUSB9.
if i used ttyUSB_utps_modem in a program, the device will be conflict
because the second modem is attached to the pc.
how should i manage this in order to avoid such that conflict?
thanks in advance.
regards,
marco
Reply to: