MC8790 not connecting on Xubuntu/ubuntu server 20

Hi,

I’m having some problems getting a computer with xubuntu 20 or ubuntu server 20 to get a mobile broadband connection.

output of uname -a:
Linux 1077 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

The device is detected by lsusb:
Bus 001 Device 006: ID 1199:683c Sierra Wireless, Inc. Mobile Broadband 3G/UMTS (MC8790 Device)

Here is the output of mmcli -m 0:
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: fb86bc3700839a63325cc0c96698ce5c4ddd32f9

Hardware | manufacturer: Sierra Wireless, Incorporated
| model: MC8790
| firmware revision: K2_0_7_35AP C:/WS/FW/K2_0_7_35AP/MSM6290/SRC 2010/03/04 17:37:08
| supported: gsm-umts
| current: gsm-umts
| equipment id: 352974025627415

System | device: /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4.4
| drivers: sierra
| plugin: Sierra (legacy)
| primary port: ttyUSB3
| ports: ttyUSB5 (at), ttyUSB4 (at), ttyUSB6 (at), ttyUSB3 (at)

Status | state: registered
| power state: on
| access tech: hsdpa, hsupa
| signal quality: 60% (recent)

Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 2g, 3g; preferred: none
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 3g; preferred: 3g
| current: allowed: 2g, 3g; preferred: 3g

IP | supported: ipv4, ipv6

3GPP | imei:
| enabled locks: sim
| operator id:
| operator name:
| registration: home

SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0

Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/0

the journal of the modem manager service outputs this:

feb 12 10:14:30 1077 ModemManager[9953]: Couldn’t check support for device ‘/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0’: not supported>
feb 12 10:14:30 1077 ModemManager[9953]: Couldn’t check support for device ‘/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0’: not supported>
feb 12 10:14:30 1077 ModemManager[9953]: Couldn’t check support for device ‘/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0’: not supported>
feb 12 10:14:30 1077 ModemManager[9953]: Couldn’t check support for device ‘/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0’: not supported>
feb 12 10:14:41 1077 ModemManager[9953]: [device /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4.4] creating modem with plugin 'Sie>
feb 12 10:14:41 1077 ModemManager[9953]: Could not grab port (tty/ttyUSB2): ‘Cannot add port ‘tty/ttyUSB2’, unhandled serial type’
feb 12 10:14:41 1077 ModemManager[9953]: Could not grab port (tty/ttyUSB1): ‘Cannot add port ‘tty/ttyUSB1’, unhandled serial type’
feb 12 10:14:41 1077 ModemManager[9953]: Could not grab port (tty/ttyUSB0): ‘Cannot add port ‘tty/ttyUSB0’, unhandled serial type’
feb 12 10:14:41 1077 ModemManager[9953]: Modem for device ‘/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4.4’ successfully created
feb 12 10:15:14 1077 ModemManager[9953]: (ttyUSB2): close blocked by driver for more than 7 seconds!
feb 12 10:15:22 1077 ModemManager[9953]: Couldn’t load unlock retries: ‘Unknown error’
feb 12 10:15:22 1077 ModemManager[9953]: couldn’t load list of Emergency Numbers: ‘Failed to parse CRSM query result ‘+CRSM: 105,129,""’’
feb 12 10:15:22 1077 ModemManager[9953]: couldn’t load UE mode of operation for EPS: ‘Unknown error’
feb 12 10:15:22 1077 ModemManager[9953]: Modem: state changed (unknown → disabled)
feb 12 10:15:22 1077 ModemManager[9953]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled → enabling)
feb 12 10:15:30 1077 ModemManager[9953]: (tty/ttyUSB5) at port timed out 2 consecutive times
feb 12 10:15:33 1077 ModemManager[9953]: (tty/ttyUSB5) at port timed out 3 consecutive times
feb 12 10:15:36 1077 ModemManager[9953]: (tty/ttyUSB5) at port timed out 4 consecutive times
feb 12 10:15:46 1077 ModemManager[9953]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling → enabled)
feb 12 10:15:46 1077 ModemManager[9953]: (tty/ttyUSB5) at port timed out 2 consecutive times
feb 12 10:15:46 1077 ModemManager[9953]: Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown → registerin>
feb 12 10:15:46 1077 ModemManager[9953]: Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering → home)
feb 12 10:15:46 1077 ModemManager[9953]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabled → registered)

The thing is that i can’t get a connection neither with the user interface or using nmcli with this command:
nmcli c add type gsm ifname mmcli -m 0 -K| grep modem.generic.primary-port | cut -d: -f2 con-name

which works with another machine i have using an mc8355.
in that case i had to compile the drivers so I am missing something in my configuration?Because in theory it’s drivers are included in the kernel. Any drivers to compile and insert or step to perform?

thanks in advance.

You can try ppp dial up through AT command port