[GH-ISSUE #1] add support for Huawei e5786 please #135

Closed
opened 2026-03-13 13:06:41 +03:00 by kerem · 12 comments
Owner

Originally created by @lukjod on GitHub (Jul 18, 2021).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/1

Zrzut ekranu 2021-07-18 180024
cat /sys/kernel/debug/usb/devices
`T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
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= 5.04
S: Manufacturer=Linux 5.4.128 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=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI_MOBILE
S: Product=HUAWEI_MOBILE
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
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.128 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=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
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= 5.04
S: Manufacturer=Linux 5.4.128 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.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=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
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.128 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.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=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms`

Originally created by @lukjod on GitHub (Jul 18, 2021). Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/1 ![Zrzut ekranu 2021-07-18 180024](https://user-images.githubusercontent.com/1781446/126074083-fb6c30e6-e1f8-47d7-910a-9d391023da9a.jpg) cat /sys/kernel/debug/usb/devices `T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 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= 5.04 S: Manufacturer=Linux 5.4.128 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=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=12d1 ProdID=1506 Rev= 1.02 S: Manufacturer=HUAWEI_MOBILE S: Product=HUAWEI_MOBILE C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 2mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=2ms I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=2ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1 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.128 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=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 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= 5.04 S: Manufacturer=Linux 5.4.128 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=xhci-hcd.1.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=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1 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.128 xhci-hcd S: Product=xHCI Host Controller S: SerialNumber=xhci-hcd.1.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=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms`
kerem closed this issue 2026-03-13 13:06:46 +03:00
Author
Owner

@4IceG commented on GitHub (Jul 18, 2021):

@lukjod show what you get after executing AT commands:
ATI
AT ^ HCSQ?
AT ^ CHIPTEMP =?
AT ^ CHIPTEMP?
It may be that commands except "ATI" are blocked and nothing will be read, there will only be an "ERROR" message.
Also try changing the communication port to ttyUSB1 if available.

<!-- gh-comment-id:882089729 --> @4IceG commented on GitHub (Jul 18, 2021): @lukjod show what you get after executing AT commands: ATI AT ^ HCSQ? AT ^ CHIPTEMP =? AT ^ CHIPTEMP? It may be that commands except "ATI" are blocked and nothing will be read, there will only be an "ERROR" message. Also try changing the communication port to ttyUSB1 if available.
Author
Owner

@lukjod commented on GitHub (Jul 18, 2021):

ATI
Manufacturer: huawei
Model: E5786s-32a
Revision: 21.313.17.00.00
IMEI: 864417020xxxxxxx
+GCAP: +CGSM,+DS,+ES

AT ^ HCSQ?
ERROR

AT ^ CHIPTEMP =?
ERROR

AT ^ CHIPTEMP?
ERROR

no, usb1 is not valid.
Anything else that I can do to make it work?

<!-- gh-comment-id:882101427 --> @lukjod commented on GitHub (Jul 18, 2021): ATI Manufacturer: huawei Model: E5786s-32a Revision: 21.313.17.00.00 IMEI: 864417020xxxxxxx +GCAP: +CGSM,+DS,+ES AT ^ HCSQ? ERROR AT ^ CHIPTEMP =? ERROR AT ^ CHIPTEMP? ERROR no, usb1 is not valid. Anything else that I can do to make it work?
Author
Owner

@4IceG commented on GitHub (Jul 18, 2021):

We will do nothing if the modem does not respond to commands, or it is
blocked or the commands have changed. I can't do anything more at the
moment. I don't know if it can be unlocked by command or by other software.

niedz., 18 lip 2021, 20:51 użytkownik lukjod @.***>
napisał:

ATI
Manufacturer: huawei
Model: E5786s-32a
Revision: 21.313.17.00.00
IMEI: 864417020920360
+GCAP: +CGSM,+DS,+ES

AT ^ HCSQ?
ERROR

AT ^ CHIPTEMP =?
ERROR

AT ^ CHIPTEMP?
ERROR

no, usb1 is not valid.
Anything else that I can do to make it work?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-882101427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIOFSORJOEU5AIYAE4CD7TTYMPDVANCNFSM5ASIPVSQ
.

<!-- gh-comment-id:882102857 --> @4IceG commented on GitHub (Jul 18, 2021): We will do nothing if the modem does not respond to commands, or it is blocked or the commands have changed. I can't do anything more at the moment. I don't know if it can be unlocked by command or by other software. niedz., 18 lip 2021, 20:51 użytkownik lukjod ***@***.***> napisał: > ATI > Manufacturer: huawei > Model: E5786s-32a > Revision: 21.313.17.00.00 > IMEI: 864417020920360 > +GCAP: +CGSM,+DS,+ES > > AT ^ HCSQ? > ERROR > > AT ^ CHIPTEMP =? > ERROR > > AT ^ CHIPTEMP? > ERROR > > no, usb1 is not valid. > Anything else that I can do to make it work? > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-882101427>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AOIOFSORJOEU5AIYAE4CD7TTYMPDVANCNFSM5ASIPVSQ> > . >
Author
Owner

@4IceG commented on GitHub (Jul 19, 2021):

@lukjod Have you tested the normal 3ginfo, does it show something? It is more universal, complex, so maybe it will show something more.

<!-- gh-comment-id:882684210 --> @4IceG commented on GitHub (Jul 19, 2021): @lukjod Have you tested the normal 3ginfo, does it show something? It is more universal, complex, so maybe it will show something more.
Author
Owner

@lukjod commented on GitHub (Jul 19, 2021):

Nope, nothing beside basic ATI response. Will try to search for valid at commands on net, maybe just different logic of sentence

<!-- gh-comment-id:882759555 --> @lukjod commented on GitHub (Jul 19, 2021): Nope, nothing beside basic ATI response. Will try to search for valid at commands on net, maybe just different logic of sentence
Author
Owner

@4IceG commented on GitHub (Aug 16, 2021):

@lukjod jak będziesz miał chwilę to zerknij czy nowa wersja pakietu wypluje coś dla Twojego e5786.

<!-- gh-comment-id:899798582 --> @4IceG commented on GitHub (Aug 16, 2021): @lukjod jak będziesz miał chwilę to zerknij czy nowa wersja pakietu wypluje coś dla Twojego e5786.
Author
Owner

@4IceG commented on GitHub (Aug 18, 2021):

@lukjod jak będziesz miał chwilę to zerknij czy nowa wersja pokaże wersję FW i pełniejszą nazwę modemu.

<!-- gh-comment-id:901328384 --> @4IceG commented on GitHub (Aug 18, 2021): @lukjod jak będziesz miał chwilę to zerknij czy nowa wersja pokaże wersję FW i pełniejszą nazwę modemu.
Author
Owner

@lukjod commented on GitHub (Aug 19, 2021):

@4IceG ta nic nie pokazuje przy takich samych ustawieniach jak poprzednio

<!-- gh-comment-id:902266691 --> @lukjod commented on GitHub (Aug 19, 2021): @4IceG ta nic nie pokazuje przy takich samych ustawieniach jak poprzednio
Author
Owner

@4IceG commented on GitHub (Aug 20, 2021):

No to lipa, tak to jest robic wsparcie na sucho bez fizycznego sprzetu :).
Jeszcze zerkne na to dzis, moze ja gdzies sie pomylilem w logice/kodzie, a
jak nie no to zostanie to co jest..

czw., 19 sie 2021, 23:40 użytkownik lukjod @.***>
napisał:

@4IceG https://github.com/4IceG ta nic nie pokazuje przy takich samych
ustawieniach jak poprzednio


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-902266691,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIOFSOKQC63XBZEXQXSAFTT5V245ANCNFSM5ASIPVSQ
.
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&utm_campaign=notification-email
.

<!-- gh-comment-id:902398667 --> @4IceG commented on GitHub (Aug 20, 2021): No to lipa, tak to jest robic wsparcie na sucho bez fizycznego sprzetu :). Jeszcze zerkne na to dzis, moze ja gdzies sie pomylilem w logice/kodzie, a jak nie no to zostanie to co jest.. czw., 19 sie 2021, 23:40 użytkownik lukjod ***@***.***> napisał: > @4IceG <https://github.com/4IceG> ta nic nie pokazuje przy takich samych > ustawieniach jak poprzednio > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-902266691>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AOIOFSOKQC63XBZEXQXSAFTT5V245ANCNFSM5ASIPVSQ> > . > 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&utm_campaign=notification-email> > . >
Author
Owner

