mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #45] Support Fibocom FM150-AE-00(with pcie bus lanes) #33
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo-lite#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChaingTsung on GitHub (Aug 2, 2023).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/45
Does it support Fibocom FM150-AE-00? I
@4IceG commented on GitHub (Aug 2, 2023):
If the modem has a port for communication and is presented in the system as 2cb70104 (VID and PID identifier on the USB bus) then the basic data can be shown. Lack of documentation makes it difficult to add full modem support.
@ChaingTsung commented on GitHub (Aug 8, 2023):
I have its documentation. But all of them is in Chinese.
@ChaingTsung commented on GitHub (Aug 8, 2023):
doc.zip ,or visit
cowtransfer.comand input the keyey7rhito see@ChaingTsung commented on GitHub (Aug 8, 2023):
doc.zip share with sendanywhere
@obsy commented on GitHub (Aug 11, 2023):
Upload doc again, please.
@4IceG commented on GitHub (Aug 11, 2023):
Hi @ChaingTsung
I tried to download before and nothing worked from what you shared.
Add the documentation normally here as a zip file attachment.
@ChaingTsung commented on GitHub (Aug 11, 2023):
https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14
@ChaingTsung commented on GitHub (Aug 11, 2023):
file size is too large.
@ChaingTsung commented on GitHub (Aug 11, 2023):
I share with you via onedriver.https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14
@ChaingTsung commented on GitHub (Aug 11, 2023):
Alreadyly uploaded.https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14
@ChaingTsung commented on GitHub (Aug 11, 2023):
Of course, source also uploaded into my repository at https://github.com/ChaingTsung/Fibocom_FM150-AE-00_PCIE-DRIVER
@ChaingTsung commented on GitHub (Aug 11, 2023):
this repository does not include official doc, official doc included in https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14.
@ChaingTsung commented on GitHub (Aug 11, 2023):
OFFICIAL Dial tools has been uploaded into https://github.com/ChaingTsung/Fibocom_dail_software_Linux.git. I built this tool for banana pi r3 with openwrt code and lede code. Although tool is sucessfully built, the tool is unavailable.(As long as you run this built dial tool,( named
fibocom_dailand its path : /usr/bin/fibocom_dail), it says segments error.)@obsy commented on GitHub (Aug 12, 2023):
Thanks. It's quite useful, even though it's in Chinese :)
Show me:
Install picocom (opkg update; opkg install picocom), try
Type ATI, the modem should respond. If not, try the next interface (ttyUSB1, ttyUSB2 and so on). If modem respond, type and show output of
@ChaingTsung commented on GitHub (Aug 12, 2023):
FIBOCOM FG150 & FM150 Series AT Commands_V3.6.7.pdf
Here is the AT doc in English.
@ChaingTsung commented on GitHub (Aug 12, 2023):
FIBOCOM FG150 & FM150 Series AT Commands_GNSS_V1.0.3.pdf
@ChaingTsung commented on GitHub (Aug 12, 2023):
FIBOCOM AT Commands_eSIM_V1.0.3.pdf
@ChaingTsung commented on GitHub (Aug 12, 2023):
I have to upload one by one due to the limit of file size .
@ChaingTsung commented on GitHub (Aug 12, 2023):
In fact, all doc included in "Zh-doc\3-SoftwareZh-doc\3-Software\通用"
@ChaingTsung commented on GitHub (Aug 12, 2023):
Unfortunately, the FM150-AE(version : 00) only runs via pcie bus, not usb. "/dev/mhi_DUN" is for AT. And all device descriptor for this module(version: 00) is starting with "mhi_"( in '/dev' dir).
@ChaingTsung commented on GitHub (Aug 12, 2023):
Look at this picture.

