Configuring Huawei e3372 4G/LTE dongle on TX2. What am i missing ?

Hello,

I have been trying to get my head around configuring the Jetson TX2 to use a huawei dongle as it’s primary internet link.

So far i have been through numerous trials with wvdial and ppp scripts, so far NOT so good. To keep things simple i will describe here the basic GUI setup and failure on a freshly flashed Jetson.

If someone could help me with this one, i would be very grateful. It might be something simple… Or not.

Description:
Once plugged in dmesg shows:

[   88.908427] usb 1-2: new high-speed USB device number 5 using xhci-tegra
[   89.046749] usb 1-2: New USB device found, idVendor=12d1, idProduct=1506
[   89.053619] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   89.061149] usb 1-2: Product: HUAWEI_MOBILE
[   89.065544] usb 1-2: Manufacturer: HUAWEI_MOBILE
[   89.072949] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[   89.109569] option 1-2:1.0: GSM modem (1-port) converter detected
[   89.117324] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0

This looks promising, then when i do usb-devices, it says:

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1506 Rev=01.02
S:  Manufacturer=HUAWEI_MOBILE
S:  Product=HUAWEI_MOBILE
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=03 Prot=12 Driver=option
I:  If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=03 Prot=16 Driver=(none)

Also all looks good to me. Here’s lsusb:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 001 Device 007: ID 24ae:2000  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So it looks like it recognises the dongle as modem/networkcard and creates /dev/ttyUSB0 accordingly. Ifconfig at this point says:

docker0   Link encap:Ethernet  HWaddr 02:42:dc:ad:05:63
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:04:4b:c4:cb:b8
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:42

