Open flokli opened 3 years ago
Thanks for your PR. As you can see I haven't touched this project in a while, I just didn't have the need for working WWAN in the last months. Also I lost track of the current state of affairs regarding Linux support for XMM7360. There seems to be an official driver but only for 7560 and also ongoing efforts for improving the python version. At the moment I'm not sure whether it's worth following my approach (building a "native" ModemManager plugin).
Looking around a bit on the linux kernel mailing lists, there's a wwan
iosm
driver merged for 5.14, and ModemManager should support it in a generic fashion, according to https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/385#note_946551 - so that'd probably be more future-proof than maintaining this backend.
I didn't give any 5.14 rc a spin to see if it also exposes the 7360 modem, but will report back!
Thanks for the pointer. I fiddled around a bit with 5.14 but without modification it doesn't support 7360. I added the 7360 to the list of supported PCI devices, compiled the module and at least it doesn't crash. I can't communicate with the exposed AT ports, though. And the driver assumes that one of the shared memory queue pairs directly speaks MBIM, which then can be used by e.g. ModemManager. But according to the original author of xmm7360-pci, the 7360 device doesn't expose MBIM. So at the moment I'm stuck at this point.
I merged in 1.16.8, and updated all references to logging functions to use the allowed ones.
Otherwise, loading the plugin fails with