This email list is read-only. Emails sent to this list will be discarded ---------------------------------- src/connman.rules | 2 ++ src/udev.c | 1 + 2 files changed, 3 insertions(+), 0 deletions(-)
New commits: commit a00f6a3cb44fa2f40b2ee3ceb12f575cc939e027 Author: Marcel Holtmann <[email protected]> Date: Thu Jan 8 22:42:29 2009 +0100 Listen to events from RFKILL subsystem Diff in this email is a maximum of 400 lines. diff --git a/src/connman.rules b/src/connman.rules index 84b3b4b..7a1b97a 100644 --- a/src/connman.rules +++ b/src/connman.rules @@ -1,4 +1,6 @@ +SUBSYSTEM=="rfkill", ENV{CONNMAN_TYPE}="rfkill" + SUBSYSTEM=="net", DRIVERS=="hso", ENV{CONNMAN_TYPE}="hso" SUBSYSTEM=="tty", KERNEL=="noz[0-9]*", ENV{CONNMAN_TYPE}="nozomi" diff --git a/src/udev.c b/src/udev.c index 0109f64..44e09d5 100644 --- a/src/udev.c +++ b/src/udev.c @@ -168,6 +168,7 @@ static void print_properties(struct udev_device *device, const char *prefix) const char *value = udev_list_entry_get_value(entry); if (g_str_has_prefix(name, "CONNMAN") == TRUE || + g_str_has_prefix(name, "RFKILL") == TRUE || g_str_has_prefix(name, "ID_MODEM") == TRUE || g_str_equal(name, "ID_VENDOR") == TRUE || g_str_equal(name, "ID_MODEL") == TRUE || _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