l4tbr0    Link encap:Ethernet  HWaddr 3a:06:d8:b5:ed:1c
          inet addr:192.168.55.1  Bcast:192.168.55.255  Mask:255.255.255.0
          inet6 addr: fe80::6c75:60ff:fe2a:9e0d/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:744 (744.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:16726 (16.7 KB)  TX bytes:16726 (16.7 KB)

usb0      Link encap:Ethernet  HWaddr 3a:06:d8:b5:ed:1c
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb1      Link encap:Ethernet  HWaddr d2:15:3a:bc:e3:a8
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0


          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:04:4b:c4:cb:b6
          inet addr:192.168.1.33  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b448:94c2:a1c4:45df/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:682 errors:0 dropped:0 overruns:0 frame:0
          TX packets:338 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:149322 (149.3 KB)  TX bytes:145642 (145.6 KB)

The dongle shows up as broadband connection in Networks GUI. When i create a connection using operator specific details it tries to connect and after a while it disconnects. Syslog:

Jan 24 09:36:50 tegra-ubuntu kernel: [  604.324371] usb 1-2: new high-speed USB device number 14 using xhci-tegra
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.461917] usb 1-2: New USB device found, idVendor=12d1, idProduct=1506
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.468775] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.476107] usb 1-2: Product: HUAWEI_MOBILE
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.480388] usb 1-2: Manufacturer: HUAWEI_MOBILE
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.487374] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.524472] option 1-2:1.0: GSM modem (1-port) converter detected
Jan 24 09:36:50 tegra-ubuntu kernel: [  604.531899] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
Jan 24 09:36:34 tegra-ubuntu gnome-session[1867]: (gnome-software:2115): GsPlugin-WARNING **: failed to load cached icon 64x64: Image file '/var/lib/app-info/icons/ubuntu-xenial-updates-main/64x64' contains no data
Jan 24 09:36:50 tegra-ubuntu mtp-probe: checking bus 1, device 14: "/sys/devices/3530000.xhci/usb1/1-2"
Jan 24 09:36:50 tegra-ubuntu mtp-probe: bus: 1, device: 14 was not an MTP device
Jan 24 09:36:50 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:check_usb_device() usb [12d1:1506]
Jan 24 09:36:50 tegra-ubuntu ofonod[660]: plugins/udevng.c:check_usb_device() usb [12d1:1506]
Jan 24 09:36:50 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:check_usb_device() usb [(null):(null)]
Jan 24 09:36:50 tegra-ubuntu ofonod[660]: plugins/udevng.c:check_usb_device() usb [(null):(null)]
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:check_usb_device() option [(null):(null)]
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udevng.c:check_usb_device() option [(null):(null)]
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:check_usb_device() option [12d1:1506]
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:add_device() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:add_device() /sys/devices/3530000.xhci/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:add_device() (null): /dev/ttyUSB0 (huawei) 255/3/18 [00] ==> (null) (null)
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udev.c:udev_event() subsystem tty add
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udevng.c:check_usb_device() option [12d1:1506]
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udev.c:udev_event() subsystem tty finished
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udevng.c:add_device() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udevng.c:add_device() /sys/devices/3530000.xhci/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udevng.c:add_device() (null): /dev/ttyUSB0 (huawei) 255/3/18 [00] ==> (null) (null)
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udev.c:udev_event() subsystem tty add
Jan 24 09:36:51 tegra-ubuntu ofonod[660]: plugins/udev.c:udev_event() subsystem tty finished
Jan 24 09:36:51 tegra-ubuntu ModemManager[576]: <warn>  (ttyUSB0): port attributes not fully set
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:check_modem_list()
Jan 24 09:36:53 tegra-ubuntu rsyslogd-2007: action 'action 9' suspended, next retry is Thu Jan 24 09:37:53 2019 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:create_modem() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:create_modem() driver=huawei
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: src/modem.c:ofono_modem_create() name: (null), type: huawei
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:setup_huawei() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:setup_huawei() /dev/ttyUSB0 255/3/18 00 (null)
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:destroy_modem() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: src/modem.c:ofono_modem_remove() 0x5806a0
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: ofonod[660]: plugins/udevng.c:destroy_modem() /dev/ttyUSB0
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:check_modem_list()
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:create_modem() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:create_modem() driver=huawei
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: src/modem.c:ofono_modem_create() name: (null), type: huawei
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:setup_huawei() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:setup_huawei() /dev/ttyUSB0 255/3/18 00 (null)
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:destroy_modem() /sys/devices/3530000.xhci/usb1/1-2
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: src/modem.c:ofono_modem_remove() 0x5806a0
Jan 24 09:36:53 tegra-ubuntu ofonod[660]: plugins/udevng.c:destroy_modem() /dev/ttyUSB0
Jan 24 09:36:54 tegra-ubuntu ModemManager[576]: <info>  Creating modem with plugin 'Huawei' and '1' ports
Jan 24 09:36:54 tegra-ubuntu ModemManager[576]: <warn>  (ttyUSB0): port attributes not fully set
Jan 24 09:36:54 tegra-ubuntu ModemManager[576]: <info>  Modem for device at '/sys/devices/3530000.xhci/usb1/1-2' successfully created
Jan 24 09:36:54 tegra-ubuntu gnome-session[1867]: (gnome-software:2115): GsPlugin-WARNING **: failed to load cached icon 64x64: Image file '/var/lib/app-info/icons/ubuntu-xenial-security-universe/64x64' contains no data
Jan 24 09:36:54 tegra-ubuntu gnome-session[1867]: (gnome-software:2115): GsPlugin-WARNING **: failed to load cached icon 64x64: Image file '/var/lib/app-info/icons/ubuntu-xenial-updates-main/64x64' contains no data
Jan 24 09:36:54 tegra-ubuntu gnome-session[1867]: (gnome-software:2115): GsPlugin-WARNING **: failed to load cached icon 64x64: Image file '/var/lib/app-info/icons/ubuntu-xenial-updates-main/64x64' contains no data
Jan 24 09:36:55 tegra-ubuntu anacron[680]: Job `cron.weekly' started
Jan 24 09:36:55 tegra-ubuntu anacron[3016]: Updated timestamp for job `cron.weekly' to 2019-01-24
Jan 24 09:36:55 tegra-ubuntu wpa_supplicant[952]: wlan0: Failed to initiate sched scan
Jan 24 09:36:58 tegra-ubuntu ModemManager[576]: Invalid mobile equipment error code: 50
Jan 24 09:36:58 tegra-ubuntu ModemManager[576]: <info>  Modem: state changed (unknown -> disabled)
Jan 24 09:36:58 tegra-ubuntu NetworkManager[714]: <info>  [1548322618.3985] manager: (ttyUSB0): new Broadband device (/org/freedesktop/NetworkManager/Devices/11)
Jan 24 09:36:58 tegra-ubuntu NetworkManager[714]: <info>  [1548322618.4016] device (ttyUSB0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jan 24 09:36:58 tegra-ubuntu NetworkManager[714]: <info>  [1548322618.4029] device (ttyUSB0): modem state 'enabling'
Jan 24 09:36:58 tegra-ubuntu ModemManager[576]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: state changed (disabled -> enabling)
Jan 24 09:36:58 tegra-ubuntu ModemManager[576]: <warn>  (ttyUSB0): port attributes not fully set
Jan 24 09:36:59 tegra-ubuntu ModemManager[576]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: 3GPP Registration state changed (unknown -> registering)
Jan 24 09:36:59 tegra-ubuntu ModemManager[576]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: 3GPP Registration state changed (registering -> home)
Jan 24 09:36:59 tegra-ubuntu ModemManager[576]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: state changed (enabling -> registered)
Jan 24 09:36:59 tegra-ubuntu NetworkManager[714]: <info>  [1548322619.3595] device (ttyUSB0): state change: unavailable -> disconnected (reason 'modem-available') [20 30 58]

I have tried multiple usb_modeswitch varieties, but to me it seems the modem is already on “modem mode”, so this shouldn’t be the case ?

Any help ?

hello may i know have you solved this problem? becoz i m facing the same issue on jetson nano