linktop: new port type hints

Flag ttyACM0 as data port and ttyACM1 as primary port, as per
https://bugzilla.gnome.org/show_bug.cgi?id=637140#c10

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/14
This commit is contained in:
Aleksander Morgado
2022-03-26 15:35:16 +01:00
parent e8bb90e006
commit 1fdc3ac703
4 changed files with 40 additions and 4 deletions

View File

@@ -184,6 +184,14 @@ test_qcom_soc (void)
}
#endif
#if defined ENABLE_PLUGIN_LINKTOP
static void
test_linktop (void)
{
common_test (TESTUDEVRULESDIR_LINKTOP);
}
#endif
/************************************************************/
int main (int argc, char **argv)
@@ -241,6 +249,9 @@ int main (int argc, char **argv)
#if defined ENABLE_PLUGIN_QCOM_SOC && defined WITH_QMI
g_test_add_func ("/MM/test-udev-rules/qcom-soc", test_qcom_soc);
#endif
#if defined ENABLE_PLUGIN_LINKTOP
g_test_add_func ("/MM/test-udev-rules/linktop", test_linktop);
#endif
return g_test_run ();
}