diff --git a/recipes-connectivity/libqmi/libqmi_1.26.6.bb b/recipes-connectivity/libqmi/libqmi_1.26.6.bb new file mode 100644 index 0000000..6d60a67 --- /dev/null +++ b/recipes-connectivity/libqmi/libqmi_1.26.6.bb @@ -0,0 +1,21 @@ +SUMMARY = "libqmi is a library for talking to WWAN devices by QMI protocol" +DESCRIPTION = "libqmi is a glib-based library for talking to WWAN modems and \ + devices which speak the Qualcomm MSM Interface (QMI) protocol" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libqmi" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ +" + +DEPENDS = "glib-2.0 glib-2.0-native" + +inherit autotools pkgconfig bash-completion gobject-introspection + +SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz" + +SRC_URI[sha256sum] = "a71963bb1097a42665287e40a9a36f95b8f9d6d6a4b7a5de22d660328af97cb9" + +PACKAGECONFIG ??= "udev mbim" +PACKAGECONFIG[udev] = ",--without-udev,libgudev" +PACKAGECONFIG[mbim] = "--enable-mbim-qmux,--disable-mbim-qmux,libmbim" diff --git a/recipes-connectivity/modemmanager/files/77-mm-netmodule-whitelist.rules b/recipes-connectivity/modemmanager/files/77-mm-netmodule-whitelist.rules index cca26b5..c945ca4 100644 --- a/recipes-connectivity/modemmanager/files/77-mm-netmodule-whitelist.rules +++ b/recipes-connectivity/modemmanager/files/77-mm-netmodule-whitelist.rules @@ -9,4 +9,9 @@ ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1141", ENV{ID_MM_DEVICE_PROCESS}="1" ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1143", ENV{ID_MM_DEVICE_PROCESS}="1" ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1146", ENV{ID_MM_DEVICE_PROCESS}="1" +# LARA-L6 +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1341", ENV{ID_MM_DEVICE_PROCESS}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1342", ENV{ID_MM_DEVICE_PROCESS}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1343", ENV{ID_MM_DEVICE_PROCESS}="1" + LABEL="mm_netmodule_whitelist_end" diff --git a/recipes-connectivity/modemmanager/modemmanager_git.bb b/recipes-connectivity/modemmanager/modemmanager_git.bb index cca9095..c025dd7 100644 --- a/recipes-connectivity/modemmanager/modemmanager_git.bb +++ b/recipes-connectivity/modemmanager/modemmanager_git.bb @@ -6,10 +6,10 @@ SRCREV ?= "35ef2f387bf53f0601901a5f08ab0f6bf57105c4" S = "${WORKDIR}/git" # Keep only ublox plugin -EXTRA_OECONF += "--disable-all-plugins --enable-plugin-ublox" +EXTRA_OECONF += "--disable-all-plugins --enable-plugin-ublox --enable-plugin-generic" -# Exclude mbim and qmi -PACKAGECONFIG = "systemd" +# Exclude mbim +PACKAGECONFIG = "systemd qmi" # Add whitelist rules FILESEXTRAPATHS_prepend := "${THISDIR}/files:"