4IceG / luci-app-3ginfo-lite

Graphic visualization of the mPCI-E / M.2 and USB 3G / LTE / LTE-A / 5G modem connection status. (LuCI JS) | OpenWrt >= 21.02
100 stars 38 forks source link

Request add support Foxconn T77W676 #9

Closed odie84 closed 2 years ago

odie84 commented 2 years ago

vid & pid, It has 2 brand vendor HP & Telit

03f0:0a57 (HP lt4220 MBIM) 03f0:0857 (HP lt4220 QMI) 1bc7:1901 (Telit Ln940 MBIM) 1bc7:1900 (Telit Ln940 QMI)

ATI

ati Manufacturer: QUALCOMM INCORPORATED Model: 4105 Revision: T77W676.F0.0.0.4.7.GC.017 1 [Jul 11 2018 00:00:00] SVN: 03 IMEI: xxx +GCAP: +CGSM,+DS,+ES

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=480 MxCh= 0     
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 3  
P: Vendor=03f0 ProdID=0857 Rev= 3.10    
S: Manufacturer=Qualcomm    
S: Product=Snapdragon(TM) X12 LTE-A     
S: SerialNumber=0123456789ABCDEF

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0     
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1  
P: Vendor=1bc7 ProdID=1900 Rev= 3.10    
S: Manufacturer=Telit   
S: Product=Telit LN940 Mobile Broadband     
S: SerialNumber=0123456789ABCDEF

Serial port

/dev/ttyUSB1 & /dev/ttyUSB2

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

4IceG commented 2 years ago

Hi, To add some modem to 3ginfo package you need commands at with documentation/explanation/examples of results. I don't have these modems, so the more information I get it will be easier to add support.

4IceG commented 2 years ago

If you really need information from the modem, you can use the package https://github.com/koshev-msk/luci-app-modeminfo the guys added these modems.

I found documentation with AT commands for telit ln940 but won't add it soon due to lack of time.

odie84 commented 2 years ago

3ginfo-lite 3ginfo-lite1

I am using the latest version of luci-app-3ginfo-lite and the result is like that

4IceG commented 2 years ago

Hi @odie84 Ok, and the modem is?

odie84 commented 2 years ago

telit ln940

4IceG commented 2 years ago

I haven't added this modem yet, so it's not surprising that it doesn't show more. When I add it there will be a mention of it in the readme.

odie84 commented 2 years ago

ok thanks in advance.

odie84 commented 2 years ago

1bc71900.txt

please fix something is still missing

4IceG commented 2 years ago

Hi @odie84 , It's nice to see that the new modems are described. But what am I supposed to do with it? You didn't show the result of these commands, so I don't know what's wrong. I don't have these modems, so it's a waste of time to manually search for command output.

odie84 commented 2 years ago

3ginfo-lite 3ginfo-lite1 1bc71900.txt

4IceG commented 2 years ago

Hi @odie84 , I see that there is progress :), I will have some free time this week then I will try to add support for this modem.

4IceG commented 2 years ago

Hi @odie84 , if you can, check how much my version shows. I don't have this modem and I didn't find results for some commands, so further testing / fixes may be needed. 1bc71900.zip

odie84 commented 2 years ago

gambar gambar

odie84 commented 2 years ago

root@OpenWrt:~# sh -x /usr/share/3ginfo-lite/3ginfo.sh

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

+CPIN: READY

+COPS: 0,0,"XL Axiata XL Axiata",7

+COPS: 0,2,"51011",7

+CREG: 2,1,"FFFE","7CA2803",7

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'+ awk '/SCC2/{print $5}'

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

^RFSTS: "51011",376,-100.2,-64.8,-18.5,51005,0,0,19,1,238,"510113935956071","XL Axiata",3,1,8.2

tsens_tz_sensor0:32 tsens_tz_sensor1:33 tsens_tz_sensor2:34 tsens_tz_sensor4:34 tsens_tz_sensor5:34

'K

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 8 Spd=480 MxCh= 4 D: Ver= 2.10 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1 P: Vendor=2109 ProdID=2817 Rev=90.43 S: Manufacturer=VIA Labs, Inc. S: Product=USB2.0 Hub C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

T: Bus=01 Lev=02 Prnt=08 Port=02 Cnt=01 Dev#= 9 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=1bc7 ProdID=1900 Rev= 3.10 S: Manufacturer=Telit S: Product=Telit LN940 Mobile Broadband S: SerialNumber=0123456789ABCDEF C: #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 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= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I: If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=89(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=01 Lev=02 Prnt=08 Port=03 Cnt=02 Dev#= 10 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 2 P: Vendor=0bda ProdID=8153 Rev=30.00 S: Manufacturer=Realtek S: Product=USB 10/100/1000 LAN S: SerialNumber=000001 C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=r8152 E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=16ms C: #Ifs= 2 Cfg#= 2 Atr=a0 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver= E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=16ms I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver= I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver= E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=02 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.04 S: Manufacturer=Linux 5.4.205-flippy-74+o 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=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms'

4IceG commented 2 years ago

OK @odie84 , it should show well what is now. The pci & earfcn data for the rest of the bands won't be there because we don't get them.

1bc71900v2.zip