Giter Site home page Giter Site logo

luci-app-modemband's People

Contributors

4iceg avatar jalakas avatar prusa-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

luci-app-modemband's Issues

Support for Sierra Wireless EM7565

exact name of modem and ew version number:
Sierra Wireless EM7565

VID and PID identifier on the USB bus:

AT!USBPID?
!USBPID:
APP : 9091
BOOT: 9090

AT!USBVID?
!USBVID: 1199

serial port used for communication with the modem ("diagnostic"):
/dev/ttyUSB2

a list of all bands that can be set on the modem:
AT command to read the set bands together with an example result:

AT!BAND=?
Index, Name,                        GW Band Mask     L Band Mask 1    L Band Mask 2    TDS Band Mask    L Band Mask 3    L Band Mask 4
00, All bands                     100600000FC00000 00000100BA0E19DF 0000000000000002 0000000000000000 0000000000000000 0000000000000000
01, Europe 3G                     0002000000400000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
02, North America 3G              0000000004800000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
06, Europe                        0002000000400000 00000000000801C5 0000000000000000 0000000000000000 0000000000000000 0000000000000000
07, North America                 0000000004800000 000001000200185A 0000000000000002 0000000000000000 0000000000000000 0000000000000000
08, WCDMA ALL                     100600000FC00000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
09, LTE ALL                       0000000000000000 00000100BA0E19DF 0000000000000002 0000000000000000 0000000000000000 0000000000000000

                                                                    0000000000000002 - B66
                                                   0000010000000000 - B41
                                                   0000000080000000 - B32
                                                   0000000020000000 - B30
                                                   0000000010000000 - B29
                                                   0000000008000000 - B28
                                                   0000000002000000 - B26
                                                   0000000000080000 - B20
                                                   0000000000040000 - B19
                                                   0000000000020000 - B18
                                                   0000000000001000 - B13
                                                   0000000000000800 - B12
                                                   0000000000000100 - B9
                                                   0000000000000080 - B8
                                                   0000000000000040 - B7
                                                   0000000000000010 - B5
                                                   0000000000000008 - B4
                                                   0000000000000004 - B3
                                                   0000000000000002 - B2
                                                   0000000000000001 - B1
                                  1000000000000000 - B19 (850)
                                  0004000000000000 - B9 (1700)
                                  0002000000000000 - B8  (900)
                                  0000000008000000 - B6  (800)
                                  0000000004000000 - B5  (850)
                                  0000000002000000 - B4 (1700)
                                  0000000001000000 - B3 (1700)
                                  0000000000800000 - B2 (1900)
                                  0000000000400000 - B1 (2100)

an AT command to set specific bands:

AT!ENTERCND="A710"

add new band groups:

AT!BAND=10,"Only B2",0,0000000000000002 
AT!BAND=11,"Only B4",0,000000000000008
AT!BAND=0F,"B2 and B4",0,000000000000000A

set to only B2 and B4 by selecting group 0F:

AT!BAND=0F

AT!RESET

Link to complete and clear explanation of how to set specific bands on almost all of popular Sierra Wireless modems including EM7565

Please let me know if I missed anything that you might need, thank you in advance.

Unknown package 'sms-tool'.

Próbuję zainstalować to na :

Hostname | OpenWrt
Model | ZTE MF286D
Architecture | ARMv7 Processor rev 5 (v7l)
Target Platform | ipq40xx/generic
Firmware Version | OpenWrt 22.03.0-rc5 r19523-bfd070e7fa / LuCI openwrt-22.03 branch git-22.167.28394-8a4486a
root@openwrt:~# picocom -b 115200 /dev/ttyUSB2 : ATI : (BD_TELIAMF286DV1.0.0B12)

Instalacja siada już na pierwszej komendzie:

root@OpenWrt:~# opkg install kmod-usb-serial kmod-usb-serial-option sms-tool
Package kmod-usb-serial (5.10.127-1) installed in root is up to date.
Package kmod-usb-serial-option (5.10.127-1) installed in root is up to date.
Unknown package 'sms-tool'.
Collected errors:
 * opkg_install_cmd: Cannot install package sms-tool.
root@OpenWrt:~#

5G bands locking not working in 1.0.19-20230910 on RM520N-GL

The LTE bands are working properly. When you change one or more 5G bands, I briefly see the updated bands in the "Currently set 5G bands", I have the modem rebooting automatically on modification, I can verify the modem reboots.

Once the modem is back online none of the bands have actually been removed.

Support on Quectel RM500U-CNV

Hello can it be possible to support the RM500U-CNV? here the data I got on my module, currently I'm using ZBT WG-1608 (16M) running OpenWrt 23.05.2.

exact name of modem and ew version number:
Quectel
RM500U-CNV
Revision: RM500UCNVAAR03A02M2G

VID and PID identifier on the USB bus:
Bus 002 Device 003: ID 2c7c:0900 Quectel RM500U-CNV

serial port used for communication with the modem ("diagnostic"):
/dev/ttyUSB2

AT command to read the set bands together with an example result:
AT+QNWPREFCFG=?
+QNWPREFCFG: "mode_pref",AUTO:WCDMA:LTE:NR5G:NR5G-SA:NR5G-NSA
+QNWPREFCFG: "gw_band",1:5:8
+QNWPREFCFG: "lte_band",1:3:5:8:34:38:39:40:41
+QNWPREFCFG: "nr5g_band",1:3:5:8:28:41:77:78:79
+QNWPREFCFG: "all_band_reset"
+QNWPREFCFG: "srv_domain",(0-2)
+QNWPREFCFG: "voice_domain",(0-3)
+QNWPREFCFG: "ue_usage_setting",(0,1)
+QNWPREFCFG: "roam_pref",(0-3)

an AT command to set specific bands
AT+QNWPREFCFG="mode_pref",AUTO

a list of all bands that can be set on the modem:
5GNR NSA = n41, n78, n79
5GNR SA = n1, n2, n3, n5, n8, n28, n41, n77, n78, n79
LTE-FDD = B1, B3, B5, B8
LTE-TDD = B34, B38, B39, B40, B41
UMTS/WCDMA = B1, B5, B8

Add the ability to set the primary band and to see used bands

I have a ZTE MF289F and i would like to ask if it is possible to add the ability to set the primary (upload) band. This would be extremely helpful. In my case, i have B1+B3+B7+B20, but when i used all of them i get 250Mbps in Download but only a few Mbps in upload (it is choosing automatically the primary band). Instead if i set B3 as primary band alone i get 35Mbps in upload.
Moreover, it would be great to have the ability to see the current used band. In fact right now, i can see only the set bands, but this doesn't mean that the modem is connected to all of them.

Working with modemmanager

In the last two days for an unrelated problem (frequent disconnections) I installed modemmanager. For curiosity I tried your packages and all worked without serious problems. Just sometimes they couldn't retrieve values from modem, but simply reloading the page/luci made them work. I was thinking that if the problem is the concurrent usage of qmi by modemmanager and your packages maybe you can use qmi-proxy of libqmi

Request add support modem

Fibocom L850-GL

at+gmm
L850 LTE Module

OK

Firmware version

AT+GTPKGVER?
+GTPKGVER: "18500.5001.00.05.27.16_5001.05.001.033"

OK

vid & pid

8087:095a (NCM)
2cb7:0007 (MBIM)

Serial port

/dev/ttyACM0 & /dev/ttyACM2

All band supported

3G: 1,2,4,5,8
4G: 1,2,3,4,5,7,8,11,12,13,17,18,19,20,21,26,28,29,30,38,39,40,41,66

Read active band

at+xact?
+XACT: 4,2,1,1,2,4,5,8,101,102,103,104,105,107,108,111,112,113,117,118,119,120,121,126,128,129,130,138,139,140,141,166

OK

Lock 4g only B1

AT+XACT=2,,,101

OK
at+xact?
+XACT: 2,2,,1,2,4,5,8,101

OK

Lock 4g only B1 & B3

AT+XACT=2,,,101,103

OK
at+xact?
+XACT: 2,2,,1,2,4,5,8,101,103

OK

Lock All 4g Band

AT+XACT=2,,,0

OK
at+xact?
+XACT: 2,2,,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,138,139,140,141,142,146,166

OK

