mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
src: watch ofono service for new modem
If system is using ofono, use ofono dbus service to figure out the modem's USB id.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <gpiod.h>
|
||||
#include <gudev/gudev.h>
|
||||
#include <libmm-glib.h>
|
||||
#include <libgdbofono/gdbo-manager.h>
|
||||
|
||||
#include "toml.h"
|
||||
|
||||
@@ -51,7 +52,10 @@ struct EG25Manager {
|
||||
guint mm_watch;
|
||||
MMManager *mm_manager;
|
||||
MMModem *mm_modem;
|
||||
|
||||
guint ofono_watch;
|
||||
GDBOManager *ofono_manager;
|
||||
GDBusConnection *ofono_connection;
|
||||
|
||||
GDBusProxy *suspend_proxy;
|
||||
int suspend_delay_fd;
|
||||
|
Reference in New Issue
Block a user