diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2020-12-16 17:07:31 +0100 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2021-04-21 12:53:16 +0200 |
commit | fefbf4d3029ce8e1f2ed9db2bc8288e13989b05a (patch) | |
tree | 256ae5c121ac8628b8a46af9a017f26fd3f3f484 | |
parent | 441902470a8c0a00f892165a046e99ccac616fa4 (diff) |
plugins: generic: Add 'wwan' subsystem support
wwan is a new subsystem for WWAN devices, allowing to expose the
WWAN device and its ports in a generic way.
The sysfs hierarchy for such device is
/sys/class/wwanX
/sys/class/wwanX/wwanXpYP
Where X is the WWAN device index, Y the port index and P the
control protocol name (QMI, MBIM...). A control port is also
exposed as character device in /dev.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
-rw-r--r-- | plugins/generic/mm-plugin-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/generic/mm-plugin-generic.c b/plugins/generic/mm-plugin-generic.c index f4c73421..e18b8854 100644 --- a/plugins/generic/mm-plugin-generic.c +++ b/plugins/generic/mm-plugin-generic.c @@ -91,7 +91,7 @@ create_modem (MMPlugin *self, G_MODULE_EXPORT MMPlugin * mm_plugin_create (void) { - static const gchar *subsystems[] = { "tty", "net", "usbmisc", NULL }; + static const gchar *subsystems[] = { "tty", "net", "usbmisc", "wwan", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_GENERIC, |