-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request add support modem #2
Comments
Fibocom L860-GLBasicaly same as fibocom L850-GL
Firmware version
vid & pid 8087:095a Serial port /dev/ttyACM0 & /dev/ttyACM2 All band supported 3G: 1,2,4,5,8
|
Hi,
Install the package / packages and copy the file from the attachment to "/
usr / share / modemband" and see if everything works.
If you are in mbim mode then of course rename the file.
wt., 8 mar 2022, 08:44 użytkownik lrdrdn ***@***.***> napisał:
… Fibocom L860-GL
Basicaly same as fibocom L850-GL
at+gmm
L860 LTE Module
OK
Firmware version
AT+GTPKGVER?
+GTPKGVER: "18600.5001.00.35.01.57_5026.01.001.005"
OK
vid & pid
8087:095a
Serial port
/dev/ttyACM0 & /dev/ttyACM2
All band supported
3G: 1,2,4,5,8
4G:
1,2,3,4,5,7,8,12,13,14,17,18,19,20,25,26,28,29,30,32,38,39,40,41,42,46,66
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
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSKBP3X4MD7EWSZUUGDU64AOXANCNFSM5QFQZ3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
where I cand find the attachment? |
Did you get a file called 8087095a?
wt., 8 mar 2022, 13:25 użytkownik lrdrdn ***@***.***> napisał:
… Hi, Install the package / packages and copy the file from the attachment
to "/ usr / share / modemband" and see if everything works. If you are in
mbim mode then of course rename the file. wt., 8 mar 2022, 08:44 użytkownik
lrdrdn *@*.
*> napisał: … <#m_2306611317709480779_> Fibocom L860-GL Basicaly same as
fibocom L850-GL at+gmm L860 LTE Module OK Firmware version AT+GTPKGVER?
+GTPKGVER: "18600.5001.00.35.01.57_5026.01.001.005" OK vid & pid 8087:095a
Serial port /dev/ttyACM0 & /dev/ttyACM2 All band supported 3G: 1,2,4,5,8
4G:
1,2,3,4,5,7,8,12,13,14,17,18,19,20,25,26,28,29,30,32,38,39,40,41,42,46,66
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 — Reply to this email directly, view it on GitHub <#2 (comment)
<#2 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIOFSKBP3X4MD7EWSZUUGDU64AOXANCNFSM5QFQZ3RA
<https://github.com/notifications/unsubscribe-auth/AOIOFSKBP3X4MD7EWSZUUGDU64AOXANCNFSM5QFQZ3RA>
. Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: @.*>
where I cand find the attachment?
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSML65T25OAMBWDPQJ3U65BKPANCNFSM5QFQZ3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
no I can't find anywhere |
Oh, I see that it cuts off everything that I added by mail, I can't see the
file, link to the file :|, I will send the file in the evening normally via
github, you will check it tomorrow.
wt., 8 mar 2022, 19:13 użytkownik lrdrdn ***@***.***> napisał:
… no I can't find anywhere
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSJP4TBL7JEEQ2DWC5DU66KGJANCNFSM5QFQZ3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
OK, Install the package modemband / packages and copy the files from the attachment to "/usr/share/modemband" and see if everything works |
Fibocom L860 & L850 it's work. I have more several modem wants to be added. Foxconn T77W968It has more than 1 vid:pid 413c:81d7 (Dell dw5821e) With command ATI
cat /sys/kernel/debug/usb/devices
Supported Bands Serial Port Check prefered mode
Lte Only
Reset to Auto
Read active band
Lock 4G B1
Lock 4G B1 & B3
Reset Bands
|
OK, copy the files from the attachment to "/usr/share/modemband" and see if everything works. |
Foxconn T77W968 works fine. Another Foxconn modem Foxconn T77W676vid & pid, It has 2 brand vendor HP & Telit
ATI
cat /sys/kernel/debug/usb/devices
Serial port
All band supported For lock band slightly different from Dw5821e, this modem without "2" after lte Lock B1
Lock B1 & B3
Reset to Auto
|
Huawei Me909s-821vid & pid
Serial port
Supported bands For lock band with bitmask
Lock 4G B1
Lock 4G B3
Lock 4G B1 & B3
All Band 4G
Auto All band
|
OK, copy the files from the attachment to "/usr/share/modemband" and see if everything works. |
I copied all files to /usr/share/modemband
03f0:0857 & 1bc7:1900, if I replace file from 0a57/1901 it will work and LTE band there is B0 value detected like this
|
OK, copy the files and see if anything has improved. Show me what the command returns: |
everything works, but still displaying B0 For Huawei Me909s it's like before. 12d1:1f1a modem not detected |
OK, copy the files and see if anything has improved |
You yourself mentioned above that Huawei is dev/ttyUSB0 & /dev/ttyUSB1, but
ok, I assume that apart from the wrong port it works.
As for foxconn, tomorrow I will be over this session because the script
returns the data correctly, but then something else comes out for you.
Do this command to read the bands again and send me the result.
czw., 10 mar 2022, 12:37 użytkownik lrdrdn ***@***.***>
napisał:
… Huawei 12d1:15c1 use /dev/ttyUSB2 not USB1
foxconn cannot getbands
***@***.***:~# modemband.sh getbands
tr: STRING2 cannot be empty
[image: image]
<https://user-images.githubusercontent.com/93698387/157653936-11272ac8-1963-4a3c-81e9-292e3c46c199.png>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSM3UHYJ3NR5KN7JMMLU7HNILANCNFSM5QFQZ3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
OK, copy the files and see if anything has improved. Huawei Me909s-821 have these both /dev/ttyUSB2? |
sorry I cannot test the modem now. may be tommorow or 2/3 days later. |
No problem, you check when you can.
There is an update to the modemband package, so do the update before
testing.
I know that the user can switch ports on the modem, so I added the port
selection options in the application. There are too many modems, it's hard
to make a super universal application.
pt., 11 mar 2022, 11:15 użytkownik lrdrdn ***@***.***>
napisał:
… sorry I cannot test the modem now. may be tommorow or 2/3 days later.
I think serial port on huawei determined by usb compossstion. It has 3 cfg
if I plug in on openwrt detected cdc_ether. but if I plug in to rooter
detected cdc_mbim
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSP5KACYPIR6ZWIF563U7MMKLANCNFSM5QFQZ3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Sorry for late repply. |
Nothing happened :) , I understand that @lrdrdn you downloaded the latest packages versions (https://github.com/4IceG/luci-app-modemband/releases/latest) and tested. I would not change the port settings, recently we also had a user on the forum who had a supported modem but he changed the ports in the modem and "scandal" because it does not work... There is an option to set the port, so "feel free to set it". |
Because I don't remember if I added Foxconn T77W676 03f0:0a57 (HP lt4220 MBIM) I probably didn't add, I was waiting for confirmation that it works (update from Foxconn3.zip file). |
yes I tested it with Foxconn3.zip. |
Ok, so I sent the updates to Cezary. Now all we have to do is wait for the modemband package to be updated. After the upgrade, I will compile a new package. |
@lrdrdn Can you check again what I sent you (this Foxconn3.zip)? Cezary found some other commands for this Ln940 and we would like to confirm that this code what I posted works at 200% for these modems. |
Hi, |
Ln940 with toTEST.zip lock band & restore work fine, but B0 still visible but if I replace with Foxconn3.zip like this |
Hi, The error occurs for a modem with what vid & pid? |
1bc7:1900
|
An update has come out, this version of the package should be working properly now :). |
its broken
|
Ok in file
/usr/share/modemband/_foxconn_common2
replace line
echo "$O" | awk -F: '^\^SLBAND:.*LTE,/{gsub("LTE,","");gsub(","," ");print
$2}' | xargs
to
echo "$O" | awk -F: '/^\^SLBAND:.*LTE,/{gsub("LTE,","");gsub(","," ");print
$2}' | xargs
pon., 4 kwi 2022, 07:03 użytkownik lrdrdn ***@***.***>
napisał:
… its broken
[image: image]
<https://user-images.githubusercontent.com/93698387/161477091-d3165906-9a6a-47c7-8597-f24b09b16284.png>
***@***.***:~# modemband.sh
Modem: Telit LN940 Mobile Broadband
Supported LTE bands: 1 2 3 4 5 7 8 12 13 17 18 19 20 21 25 26 28 29 30 38 39 40 41 66
LTE bands: awk: cmd. line:1: Unexpected token
1: FDD 2100 MHz
2: FDD 1900 MHz
3: FDD 1800 MHz
4: FDD 1700 MHz
5: FDD 850 MHz
7: FDD 2600 MHz
8: FDD 900 MHz
12: FDD 700 MHz
13: FDD 700 MHz
17: FDD 700 MHz
18: FDD 850 MHz
19: FDD 850 MHz
20: FDD 800 MHz
21: FDD 1500 MHz
25: FDD 1900 MHz
26: FDD 850 MHz
28: FDD 700 MHz
29: SDL 700 MHz
30: FDD 2300 MHz
38: TDD 2600 MHz
39: TDD 1900 MHz
40: TDD 2300 MHz
41: TDD 2500 MHz
66: FDD 1700 MHz
***@***.***:~# sh -x /usr/bin/modemband.sh getbands
+ _DEVICE=
+ _DEFAULT_LTE_BANDS=
+ RES=/usr/share/modemband
+ awk '{gsub("="," ");
if ($0 ~ /Bus.*Lev.*Prnt.*Port.*/) {T=$0}
if ($0 ~ /Vendor.*ProdID/) {idvendor[T]=$3; idproduct[T]=$5}
if ($0 ~ /Product/) {product[T]=$3}}
END {for (idx in idvendor) {printf "%s%s\n%s%s%s\n", idvendor[idx], idproduct[idx], idvendor[idx], idproduct[idx], product[idx]}}' /sys/kernel/debug/usb/devices
+ _DEVS='0bda8153
0bda8153USB
1d6b0002
1d6b0002xHCI
1d6b0002
1d6b0002EHCI
1d6b0003
1d6b0003xHCI
1bc71900
1bc71900Telit
1d6b0001
1d6b0001Generic'
+ '[' -e /usr/share/modemband/0bda8153 ]
+ '[' -e /usr/share/modemband/0bda8153USB ]
+ '[' -e /usr/share/modemband/1d6b0002 ]
+ '[' -e /usr/share/modemband/1d6b0002xHCI ]
+ '[' -e /usr/share/modemband/1d6b0002 ]
+ '[' -e /usr/share/modemband/1d6b0002EHCI ]
+ '[' -e /usr/share/modemband/1d6b0003 ]
+ '[' -e /usr/share/modemband/1d6b0003xHCI ]
+ '[' -e /usr/share/modemband/1bc71900 ]
+ . /usr/share/modemband/1bc71900
+ _DEVICE=/dev/ttyUSB1
+ _DEFAULT_LTE_BANDS='1 2 3 4 5 7 8 12 13 17 18 19 20 21 25 26 28 29 30 38 39 40 41 66'
+ . /usr/share/modemband/_foxconn_common2
+ break
+ '[' -z /dev/ttyUSB1 ]
+ uci -q get ***@***.***[0].set_port'
+ _DEVICE1=
+ '[' -n ]
+ '[' '!' -e /dev/ttyUSB1 ]
+ getbands
+ sms_tool -d /dev/ttyUSB1 at 'at^slband?'
+ O='
^SLBAND: WCDMA,1,2,4,5,6,8,19
^SLBAND: LTE,1,3,8,40
'
+ echo '
^SLBAND: WCDMA,1,2,4,5,6,8,19
^SLBAND: LTE,1,3,8,40
'
+ awk -F: '^\^SLBAND:.*LTE,/{gsub("LTE,","");gsub(","," ");print $2}'
+ xargs
awk: cmd. line:1: Unexpected token
+ exit 0
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIOFSLFK653IOMKZ6W66PLVDJZ3TANCNFSM5QFQZ3RA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
ok its fix now. works fine |
@lrdrdn I have compiled a new package with the fix, I hope that now everything will work properly for all modems. |
I am sending a link to the file
https://www56.zippyshare.com/v/l9BuZI8M/file.html
wt., 8 mar 2022, 13:46 użytkownik Rafał ***@***.***> napisał:
… Did you get a file called 8087095a?
wt., 8 mar 2022, 13:25 użytkownik lrdrdn ***@***.***>
napisał:
> Hi, Install the package / packages and copy the file from the attachment
> to "/ usr / share / modemband" and see if everything works. If you are in
> mbim mode then of course rename the file. wt., 8 mar 2022, 08:44 użytkownik
> lrdrdn *@*.
>
> *> napisał: … <#m_-7084110729105757198_m_2306611317709480779_> Fibocom
> L860-GL Basicaly same as fibocom L850-GL at+gmm L860 LTE Module OK Firmware
> version AT+GTPKGVER? +GTPKGVER: "18600.5001.00.35.01.57_5026.01.001.005" OK
> vid & pid 8087:095a Serial port /dev/ttyACM0 & /dev/ttyACM2 All band
> supported 3G: 1,2,4,5,8 4G:
> 1,2,3,4,5,7,8,12,13,14,17,18,19,20,25,26,28,29,30,32,38,39,40,41,42,46,66
> 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 — Reply to this email directly, view it on GitHub <#2 (comment)
> <#2 (comment)>>,
> or unsubscribe
> https://github.com/notifications/unsubscribe-auth/AOIOFSKBP3X4MD7EWSZUUGDU64AOXANCNFSM5QFQZ3RA
> <https://github.com/notifications/unsubscribe-auth/AOIOFSKBP3X4MD7EWSZUUGDU64AOXANCNFSM5QFQZ3RA>
> . Triage notifications on the go with GitHub Mobile for iOS
> https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
> You are receiving this because you are subscribed to this thread.Message
> ID: @.*>
>
> where I cand find the attachment?
>
> —
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOIOFSML65T25OAMBWDPQJ3U65BKPANCNFSM5QFQZ3RA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Fibocom L850-GL
Firmware version
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
Lock 4g only B1
Lock 4g only B1 & B3
Lock All 4g Band
Auto All band
The text was updated successfully, but these errors were encountered: