This adds in support for ttyACM devices in the 3g hotplug script.

Signed-off-by: Matthew Eaton <wrt at divinehawk.com>

---


Index: trunk/package/comgt/files/3g.usb
===================================================================
--- trunk/package/comgt/files/3g.usb    (revision 23930)
+++ trunk/package/comgt/files/3g.usb    (working copy)
@@ -36,8 +36,8 @@
       esac

       local tty
-       for tty in /sys/$DEVPATH/ttyUSB*; do
-               [ -d "$tty" ] || break
+       for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM*; do
+               [ -d "$tty" ] || continue
               config_foreach find_3g_iface interface "$tty"
       done
 fi
Index: trunk/package/comgt/Makefile
===================================================================
--- trunk/package/comgt/Makefile        (revision 23930)
+++ trunk/package/comgt/Makefile        (working copy)
@@ -9,7 +9,7 @@

 PKG_NAME:=comgt
 PKG_VERSION:=0.32
-PKG_RELEASE:=6
+PKG_RELEASE:=7

 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=...@sf/comgt
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to