@4IceG commented on GitHub (Aug 20, 2021):

Wygląda na to że skrypty z założenia są poprawne, jeszcze trochę je zmianiłem, może teraz złapią więcej. @lukjod pokaż mi jak to aktualnie będzie wyglądało (zrób screena). Wyczyść przed zdjęciem cache przeglądarki i cache Luci z tmp. Ostatnie podejście.

<!-- gh-comment-id:902789390 --> @4IceG commented on GitHub (Aug 20, 2021): Wygląda na to że skrypty z założenia są poprawne, jeszcze trochę je zmianiłem, może teraz złapią więcej. @lukjod pokaż mi jak to aktualnie będzie wyglądało (zrób screena). Wyczyść przed zdjęciem cache przeglądarki i cache Luci z tmp. Ostatnie podejście.
Author
Owner

@lukjod commented on GitHub (Aug 20, 2021):

tak jak poprzednio, nie dziala, znacznie zwieksza obciazenie procesora i tworzy mnostwo kolo 20 plikow tmp.xxxxxx w /tmp. Wyraznie mu ta wersja nie sluzy. wracam do ostatniej dzialajacej z 18.06.2021

<!-- gh-comment-id:902805265 --> @lukjod commented on GitHub (Aug 20, 2021): tak jak poprzednio, nie dziala, znacznie zwieksza obciazenie procesora i tworzy mnostwo kolo 20 plikow tmp.xxxxxx w /tmp. Wyraznie mu ta wersja nie sluzy. wracam do ostatniej dzialajacej z 18.06.2021
Author
Owner

