[OpenWrt-Devel] Adding new cdc-mbim driver to package_kernel_modules_usb.mk

2013-02-24 Thread Rusink Rusinkoff
Hello!

This patch adds CDC MBIM driver coming in kernel 3.8 for  high speed
mobile broadband modem devices.  The Mobile Interface Broadband Model
(MBIM) is a new standard developed by the USB Implementers Forum.

Index: package/kernel/modules/usb.mk
===
--- a/package/kernel/modules/usb.mk (version 35627)
+++ b/package/kernel/modules/usb.mk (working copy)
@@ -842,6 +842,22 @@
 $(eval $(call KernelPackage,usb-net-rndis))

+define KernelPackage/usb-net-cdc-mbim
+  SUBMENU:=$(USB_MENU)
+  TITLE:=Kernel module for MBIM Devices
+  KCONFIG:=CONFIG_USB_NET_CDC_MBIM
+  FILES:= \
+   $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
+  AUTOLOAD:=$(call AutoLoad,61,cdc_mbim)
+  $(call AddDepends/usb-net,+kmod-usb-wdm,+kmod-usb-net-cdc-ncm)
+endef
+
+define KernelPackage/usb-net-cdc-mbim/description
+ Kernel module for Option USB High Speed Mobile Devices
+endef
+
+$(eval $(call KernelPackage,usb-net-cdc-mbim))
+
 define KernelPackage/usb-net-cdc-ncm
   TITLE:=Support for CDC NCM connections
   KCONFIG:=CONFIG_USB_NET_CDC_NCM



___

Best Regards!

Rusink
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Patch for new package systemd-udev needed for compilation modemmanager daemon

2013-02-23 Thread Rusink Rusinkoff
Hi!

I've tried to compile new package modemmanager placed  by Aleksander
Morado (http://patchwork.openwrt.org/patch/3287/),
and faced to this problem

lsudev.c:20:25: fatal error: gudev/gudev.h: No such file or directory
compilation terminated.
make[5]: *** [lsudev-lsudev.o] Error 1

Modemmanager depends on another new package systemd-udev  placed by
Aleksander Morado (http://patchwork.openwrt.org/patch/3285/
http://patchwork.openwrt.org/patch/3286/ ). So here is my patch for
systemd-udev/Makefile, solving problem with modemmanager compilation:

diff -ru a/utils/systemd-udev/Makefile b/utils/systemd-udev/Makefile
--- a/packages/utils/systemd-udev/Makefile  2013-02-13 22:04:00.0 
+0400
+++ b/packages/utils/systemd-udev/Makefile  2013-02-22 12:47:25.783069741 
+0400
@@ -115,6 +115,9 @@

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/include/gudev-1.0/gudev \
+   $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/libudev.h $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/share/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/udev.pc 
$(1)/usr/share/pkgconfig


Best Regards

Rusink
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Patch for new package systemd-udev needed for compilation modemmanager daemon (Corrected)

2013-02-23 Thread Rusink Rusinkoff
Hi!

I've tried to compile new package modemmanager placed  by Aleksander
Morgado (http://patchwork.openwrt.org/patch/3287/),
and faced to this problem

lsudev.c:20:25: fatal error: gudev/gudev.h: No such file or directory
compilation terminated.
make[5]: *** [lsudev-lsudev.o] Error 1

Modemmanager depends on another new package systemd-udev  placed by
Aleksander Morgado (http://patchwork.openwrt.org/patch/3285/
http://patchwork.openwrt.org/patch/3286/ ). So here is my patch for
systemd-udev/Makefile, solving problem with modemmanager compilation:

diff -ru a/utils/systemd-udev/Makefile b/utils/systemd-udev/Makefile
--- a/packages/utils/systemd-udev/Makefile  2013-02-13 22:04:00.0 
+0400
+++ b/packages/utils/systemd-udev/Makefile  2013-02-22 12:47:25.783069741 
+0400
@@ -115,6 +115,9 @@

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/include/gudev-1.0/gudev \
+   $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/libudev.h $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/share/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/udev.pc 
$(1)/usr/share/pkgconfig



I've made mistacke in previous letter ( in surname Aleksander Morgado)
that's correct version

Best Regards

Rusink
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel