diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-04-28 10:01:23 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:04:36 +0200 |
commit | 3270c5ae6701c17730c7f7573678b021826bcf18 (patch) | |
tree | 0db206cb1707bdbc47009a358aafc9a8d6ef00b8 /recipes-connectivity/connman/connman_%.bbappend | |
parent | 0ce53ab2eb60797db70b48087ffbfcc1de85c460 (diff) |
connman: blacklist USB gadget devices
Connman gained support for USB gadget. The typical usecase is to use
USB gadget for tethering. In this use case the module would be the
device sharing the connection to the USB host connected to the module.
However, our typical use case in mind for RNDIS is a simple ethernet
connection between a development host and the module, hence no need
for tethering/routing. This however is not easily doable with connman,
since connman tries to have one connection online only. When enabling
USB gadget as a normal ethernet device, this typically leads to classic
ethernet not being configured since the USB RNDIS connection is already
up and running.
By blacklisting USB gadget, connman won't touch the device and we can
use other means of bringing up the network interface.
Diffstat (limited to 'recipes-connectivity/connman/connman_%.bbappend')
-rw-r--r-- | recipes-connectivity/connman/connman_%.bbappend | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman_%.bbappend b/recipes-connectivity/connman/connman_%.bbappend index 851b00d..60edc3b 100644 --- a/recipes-connectivity/connman/connman_%.bbappend +++ b/recipes-connectivity/connman/connman_%.bbappend @@ -2,4 +2,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/connman:" SRC_URI += " \ file://dont_start_connman_on_nfsboot.patch \ + file://main.conf \ " + +do_install_append() { + install -d ${D}${sysconfdir}/connman/ + install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman/ +} |