[GH-ISSUE #78] Cannot read properties of undefined (reading 'length') #61

Closed
opened 2026-03-04 11:58:17 +03:00 by kerem · 9 comments
Owner

Originally created by @qooke on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/78

Model | Bananapi BPi-R3 Mini
Architecture | ARMv8 Processor rev 4
Target Platform | mediatek/filogic
Firmware Version | OpenWrt SNAPSHOT r26289-61e8728d86 / LuCI Master 24.120.25050~8f2dfa7
Kernel Version | 6.6.30
Local Time | 2024-05-12 16:37:54
Uptime | 2h 13m 21s
Load Average | 0.00, 0.00, 0.00

TypeError
Cannot read properties of undefined (reading 'length')

Originally created by @qooke on GitHub (May 12, 2024). Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/78 ``` Model | Bananapi BPi-R3 Mini Architecture | ARMv8 Processor rev 4 Target Platform | mediatek/filogic Firmware Version | OpenWrt SNAPSHOT r26289-61e8728d86 / LuCI Master 24.120.25050~8f2dfa7 Kernel Version | 6.6.30 Local Time | 2024-05-12 16:37:54 Uptime | 2h 13m 21s Load Average | 0.00, 0.00, 0.00 ``` TypeError Cannot read properties of undefined (reading 'length')
kerem closed this issue 2026-03-04 11:58:17 +03:00
Author
Owner

@4IceG commented on GitHub (May 14, 2024):

Hi @QooGeek ,
Show command result:

sh -x /usr/share/3ginfo-lite/3ginfo.sh
<!-- gh-comment-id:2109523786 --> @4IceG commented on GitHub (May 14, 2024): Hi @QooGeek , Show command result: ``` sh -x /usr/share/3ginfo-lite/3ginfo.sh ```
Author
Owner

@qooke commented on GitHub (May 14, 2024):

image
<!-- gh-comment-id:2109873975 --> @qooke commented on GitHub (May 14, 2024): <img width="639" alt="image" src="https://github.com/4IceG/luci-app-3ginfo-lite/assets/31933126/900400e0-3b7b-4e57-9f34-bdaea4439439">
Author
Owner

@4IceG commented on GitHub (May 14, 2024):

@QooGeek What modem are you using? Scripts don't know it.

<!-- gh-comment-id:2111127484 --> @4IceG commented on GitHub (May 14, 2024): @QooGeek What modem are you using? Scripts don't know it.
Author
Owner

@qooke commented on GitHub (May 15, 2024):

my 5g module fm350gl

<!-- gh-comment-id:2111469999 --> @qooke commented on GitHub (May 15, 2024): my 5g module fm350gl
Author
Owner

@4IceG commented on GitHub (May 15, 2024):

@QooGeek Is modem set to USB (only this mode is added), without Modem Manager? what does the cat /sys/kernel/debug/usb/devices command show?

<!-- gh-comment-id:2111489827 --> @4IceG commented on GitHub (May 15, 2024): @QooGeek Is modem set to USB (only this mode is added), without Modem Manager? what does the ```cat /sys/kernel/debug/usb/devices``` command show?
Author
Owner

@qooke commented on GitHub (May 15, 2024):

The module does not seem to be recognized properly. It may be a problem with my module. I am checking it. Thank you very much.

root@R3mini-Router:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
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= 6.06
S:  Manufacturer=Linux 6.6.30 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
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=10000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 6.06
S:  Manufacturer=Linux 6.6.30 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
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
root@R3mini-Router:~#
<!-- gh-comment-id:2111515805 --> @qooke commented on GitHub (May 15, 2024): The module does not seem to be recognized properly. It may be a problem with my module. I am checking it. Thank you very much. ``` root@R3mini-Router:~# cat /sys/kernel/debug/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2 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= 6.06 S: Manufacturer=Linux 6.6.30 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=11200000.usb 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=10000 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 P: Vendor=1d6b ProdID=0003 Rev= 6.06 S: Manufacturer=Linux 6.6.30 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=11200000.usb 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 root@R3mini-Router:~# ```
Author
Owner

@4IceG commented on GitHub (May 15, 2024):

If this is the full result of the command, then as you can see, modem is not available as a USB device. You need to change the configuration to make modem visible to 3ginfo-lite.

Maybe @prusa-dev can help how to do it.

<!-- gh-comment-id:2111521365 --> @4IceG commented on GitHub (May 15, 2024): If this is the full result of the command, then as you can see, modem is not available as a USB device. You need to change the configuration to make modem visible to 3ginfo-lite. Maybe @prusa-dev can help how to do it.
Author
Owner

@prusa-dev commented on GitHub (May 15, 2024):

@QooGeek
Hi

What package are you using to connect the modem via USB?
Try this one - https://github.com/koshev-msk/modemfeed/tree/master/packages/net/fm350-modem

<!-- gh-comment-id:2111943330 --> @prusa-dev commented on GitHub (May 15, 2024): @QooGeek Hi What package are you using to connect the modem via USB? Try this one - https://github.com/koshev-msk/modemfeed/tree/master/packages/net/fm350-modem
Author
Owner

@qooke commented on GitHub (May 15, 2024):

@4IceG @prusa-dev Thank you very much for your help. My fm350 is broken. I replaced it and it works.

<!-- gh-comment-id:2113101246 --> @qooke commented on GitHub (May 15, 2024): @4IceG @prusa-dev Thank you very much for your help. My fm350 is broken. I replaced it and it works.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-3ginfo-lite#61
No description provided.