Closed QooGeek closed 1 month ago
Hi @QooGeek , Show command result:
sh -x /usr/share/3ginfo-lite/3ginfo.sh
@QooGeek What modem are you using? Scripts don't know it.
my 5g module fm350gl
@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?
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:~#
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.
@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
@4IceG @prusa-dev Thank you very much for your help. My fm350 is broken. I replaced it and it works.
TypeError Cannot read properties of undefined (reading 'length')