FS#59008 - [ModemManager 1.8.0-1] Ericsson H5321gw doesn't connect

Attached to Project: Arch Linux
Opened by Cysioland (Cysioland) - Thursday, 14 June 2018, 09:21 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 22 June 2018, 09:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After inserting the SIM card the device is recognized by NetworkManager GUI, but it doesn't seem to remember the relevant connection profile I add. Applying the module option mentioned in https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X230#UMTS_Modem doesn't help.

ModemManager Log:
cze 14 11:05:30 systemd[1]: Starting Modem Manager...
cze 14 11:05:30 ModemManager[631]: <info> ModemManager (version 1.8.0) starting in system bus...
cze 14 11:05:30 systemd[1]: Started Modem Manager.
cze 14 11:05:33 ModemManager[631]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
cze 14 11:05:33 ModemManager[631]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
cze 14 11:05:42 ModemManager[631]: <info> [device /sys/devices/pci0000:00/0000:00:14.0/usb3/3-4] creating modem with plugin 'Ericsson MBM' and '6' ports
cze 14 11:05:42 ModemManager[631]: <warn> Could not grab port (usbmisc/cdc-wdm1): 'Cannot add port 'usbmisc/cdc-wdm1', unsupported'
cze 14 11:05:42 ModemManager[631]: <warn> Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'
cze 14 11:05:42 ModemManager[631]: <info> Modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4' successfully created
cze 14 11:05:42 ModemManager[631]: <warn> couldn't load Operator name: 'Failed to parse CRSM query result '+CRSM: 148,4''
cze 14 11:05:43 ModemManager[631]: <warn> couldn't load UE mode of operation for EPS: 'Unknown error'
cze 14 11:05:43 ModemManager[631]: <info> Modem: state changed (unknown -> disabled)


Additional info:
* package version(s): 1.8.0-1

Steps to reproduce:
* disable MBIM as per wiki
* power off
* insert a SIM card
* boot
* go into NetworkManager GUI and try to add connection
* see no device in the list in the first step of the wizard
* add connection anyway
* see connection not being saved
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 22 June 2018, 09:03 GMT
Reason for closing:  Not a bug
Comment by Alexander E. Patrakov (patrakov) - Thursday, 14 June 2018, 11:01 GMT
Also affects Huawei E182E modem, same symptoms: "not supported by any plugin"

Running ModemManager from command line like this results in the modem being detected:

ModemManager --debug --filter-policy=DEFAULT
Comment by Cysioland (Cysioland) - Thursday, 14 June 2018, 11:08 GMT
For me it seems to do more after running it with that command, but it still doesn't add the profile.
Comment by Alexander E. Patrakov (patrakov) - Thursday, 14 June 2018, 11:12 GMT
Logs please.

Also another workaround could be:

cat > /etc/udev/rules.d/78-mm-whitelist-my-modem.rules <<"EOF"
# obviously with your modem's USB IDs, not the Huawei IDs below
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14ac", ENV{ID_MM_DEVICE_PROCESS}="1"
EOF
udevadm reload
udevadm trigger # or maybe reboot
Comment by Cysioland (Cysioland) - Thursday, 14 June 2018, 11:19 GMT
After adding that udev thing logs are the same.
Comment by Doug Newgard (Scimmia) - Monday, 18 June 2018, 14:00 GMT
Did this ever work? Is it supposed to work?

The "not supported by any plugin" entries seem to be a red herring, they're for different devices.
Comment by Cysioland (Cysioland) - Wednesday, 20 June 2018, 19:20 GMT
After doing `sudo mmcli -m 0 --simple-connect="apn=darmowy"` it logs

cze 20 21:05:37 ModemManager[24590]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
cze 20 21:05:38 ModemManager[24590]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> idle)
cze 20 21:05:38 ModemManager[24590]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> enabled)
cze 20 21:06:27 ModemManager[24590]: <info> Simple connect started...
cze 20 21:06:27 ModemManager[24590]: <info> Simple connect state (4/8): Wait to get fully enabled
cze 20 21:06:27 ModemManager[24590]: <info> Simple connect state (5/8): Register
Comment by Cysioland (Cysioland) - Friday, 22 June 2018, 08:28 GMT
Invalid because of broken GNOME power settings on my installation. I managed to get it to work after switching on my modem in GNOME power settings.

Loading...