Hello,
An embedded device with ethernet, usb-otg and wifi is running connman.
1.- [OK] When the ethernet cable is plugged in, an IP (192.168.0.39) is assigned to eth0.
2.- [OK] When the usb-otg is connected to the host, an IP (192.168.0.2) is assigned to usb0 (wifi and ethernet are disconnected).
3.- [?] When the wifi is connected,tether disappear in the device (ifconfig -a) and the system console show the following message:
     Connected wifi_50338b6692d8_636173697461_managed_psk
     ... 
     tether: port 1(usb0) entered disabled state
     device usb0 left promiscuous mode
     tether: port 1(usb0) entered disabled state
About the item #3, I tried to find info related with this case, but not success. Please, may I know if is possible to to have the device connected to wifi (or ethernet) and the host connected to the device using usb0 at the same time?
Perhaps, I'm missing some basic concepts, in that case, any comment or suggestion will be appreciated as well.
Thanks
Lao Hu

---
cat /etc/connman/main.conf
[General]
PersistentTetheringMode=true
TetheringTechnologies=gadget

---
cat /var/lib/connman/settings
[global]
OfflineMode=false
Description=device network configuration

[Wired]
Enable=true
Tethering=false

[WiFi]
Enable=true
Tethering=false

[Bluetooth]
Enable=true
Tethering=false

[Gadget]
Enable=true
Tethering=true

[P2P]
Enable=false
Tethering=false