0062418e39
Most older Qualcomm SoCs (e.g. MSM8916, MSM8974, ...) communicate with the modem through shared memory. On mainline kernels these shared memory channels are exposed through the RPMSG subsystem. This is different from communication through USB or serial interfaces that are currently supported by ModemManager. This commit forks the "modemmanager" package from Alpine and adds a patch that allows ModemManager to talk to modems through the RPMSG subsystem. Working functionality: Calls, SMS, Mobile Data The same patch has also been submitted upstream: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/363
11 lines
432 B
Text
11 lines
432 B
Text
// Let users in plugdev group modify ModemManager
|
|
polkit.addRule(function(action, subject) {
|
|
if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
|
|
action.id == "org.freedesktop.ModemManager1.Contacts" ||
|
|
action.id == "org.freedesktop.ModemManager1.Messaging" ||
|
|
action.id == "org.freedesktop.ModemManager1.Location") &&
|
|
subject.isInGroup("plugdev") && subject.active) {
|
|
return "yes";
|
|
}
|
|
});
|
|
|