So I moved on to Ubuntu 20.10 (and usbmodeswitch 2.6.1) to see if current usbmodeswitch will able to configure modem automatically. After all usbmodeswitch-data is updated now and include config for this modem.
Unfortunately, for some reason usbmodeswitch fail, and I have no idea why. Please take a look at this usb_modeswitch_2-3 log:
Code: Select all
USB_ModeSwitch log from Sun Sep 27 06:27:13 +02 2020
Raw parameters: --switch-mode 2-3
Use global config file: /etc/usb_modeswitch.conf
Use global config file: /etc/usb_modeswitch.conf
Use top device dir /sys/bus/usb/devices/2-3
Check class of first interface ...
No access to first interface. Exit
Code: Select all
USB_ModeSwitch log from Sun Sep 27 06:42:18 +02 2020
Raw parameters: --switch-mode 2-3
Use global config file: /etc/usb_modeswitch.conf
Use global config file: /etc/usb_modeswitch.conf
Use top device dir /sys/bus/usb/devices/2-3
Check class of first interface ...
Interface class is 02.
----------------
USB values from sysfs:
manufacturer Qualcomm
product Snapdragon(TM) X12 LTE-A
serial 0123456789ABCDEF
----------------
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
ConfigList: pack/03f0:0857 pack/
SCSI attributes not needed, move on
Check config: pack/03f0:0857
! matched. Read config data
Extract config 03f0:0857 from collection /usr/share/usb_modeswitch/configPack.tar.gz
Device may have an MBIM configuration, check driver ...
driver for MBIM devices is available
Find MBIM configuration number ...
Command line:
usb_modeswitch -W -D -b 2 -g 3 -v 03f0 -p 0857 -f $flags(config)
Code: Select all
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Main process exited, code=killed, status=15/TERM
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Main process exited, code=killed, status=15/TERM
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Main process exited, code=killed, status=15/TERM
Sep 27 06:42:18 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Sep 27 06:42:19 hp1013 usb_modeswitch: switch device 03f0:0857 on 002/003
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Main process exited, code=killed, status=15/TERM
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Main process exited, code=killed, status=15/TERM
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Start request repeated too quickly.
Sep 27 06:42:19 hp1013 systemd[1]: usb_modeswitch@2-3.service: Failed with result 'signal'.
Just to be sure I checked "echo 3 > /sys/bus/usb/devices/usb2/2-3/bConfigurationValue" and it allow to get modem working.