As RussianNeuroMancer correctly pointed out the bug is in the concatenation of the strings
MODULES_PATH, kversion, and CDC_MBIM_DRIVER_PATH into cdc_mbim_module_path.
The ending linefeed char in kversion is the culprit and it makes the dispatcher unable to detect the presence of a cdc-mbim module.
usb_modeswitch will therefore not be able to automagically select the mbim configuration in the modem, usb_modeswitch thinks that the mbim driver is not present in the system.
As RussianNeuroMancer correctly pointed out the bug is in the concatenation of the strings DRIVER_ PATH into cdc_mbim_ module_ path.
MODULES_PATH, kversion, and CDC_MBIM_
The ending linefeed char in kversion is the culprit and it makes the dispatcher unable to detect the presence of a cdc-mbim module.
usb_modeswitch will therefore not be able to automagically select the mbim configuration in the modem, usb_modeswitch thinks that the mbim driver is not present in the system.