Hi all,
As per the release notes here the RUTX50 is now supported in 23.05.x
I then got the firmware from here .
Following the instructions to set this up (see below), I get a "working" router that I can login to, but I am unable to get the modem functioning.
I've tried ModemManager and QMI setup but the Quectel RG501Q 3G/4G/5G modem evades me.
Anyone have any ideas?
Thanks,
Shane.
Instructions :
Hardware
--------
CPU: Qualcomm IPQ4018
RAM: 256M
Flash: 16MB SPI-NOR (W25Q128)
128MB SPI-NAND (XTX)
WiFi: 2T2R (2GHz 802.11n ; 5 GHz 802.11ac)
ETH: 4x LAN ; 1x WAN (Gigabit)
CELL: Quectel RG501Q 3G/4G/5G
UART: Available on the goldfinger connector (Pinout silkscreened)
115200 8N1 3V3 - Only connect RX / TX / GND
Installation
------------
1. Enable SSH in the Teltonika UI
(System --> Administration --> Access Control)
2. Check from which partition set the device is currently running from.
$ cat /proc/boot_info/rootfs/primaryboot
In case this output reads 0, install a Software update from Teltonika
first. After upgrade completion, check this file now reads 1 before
continuing.
2. Transfer the OpenWrt factory image to the device using scp. Use the
same password (user root!) as used for the Web-UI.
$ scp -O openwrt-factory.bin root@192.168.1.1:/tmp
3. Connect to the device using ssh as the root user.
4. Install OpenWrt by writing the factory image to flash.
$ ubiformat /dev/mtd16 -y -f /tmp/openwrt-factory.bin
5. Instruct the bootloaer to boot from the first partition set.
$ echo 0 > /proc/boot_info/rootfs/primaryboot
$ cat /proc/boot_info/getbinary_bootconfig > /tmp/bootconfig.bin
$ cat /proc/boot_info/getbinary_bootconfig1 > /tmp/bootconfig1.bin
$ mtd write /tmp/bootconfig.bin /dev/mtd2
$ mtd write /tmp/bootconfig1.bin /dev/mtd3
6. Reboot the device.
$ reboot
No need to post the install instructions for Openwrt, you already linked to them.
That does lsusb and lspci say about your RG501Q ?
Post cat /sys/kernel/debug/usb/devices
too.
root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.137 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 5.15.137 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.137 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 5.15.137 xhci-hcd xHCI Host Controller
root@OpenWrt:~# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.137 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.15
S: Manufacturer=Linux 5.15.137 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.137 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 0
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.15
S: Manufacturer=Linux 5.15.137 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
Yeah - and lspci isn't returning anything
dingo
March 5, 2024, 5:26am
6
sure all the required drivers and such for that quactel card are in the build ?
No idea - hoping they were (as the install notes list the modem) but I'm assuming not.
Can't see any /dev/ttyUSB listed so I'm feeling kinda screwed right now.
dingo
March 5, 2024, 6:30am
8
post the opkg list_installed
root@OpenWrt:~# opkg list_installed
ath10k-board-qca4019 - 20230804-1
ath10k-firmware-qca4019-ct - 2020-11-08-1
base-files - 1550-r23630-842932a63d
busybox - 1.36.1-1
ca-bundle - 20230311-1
cgi-io - 2022-08-10-901b0f04-21
dnsmasq - 2.89-4
dropbear - 2022.82-5
firewall4 - 2023-09-01-598d9fbb-1
fstools - 2023-02-28-bfe882d5-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2022-08-13-4c7b720b-2
glib2 - 2.74.0-5
hostapd-common - 2023-09-08-e5ccbfc6-6
iw - 5.19-1
iwinfo - 2023-07-01-ca79f641-1
jansson4 - 2.14-3
jshn - 2023-05-23-75a3b870-1
jsonfilter - 2024-01-23-594cfa86-1
kernel - 5.15.137-1-b5ab1d6f6247c989eccb311be6c450fd
kmod-ath - 5.15.137+6.1.24-3
kmod-ath10k-ct - 5.15.137+2022-05-13-f808496f-5
kmod-cfg80211 - 5.15.137+6.1.24-3
kmod-crypto-acompress - 5.15.137-1
kmod-crypto-aead - 5.15.137-1
kmod-crypto-ccm - 5.15.137-1
kmod-crypto-cmac - 5.15.137-1
kmod-crypto-crc32c - 5.15.137-1
kmod-crypto-ctr - 5.15.137-1
kmod-crypto-gcm - 5.15.137-1
kmod-crypto-gf128 - 5.15.137-1
kmod-crypto-ghash - 5.15.137-1
kmod-crypto-hash - 5.15.137-1
kmod-crypto-hmac - 5.15.137-1
kmod-crypto-manager - 5.15.137-1
kmod-crypto-null - 5.15.137-1
kmod-crypto-rng - 5.15.137-1
kmod-crypto-seqiv - 5.15.137-1
kmod-crypto-sha512 - 5.15.137-1
kmod-gpio-button-hotplug - 5.15.137-3
kmod-hwmon-core - 5.15.137-1
kmod-leds-gpio - 5.15.137-1
kmod-lib-crc-ccitt - 5.15.137-1
kmod-lib-crc32c - 5.15.137-1
kmod-lib-lzo - 5.15.137-1
kmod-mac80211 - 5.15.137+6.1.24-3
kmod-mii - 5.15.137-1
kmod-nf-conntrack - 5.15.137-1
kmod-nf-conntrack6 - 5.15.137-1
kmod-nf-flow - 5.15.137-1
kmod-nf-log - 5.15.137-1
kmod-nf-log6 - 5.15.137-1
kmod-nf-nat - 5.15.137-1
kmod-nf-reject - 5.15.137-1
kmod-nf-reject6 - 5.15.137-1
kmod-nfnetlink - 5.15.137-1
kmod-nft-core - 5.15.137-1
kmod-nft-fib - 5.15.137-1
kmod-nft-nat - 5.15.137-1
kmod-nft-offload - 5.15.137-1
kmod-nls-base - 5.15.137-1
kmod-ppp - 5.15.137-1
kmod-pppoe - 5.15.137-1
kmod-pppox - 5.15.137-1
kmod-slhc - 5.15.137-1
kmod-usb-core - 5.15.137-1
kmod-usb-dwc3 - 5.15.137-1
kmod-usb-dwc3-qcom - 5.15.137-1
kmod-usb-ehci - 5.15.137-1
kmod-usb-net - 5.15.137-1
kmod-usb-net-cdc-ether - 5.15.137-1
kmod-usb-net-cdc-mbim - 5.15.137-1
kmod-usb-net-cdc-ncm - 5.15.137-1
kmod-usb-net-qmi-wwan - 5.15.137-1
kmod-usb-ohci - 5.15.137-1
kmod-usb-ohci-pci - 5.15.137-1
kmod-usb-serial - 5.15.137-1
kmod-usb-serial-option - 5.15.137-1
kmod-usb-serial-qualcomm - 5.15.137-1
kmod-usb-serial-wwan - 5.15.137-1
kmod-usb-uhci - 5.15.137-1
kmod-usb-wdm - 5.15.137-1
kmod-usb-xhci-hcd - 5.15.137-1
kmod-usb2 - 5.15.137-1
kmod-usb3 - 5.15.137-1
libatomic1 - 12.3.0-4
libattr - 2.5.1-1
libblobmsg-json20230523 - 2023-05-23-75a3b870-1
libc - 1.2.4-4
libevdev - 1.13.0-1
libffi - 3.4.2-2
libgcc1 - 12.3.0-4
libiwinfo-data - 2023-07-01-ca79f641-1
libiwinfo20230701 - 2023-07-01-ca79f641-1
libjson-c5 - 0.16-3
libjson-script20230523 - 2023-05-23-75a3b870-1
libkmod - 31-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp0 - 2023-03-15-9b5b683f-1
libmbedtls12 - 2.28.7-2
libmbim - 1.28.4-1
libmnl0 - 1.0.5-1
libncurses6 - 6.4-2
libnftnl11 - 1.2.6-1
libnl-tiny1 - 2023-07-27-bc92a280-1
libpci - 3.10.0-1
libpcre2 - 10.42-1
libpthread - 1.2.4-4
libqmi - 1.32.4-1
libqrtr-glib - 1.2.2-3
librt - 1.2.4-4
libubox20230523 - 2023-05-23-75a3b870-1
libubus20230605 - 2023-06-05-f787c97b-1
libuci20130104 - 2023-08-10-5781664d-1
libuclient20201210 - 2023-04-13-007d9454-1
libucode20230711 - 2023-11-07-a6e75e02-1
libudev-zero - 1.0.1-1
libusb-1.0-0 - 1.0.26-3
libustream-mbedtls20201210 - 2023-02-25-498f6e26-1
logd - 2022-08-13-4c7b720b-2
luci - git-23.051.66410-a505bb1
luci-app-firewall - git-24.008.46353-971459d
luci-app-opkg - git-24.043.63812-c89a68b
luci-base - git-24.048.61449-c66fc92
luci-light - git-23.024.33244-34dee82
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-24.048.59431-49529bb
luci-mod-status - git-24.049.61228-752be18
luci-mod-system - git-23.306.39416-7d3abf8
luci-proto-ipv6 - git-23.355.78874-80140aa
luci-proto-mbim - git-23.137.84224-37176dc
luci-proto-ppp - git-21.158.38888-88b9d84
luci-proto-qmi - git-21.231.25157-5ff3ef7
luci-ssl - git-23.035.26083-7550ad6
luci-theme-bootstrap - git-23.338.81541-94798fc
mbim-utils - 1.28.4-1
minicom - 2.8-2
mtd - 26
netifd - 2024-01-04-c18cc79d-1
nftables-json - 1.0.8-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-10-24-d8118f6e-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
pciids - 0.359-1
pciutils - 3.10.0-1
picocom - 3.1-5
ppp - 2.4.9.git-2021-01-04-4
ppp-mod-pppoe - 2.4.9.git-2021-01-04-4
procd - 2023-06-25-2db83655-2
procd-seccomp - 2023-06-25-2db83655-2
procd-ujail - 2023-06-25-2db83655-2
px5g-mbedtls - 10
qmi-utils - 1.32.4-1
rpcd - 2023-07-01-c07ab2f9-1
rpcd-mod-file - 2023-07-01-c07ab2f9-1
rpcd-mod-iwinfo - 2023-07-01-c07ab2f9-1
rpcd-mod-luci - 20230123-1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2023-07-01-c07ab2f9-1
terminfo - 6.4-2
ubi-utils - 2.1.5-1
uboot-envtools - 2023.04-1
ubox - 2022-08-13-4c7b720b-2
ubus - 2023-06-05-f787c97b-1
ubusd - 2023-06-05-f787c97b-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2023-11-07-a6e75e02-1
ucode-mod-fs - 2023-11-07-a6e75e02-1
ucode-mod-html - 1
ucode-mod-math - 2023-11-07-a6e75e02-1
ucode-mod-nl80211 - 2023-11-07-a6e75e02-1
ucode-mod-rtnl - 2023-11-07-a6e75e02-1
ucode-mod-ubus - 2023-11-07-a6e75e02-1
ucode-mod-uci - 2023-11-07-a6e75e02-1
ucode-mod-uloop - 2023-11-07-a6e75e02-1
uhttpd - 2023-06-25-34a8a74d-2
uhttpd-mod-ubus - 2023-06-25-34a8a74d-2
umbim - 2022-08-13-146bc77c-24
uqmi - 2022-10-20-c8c9f105-1
urandom-seed - 3
urngd - 2023-11-01-44365eb1-1
usbutils - 014-1
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2024.01.23-1
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-6
wwan - 2019-04-29-6
zlib - 1.2.13-1
dingo
March 5, 2024, 7:16am
10
hrmmm let me check my RUT955, one sec
For now I've reloaded the Teltonika firmware.
Modem is detected straight away in their code. Here is the output:
root@RUTX50:~# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.199 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.199 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=2c7c ProdID=0800 Rev= 4.14
S: Manufacturer=Quectel
S: Product=RG501Q-EU
S: SerialNumber=962363e5
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
E: Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.199 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 0
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.199 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
Possibly - not sure how to do this (never had to before).
Any ideas?
Check the current GPIO list while running OEM firmware, then switch to OpenWrt and configure the corresponding GPIO(s) as shown in the thread linked.
dingo
March 5, 2024, 7:35am
15
im also seeing if theirs any obvious patches in the teltonika tree for this modem
OK - this is from the OEM firmware:
root@RUTX50:~# gpioinfo
gpiochip0 - 100 lines:
line 0: "GPIO_IN_1" "gpio24" input active-low [used]
line 1: "GPIO_1" "sck" output active-high [used]
line 2: "GPIO_2" "spi2 CS0" output active-low [used]
line 3: "GPIO_3" "mosi" output active-high [used]
line 4: "GPIO_4" "reset" input active-high [used]
line 5: "GPIO_5" unused input active-high
line 6: "GPIO_6" unused input active-high
line 7: "GPIO_7" unused input active-high
line 8: "GPIO_8" unused input active-high
line 9: "GPIO_9" unused input active-high
line 10: "GPIO_10" unused input active-high
line 11: "GPIO_11" unused input active-high
line 12: "GPIO_12" unused input active-high
line 13: "GPIO_13" unused input active-high
line 14: "GPIO_14" unused input active-high
line 15: "GPIO_15" unused input active-high
line 16: "GPIO_16" unused input active-high
line 17: "GPIO_17" unused input active-high
line 18: "GPIO_18" unused input active-high
line 19: "GPIO_19" unused input active-high
line 20: "GPIO_20" unused input active-high
line 21: "GPIO_21" unused input active-high
line 22: "GPIO_22" unused input active-high
line 23: "GPIO_23" unused input active-high
line 24: "GPIO_24" unused input active-high
line 25: "GPIO_25" unused input active-high
line 26: "GPIO_26" unused input active-high
line 27: "GPIO_27" unused input active-high
line 28: "GPIO_28" unused input active-high
line 29: "GPIO_29" unused input active-high
line 30: "GPIO_30" unused input active-high
line 31: "GPIO_31" unused input active-high
line 32: "GPIO_32" unused input active-high
line 33: "GPIO_33" unused input active-high
line 34: "GPIO_34" unused input active-high
line 35: "GPIO_35" unused input active-high
line 36: "GPIO_36" unused input active-high
line 37: "GPIO_37" unused input active-high
line 38: "GPIO_38" unused input active-high
line 39: "GPIO_39" unused input active-high
line 40: "GPIO_40" unused input active-high
line 41: "GPIO_41" unused input active-high
line 42: "GPIO_42" unused input active-high
line 43: "GPIO_43" unused input active-high
line 44: "GPIO_44" unused input active-high
line 45: "GPIO_45" unused input active-high
line 46: "GPIO_46" unused input active-high
line 47: "GPIO_47" unused input active-high
line 48: "GPIO_48" unused input active-high
line 49: "GPIO_49" unused input active-high
line 50: "GPIO_50" unused input active-high
line 51: "GPIO_51" unused input active-high
line 52: "GPIO_52" unused input active-high
line 53: "GPIO_53" unused input active-high
line 54: "GPIO_54" unused input active-high
line 55: "GPIO_55" unused input active-high
line 56: "GPIO_56" unused input active-high
line 57: "GPIO_57" unused input active-high
line 58: "GPIO_58" unused input active-high
line 59: "GPIO_59" unused input active-high
line 60: "GPIO_60" unused output active-high
line 61: "GPIO_61" unused output active-high
line 62: "GPIO_62" "reset" output active-low [used]
line 63: "GPIO_63" unused output active-high
line 64: "GPIO_64" unused input active-high
line 65: "GPIO_65" unused input active-high
line 66: "GPIO_66" unused input active-high
line 67: "GPIO_67" unused input active-high
line 68: "GPIO_68" unused input active-high
line 69: "GPIO_69" unused input active-high
line 70: "GPIO_70" unused input active-high
line 71: "GPIO_71" unused input active-high
line 72: "GPIO_72" unused input active-high
line 73: "GPIO_73" unused input active-high
line 74: "GPIO_74" unused input active-high
line 75: "GPIO_75" unused input active-high
line 76: "GPIO_76" unused input active-high
line 77: "GPIO_77" unused input active-high
line 78: "GPIO_78" unused input active-high
line 79: "GPIO_79" unused input active-high
line 80: "GPIO_80" unused input active-high
line 81: "GPIO_81" unused input active-high
line 82: "GPIO_82" unused input active-high
line 83: "GPIO_83" unused input active-high
line 84: "GPIO_84" unused input active-high
line 85: "GPIO_85" unused input active-high
line 86: "GPIO_86" unused input active-high
line 87: "GPIO_87" unused input active-high
line 88: "GPIO_88" unused input active-high
line 89: "GPIO_89" unused input active-high
line 90: "GPIO_90" unused input active-high
line 91: "GPIO_91" unused input active-high
line 92: "GPIO_92" unused input active-high
line 93: "GPIO_93" unused input active-high
line 94: "GPIO_94" unused input active-high
line 95: "GPIO_95" unused input active-high
line 96: "GPIO_96" unused input active-high
line 97: "GPIO_97" unused input active-high
line 98: "GPIO_98" unused input active-high
line 99: "GPIO_99" unused input active-high
gpiochip1 - 16 lines:
line 0: "LED_SSID_1" "mob_ssid_1" output active-high [used]
line 1: "LED_SSID_3" "mob_ssid_3" output active-high [used]
line 2: "LED_SSID_5" "mob_ssid_5" output active-high [used]
line 3: "LED_TECH_GEN_5" "mob_gen_5" output active-high [used]
line 4: "LED_TECH_GEN_4" "mob_gen_4" output active-high [used]
line 5: "LED_TECH_GEN_3" "mob_gen_3" output active-high [used]
line 6: "LED_WAN_ETH" "wan_eth_3" output active-high [used]
line 7: "LED_WAN_WIFI" "wan_wifi_4" output active-high [used]
line 8: "GPIO_MODEM_RESET_1" "modem_reset" output active-high [used]
line 9: "GPIO_MODEM_POWER_1" "modem_power" output active-high [used]
line 10: "GPIO_OUT_1" "gpio23" output active-high [used]
line 11: "GPIO_111" unused output active-high
line 12: "LED_WIFI_24" "wifi_gen_2" output active-high [used]
line 13: "LED_WIFI_50" "wifi_gen_5" output active-high [used]
line 14: "LED_SIM_1" "wan_sim_1" output active-high [used]
line 15: "LED_SIM_2" "wan_sim_2" output active-high [used]
This is inline with what is defined in OpenWrt:
I have no idea what to do next then - I am happy to test anything anyone throws at me as this is now a "spare" unit (I had thought I'd bricked this but was able to get it back to life after perseverance) and ended up buying another one (which is running OEM code).
I'd prefer to get using OpenWRT on my main unit to get around Teltonika's shortcomings and bugs in their code.
1 Like
Flash OpenWrt, check GPIO list. Look for modem_power
.
You should be able to toggle modem power by writing 0 or 1 to /sys/class/gpio/modem_power/value
1 Like
dingo
March 5, 2024, 8:00am
20
id also make sure that specific modem is supported in drivers/usb/serial/option.c
looking at their source tree i can see patches for pending-5.4
rutos-ath79-rut9-gpl/target/linux/generic/pending-5.4/995-RG500U-serial-support.patch
and rutos-ath79-rut9-gpl/target/linux/generic/pending-5.4/932-RM520N-serial-support.patch