On Mon, 2015-04-27 at 15:40 +0300, Slava Monich wrote:
> > Particular for this patch, which issue was being fixed here?
> 
> This resolves the conflict between developer mode (handled by usb-moded)
> and USB tethering (handled by connman) on Jolla phone. When phone boots
> up with USB connected, usb-moded handles it and turns on the developer
> mode. connman interferes with that by bringing interface down. If that
> happens, USB cable has to be physically reconnected to re-enable
> developer mode, which breaks automated testing and is generally
> inconvenient.

I have really no idea why developer mode is any different from USB
tethering. Get an IPv4 address via DHCP on the "developer" machine,
whereafter it is immediately known that ConnMan is to be found on the
same subnet as IPv4 address x.x.x.1.

If one intends to have ConnMan dynamically ignore interface on the fly
via main.conf, ConnMan needs to be restarted for the changes to take
effect. This means the existing interface ignore setting can be used to
handel developer mode, as a restart is anyway needed.

Cheers,

        Patrik


_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to