From 0c167a51248cf9ff73f6f832e3d14e475a860e55 Mon Sep 17 00:00:00 2001 From: "Stig M. Baugstø" <1129097-stigma@users.noreply.gitlab.freedesktop.org> Date: Wed, 23 Oct 2024 17:11:07 +0200 Subject: cellient: new generic plugin for Cellient modems with optional QMI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simple plugin handling Cellient (vid 0x2692) modems. Optional QMI through the WITH_QMI compile flag. Disables QMI WDS PCO for the Qualcomm-branded MPL200 by setting the ID_MM_QMI_PCO_DISABLED udev tag, effectively preventing a modem crash. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/842 Signed-off-by: Stig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org> --- src/plugins/tests/test-udev-rules.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/plugins/tests/test-udev-rules.c') diff --git a/src/plugins/tests/test-udev-rules.c b/src/plugins/tests/test-udev-rules.c index 91698f0b..8f5ffd64 100644 --- a/src/plugins/tests/test-udev-rules.c +++ b/src/plugins/tests/test-udev-rules.c @@ -112,6 +112,14 @@ test_x22x (void) } #endif +#if defined ENABLE_PLUGIN_CELLIENT +static void +test_cellient (void) +{ + common_test (TESTUDEVRULESDIR_CELLIENT); +} +#endif + #if defined ENABLE_PLUGIN_CINTERION static void test_cinterion (void) @@ -238,6 +246,9 @@ int main (int argc, char **argv) #if defined ENABLE_PLUGIN_X22X g_test_add_func ("/MM/test-udev-rules/x22x", test_x22x); #endif +#if defined ENABLE_PLUGIN_CELLIENT + g_test_add_func ("/MM/test-udev-rules/cellient", test_cellient); +#endif #if defined ENABLE_PLUGIN_CINTERION g_test_add_func ("/MM/test-udev-rules/cinterion", test_cinterion); #endif -- cgit v1.2.3-70-g09d2