Hi Jessica,

>  plugins/udev.c |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)

so you wanna combine the udev rule change and the udev change together
actually. They both belong together. The actual modem plugin driver is
not related.

> diff --git a/plugins/udev.c b/plugins/udev.c
> index ce1efe6..49b5eb8 100644
> --- a/plugins/udev.c
> +++ b/plugins/udev.c
> @@ -185,7 +185,8 @@ static void add_hso(struct ofono_modem *modem,
>               devnode = udev_device_get_devnode(udev_device);
>  
>               if (g_str_has_suffix(type, "Application") == TRUE)
> -                     ofono_modem_set_string(modem, APPLICATION_PORT, 
> devnode);
> +                     ofono_modem_set_string(modem, APPLICATION_PORT,
> +                                             devnode);

What is this part doing here?

>               else if (g_str_has_suffix(type, "Control") == TRUE)
>                       ofono_modem_set_string(modem, CONTROL_PORT, devnode);
>       } else if (g_str_equal(subsystem, "net") == TRUE) {
> @@ -636,6 +637,8 @@ done:
>               add_nokia(modem, udev_device);
>       else if (g_strcmp0(driver, "isiusb") == 0)
>               add_isi(modem, udev_device);
> +     else if (g_strcmp0(driver, "u8500") == 0)
> +             add_isi(modem, udev_device);
>       else if (g_strcmp0(driver, "n900") == 0)
>               add_isi(modem, udev_device);
>       else if (g_strcmp0(driver, "gobi") == 0)

Regards

Marcel


_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to