This email list is read-only. Emails sent to this list will be discarded ---------------------------------- TODO | 11 +++++++++++ src/connman.rules | 3 +++ src/udev.c | 2 ++ 3 files changed, 16 insertions(+), 0 deletions(-)
New commits: commit b027a9990b942512b88b1cc6eb08c763d51fe81d Author: Marcel Holtmann <[email protected]> Date: Fri Jan 9 20:30:17 2009 +0100 Add support for networking device notifications commit 371e97b43c7ef5edede30ebc3f8745c500ed05da Author: Marcel Holtmann <[email protected]> Date: Fri Jan 9 18:06:33 2009 +0100 Add comments about interface statistics and RFKILL Diff in this email is a maximum of 400 lines. diff --git a/TODO b/TODO index cd8e18c..0fb4ff7 100644 --- a/TODO +++ b/TODO @@ -14,3 +14,14 @@ This is in theory possible, but no D-Bus API has been defined on how to configure it. + o Support for interface statistics + + Information about carrier speed etc. should be exported. + + o Support for handling RFKILL events + + The RFKILL events are received via the udev infrastructure, but not + acted upon. Current problem is to assign the event to the correct + physical device. In case of platform RFKILL switches this is a real + problem and not solved yet. + diff --git a/src/connman.rules b/src/connman.rules index 7a1b97a..05ec054 100644 --- a/src/connman.rules +++ b/src/connman.rules @@ -1,6 +1,9 @@ SUBSYSTEM=="rfkill", ENV{CONNMAN_TYPE}="rfkill" +SUBSYSTEM=="net", KERNEL=="eth*", ENV{CONNMAN_TYPE}="ethernet" +SUBSYSTEM=="net", KERNEL=="wlan*", ENV{CONNMAN_TYPE}="wifi" + 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 44e09d5..d38abe6 100644 --- a/src/udev.c +++ b/src/udev.c @@ -172,6 +172,8 @@ static void print_properties(struct udev_device *device, const char *prefix) g_str_has_prefix(name, "ID_MODEM") == TRUE || g_str_equal(name, "ID_VENDOR") == TRUE || g_str_equal(name, "ID_MODEL") == TRUE || + g_str_equal(name, "INTERFACE") == TRUE || + g_str_equal(name, "IFINDEX") == TRUE || g_str_equal(name, "DEVNAME") == TRUE || g_str_equal(name, "DEVPATH") == TRUE) connman_debug("%s%s = %s", prefix, name, value); _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
