File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
root/usr/share/3ginfo-lite Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ LUCI_TITLE:=LuCI JS Support for 3ginfo-lite
1111LUCI_DESCRIPTION: =LuCI JS interface for the 3ginfo-lite. The package allows you to view the parameters of the mobile internet connection.
1212LUCI_PKGARCH: =all
1313LUCI_DEPENDS: =+sms-tool +comgt
14- PKG_VERSION: =1.0.40-20230321
14+ PKG_VERSION: =1.0.41-20230403
1515
1616include $(TOPDIR ) /feeds/luci/luci.mk
1717
Original file line number Diff line number Diff line change @@ -147,6 +147,11 @@ band5g() {
147147getdevicevendorproduct () {
148148 devname=" $( basename $1 ) "
149149 case " $devname " in
150+ ' ttyACM' * )
151+ devpath=" $( readlink -f /sys/class/tty/$devname /device) "
152+ T=${devpath%/* }
153+ echo " $( cat $T /idVendor) $( cat $T /idProduct) "
154+ ;;
150155 ' tty' * )
151156 devpath=" $( readlink -f /sys/class/tty/$devname /device) "
152157 T=${devpath%/*/* }
Original file line number Diff line number Diff line change 99getdevicepath () {
1010 devname=" $( basename $1 ) "
1111 case " $devname " in
12+ ' ttyACM' * )
13+ devpath=" $( readlink -f /sys/class/tty/$devname /device) "
14+ echo ${devpath%/* }
15+ ;;
1216 ' tty' * )
1317 devpath=" $( readlink -f /sys/class/tty/$devname /device) "
1418 echo ${devpath%/*/* }
You can’t perform that action at this time.
0 commit comments