@4IceG commented on GitHub (Aug 20, 2021):

No nic probowalem. Jeszcze wgram u siebie wieczorem i zerkne na to
obciazenie procesora.

Swoja droga na tym to polega ze tworzone sa pliki w tmp, z ktorych
pobierane sa dane. Posprawdzam to jeszcze pozniej.

pt., 20 sie 2021, 18:17 użytkownik lukjod @.***>
napisał:

tak jak poprzednio, nie dziala, znacznie zwieksza obciazenie procesora i
tworzy mnostwo kolo 20 plikow tmp.xxxxxx w /tmp. Wyraznie mu ta wersja nie
sluzy. wracam do ostatniej dzialajacej z 18.06.2021


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-902805265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIOFSPILJWBPANJFPRRVY3T5Z5X3ANCNFSM5ASIPVSQ
.
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&utm_campaign=notification-email
.

<!-- gh-comment-id:902831521 --> @4IceG commented on GitHub (Aug 20, 2021): No nic probowalem. Jeszcze wgram u siebie wieczorem i zerkne na to obciazenie procesora. Swoja droga na tym to polega ze tworzone sa pliki w tmp, z ktorych pobierane sa dane. Posprawdzam to jeszcze pozniej. pt., 20 sie 2021, 18:17 użytkownik lukjod ***@***.***> napisał: > tak jak poprzednio, nie dziala, znacznie zwieksza obciazenie procesora i > tworzy mnostwo kolo 20 plikow tmp.xxxxxx w /tmp. Wyraznie mu ta wersja nie > sluzy. wracam do ostatniej dzialajacej z 18.06.2021 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/4IceG/luci-app-3ginfo-lite/issues/1#issuecomment-902805265>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AOIOFSPILJWBPANJFPRRVY3T5Z5X3ANCNFSM5ASIPVSQ> > . > 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&utm_campaign=notification-email> > . >
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#135
No description provided.