#757118 network-manager: nm tries to connect my 3g usb modem through ttyUSB2 instead of ttyUSB0

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Pierantonio Pozzan
Date:
2014-08-05 13:39:06 UTC
Severity:
important
#757118#5
Date:
2014-08-05 13:34:15 UTC
From:
To:
Dear Maintainer,

I've got a 3g modem by Huawei

$lsusb
Bus 003 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398
LTE/UMTS/GSM Modem/Networkcard

Network manager (cli or applet) wants to connect using ttyUSB2 but

$nmcli con
NOME                    UUID                                  TIPO
DEVICE
Connessione via cavo 1  339a6676-ee14-4961-9fbb-7ee2818ac0a4  802-3-ethernet
--
Fastweb Solo dati       2a806cbc-1cc2-4a1f-b166-6b19530d4836  gsm
--
Fastweb                 cd725e10-d068-44d1-9cef-acb71eb53fcc  gsm
--
tap0                    36e84c38-00ce-4c26-a8fb-fe41e5571cf6  generic
tap0
ppp0                    ad855b6a-2a37-4e13-8365-385cda60c731  generic
ppp0

And

$ nmcli con up Fastweb
Errore: attivazione connessione non riuscita: Connection 'Fastweb' is not
available on the device ttyUSB2 at this time.

# ls -al /dev/ | grep ttyUSB
lrwxrwxrwx   1 root root           7 ago  1 20:34 gsmmodem -> ttyUSB0
crw-rw----   1 root dialout 188,   0 ago  1 20:37 ttyUSB0
crw-rw----   1 root dialout 188,   1 ago  1 20:34 ttyUSB1
crw-rw----   1 root dialout 188,   2 ago  1 20:37 ttyUSB2
root@nihil:/home/hanaishi#

But using wvdial, configured with ttyUSB0, I'm able to connect.
This is my wvdial.conf file:
======================

[Dialer pin]
Modem = /dev/ttyUSB0
Baud = 115200
Init1 = AT+CPIN=2073

[Dialer fw]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = Analog Modem
Baud = 115200
Init = ATX3
;Init1 = AT+CPIN=####
Init2 = AT&F
Init3 = at+cgdcont=1,"IP","datacard.fastweb.it",,0,0
Phone = *99#
Phone1 = *99#
Dial Attempts = 1
Dial Command = ATDT
Ask Password = off
Password = anon
Username = anon
Auto Reconnect = off
Abort on Busy = off
Carrier Check = off
Check Def Route = off
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
======================


Thank you