Auto All band

AT+XACT=4,,,0

OK
at+xact?
+XACT: 4,2,1,1,2,4,5,8,101,102,103,104,105,107,108,112,113,114,117,118,119,120,125,126,128,129,130,132,138,139,140,141,142,146,166

OK

Fibocom L860-GL TypeError modem is undefined

Can't open main modemband page for selecting bands on Fibocom L860-GL, always get this:
image

Have try different ports by changing it in config file:
image

but nothing helps, USB modem info:

T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=03 Dev#= 4 Spd=5000 MxCh= 0
D: Ver= 3.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=8087 ProdID=095a Rev= 3.50
S: Manufacturer=Intel Corp.
S: Product=MODEM + 2 CDC-ACM + 3 CDC-NCM + SS
S: SerialNumber=004999010640000:004999010640000:004999010640000:004999010640000
C:* #Ifs=13 Cfg#= 1 Atr=e0 MxPwr=400mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00
A: FirstIf#= 4 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00
A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
A: FirstIf#= 8 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
A: FirstIf#=10 IfCount= 2 Cls=02(comm.) Sub=0d Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
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= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
E: Ad=84(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= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=cdc_acm
E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=02 Prot=00 Driver=cdc_acm
E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E: Ad=88(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=08(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I: If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E: Ad=8a(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0a(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#=10 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_ncm
E: Ad=8b(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
I: If#=11 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
I:* If#=11 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_ncm
E: Ad=8c(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=0c(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#=12 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none)
E: Ad=8d(I) Atr=03(Int.) MxPS= 4 Ivl=125us

Add Carrier Aggregation

Hello, @4IceG, ZTE MF289F is a router which support carrier aggregation (it can make 3 LTE band aggregation at the same time) , Could you add the function on the router? I suggest that luci-app-modemband can modify carrier aggregation manually, Then users can get better experience.

Add Quectel RM502Q-GL

hi my friend @4IceG,

are you able to add to the custom band list also Quectel RM502Q-GL?
It's the global version ofr RM502Q family, here is the datasheet with the supported bands

i've used 2c7c0800RG502Q-EA as template (renamig it 2c7c0800RM502Q-GL) and it's working :)

大佬 我使用中兴 MF832s 4G卡托 貌似不兼容

插上之后识别是大容量存储,能识别出ttyUSB,但是过一会又消失了,用usb-modeswitch也不能切换模式,看了下脚本里面没找到这个型号,技术太差实在是搞不定,大佬可以指点一二吗

Support for Quectel RM500Q-GL

Hello, Please add support for Quectel RM500Q-GL

Here's the information you need that u listed:
MODEL:Quectel RM500Q-GL
Revision: RM500QGLABR11A06M4G

USB Device:
Bus 006 Device 003: ID 2c7c:0800 Quectel RM500Q-GL

Serial :
/dev/ttyUSB1

AT command to read current nr5g band setup;
AT+QNWPREFCFG="nr5g_band"
+QNWPREFCFG: "nr5g_band",1:2:3:5:7:8:12:20:25:28:38:40:41:48:66:71:77:78:79

AT command to set nr5g band;
AT+QNWPREFCFG="nr5g_band",41:79

Supported bands;
AT+QGETCAPABILITY?
+QGETCAPABILITY:NR:n1,n2,n3,n5,n7,n8,n12,n20,n25,n28,n38,n40,n41,n48,n66,n71,n77,n78,n79
+QGETCAPABILITY:LTE-FDD:B1,B2,B3,B4,B5,B7,B8,B12,B13,B14,B17,B18,B19,B20,B25,B26,B28,B29,B30,B32,B66,B71
+QGETCAPABILITY:LTE-TDD:B34,B38,B39,B40,B41,B42,B43,B46,B48
+QGETCAPABILITY:WCDMA:B1,B2,B3,B4,B5,B6,B8,B19
+QGETCAPABILITY:LTE-CATEGORY:CAT16
+QGETCAPABILITY:LTE-CA:1

If there is any other info you need , I will be glad to provide.
Thank you very much.

sms-tools dependency?

Hi, thanks for the project.
Just curious - why sms-tools are needed for modem band configuration?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.