@ChaingTsung commented on GitHub (Aug 12, 2023):
MHI virtual channel function description
@ChaingTsung commented on GitHub (Aug 12, 2023):
FIBOCOM ECM Dial USB Driver Option_Linux.zip
FIBOCOM Dump Collect Tool_Linux & Android_V1.0.4.zip
FIBOCOM Download Tool_Linux & Android_V1.8.8.zip
[FIBOCOM Diaggrab Log Tool_Linux & Android_V1.0.9.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12327703/FIBOCOM.Diaggra
FIBOCOM Linux GobiNet Driver_V2.01.00.02.zip
b.Log.Tool_Linux.And
FIBOCOM Hostproxy TooL_Linux & Android_V1.0.2.zip
roid_
FIBOCOM Foat Tool_Linux_V1.0.2.zip
V1.0.9.zip)
FIBOCOM ATsend_TooL_Linux_V1.0.1.zip
@ChaingTsung commented on GitHub (Aug 12, 2023):
FIBOCOM PCIE MHI Driver_Linux_V1.0.3.tar.gz
[Fibocom_Linux_pcie_host_driver_1.0.5.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12327709/Fibocom_Linux_p
Fibocom_QMI_WWAN_Driver_V1.0.2.zip
cie_host_driver_1.0.5.zip)
@ChaingTsung commented on GitHub (Aug 12, 2023):
All driver source code for FM150-AE ( Both pcie and usb bus) uploaded.Including tools.
@obsy commented on GitHub (Aug 12, 2023):
So run these commands on /dev/mhi_DUN
And show
cat /sys/bus/pci/devices/*/uevent@ChaingTsung commented on GitHub (Aug 13, 2023):
@obsy commented on GitHub (Aug 13, 2023):
Use picocom, not echo.
@ChaingTsung commented on GitHub (Aug 16, 2023):
not supported. @4lceG the driver dones not support fm150-ae( via pcie bus).
I tried to
cross makeit on x64 ubuntu.( target: banana pi r3) But the built driver can not work too.Then I use
leancode to build and choosefibicom mhiandquectel mhi. After built ,banan pi r3 run. I typedlspci -vvvin its terminal. The result of commandlspci -vvvshoud returnKernel driver in use: fibo_mhi, but it returnsKernel driver in use: mhi_q. The driver code I uploaded passes on Ubuntu 20.04 x64 with kernel 5.15.125, however I do not know how to edit or modify itsmakefilefor OpenWRT.@4IceG commented on GitHub (Aug 17, 2023):
If I understand correctly, mhi is not supported and needs to be manually compiled in OpenWrt.
I found an interesting pdf that describes it > LINK < unfortunately I don't know where the necessary sources are on github.
@obsy commented on GitHub (Aug 17, 2023):
Supported in 23.05 and snapshot.
@ChaingTsung commented on GitHub (Aug 17, 2023):
In that pdf, the fibocom 5G module named FM150-AE-01( via usb bus) is different from FM150-AE-00 (via pcie bus).
@ChaingTsung commented on GitHub (Aug 17, 2023):
As for gosuncn 5G module GM800, it connects to net. via usb if its version is
c1b, onlyc1ais pcie bus.@ChaingTsung commented on GitHub (Aug 17, 2023):
As for quectel rm 50x series, most of them can be run via usb or pcie, just use AT commands to change.Most of quectel 5g module supports usb and pcie as if it consists of
Qualcomm sdx55 or sdx65.@ChaingTsung commented on GitHub (Aug 17, 2023):
fibocom fm150-ae or 160 series :
00, 10, 20 is pcie bus
01, 11, 21 is usb bus.
@ChaingTsung commented on GitHub (Aug 17, 2023):
If the kernel is 6.x, the module can not work. It seems a lot of APIs to 'net' has been changed. And default kernel pcie mhi module does not make this 5G module work. So do the dial tools.
@obsy commented on GitHub (Aug 17, 2023):
Please, this is NOT openwrt support. Just show us output of these AT command, And that's it - from the point of view of this project, these implementation details are irrelevant.
@ChaingTsung commented on GitHub (Aug 17, 2023):
No message returns after input these at command. The driver does not work! So no reply for at command.
@4IceG commented on GitHub (Aug 17, 2023):
But they also showed modem support on pcie..

@ChaingTsung commented on GitHub (Aug 17, 2023):
Info shown in your pic. reveals this is

00version(type).@ChaingTsung commented on GitHub (Aug 17, 2023):
I guess what the doc described is two drivers.
@4IceG commented on GitHub (Aug 17, 2023):
It's not about the exact version of the modem, but about the procedure. After all, we want to talk to this modem somehow.
@obsy commented on GitHub (Aug 17, 2023):
Show us this "no message".
@ChaingTsung commented on GitHub (Aug 18, 2023):
Okay, now I rebuilt the ofiicial, clean firmware used @4IceG drivers.Info in here.
Attention: ttyUSB* is for ec20.
@ChaingTsung commented on GitHub (Aug 18, 2023):
Look at these pic. Canot dail as the tool is not right.
@ChaingTsung commented on GitHub (Aug 18, 2023):
In
lspci -vvv,mhi_qis quectels'.@ChaingTsung commented on GitHub (Aug 18, 2023):
although it was successfully identified( quectel and fibocom 150 use sdx55), it can not connect to net.
rmnet_mhi0andrmnet_mhi0.1have no ip, no route.@ChaingTsung commented on GitHub (Aug 18, 2023):
Seems that some differnces among them.
@ChaingTsung commented on GitHub (Aug 18, 2023):
successfully made driver with my source code and connected to network with
fibocom-dialtool.@ChaingTsung commented on GitHub (Aug 31, 2023):
what is wrong?

@4IceG commented on GitHub (Aug 31, 2023):
@ChaingTsung show result of the command:
sh -x /usr/share/3ginfo-lite/3ginfo.shSome command is returning the wrong value and messing up the json layout.