-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support Fibocom FM150-AE-00(with pcie bus lanes) #45
Comments
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. |
I have its documentation. But all of them is in Chinese. |
doc.zip ,or visit |
Upload doc again, please. |
Hi @ChaingTsung |
file size is too large. |
I share with you via onedriver.https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14 |
Alreadyly uploaded.https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14 |
Of course, source also uploaded into my repository at https://github.com/ChaingTsung/Fibocom_FM150-AE-00_PCIE-DRIVER |
this repository does not include official doc, official doc included in https://1drv.ms/u/s!AlmKO5JLGJEOgdxrvkVeP0vGMFW1vQ?e=4Fbu14. |
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 |
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
|
FIBOCOM FG150 & FM150 Series AT Commands_V3.6.7.pdf |
I have to upload one by one due to the limit of file size . |
In fact, all doc included in "Zh-doc\3-SoftwareZh-doc\3-Software\通用" |
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). |
|
MHI virtual channel function description
|
FIBOCOM ECM Dial USB Driver Option_Linux.zip |
FIBOCOM PCIE MHI Driver_Linux_V1.0.3.tar.gz |
All driver source code for FM150-AE ( Both pcie and usb bus) uploaded.Including tools. |
So run these commands on /dev/mhi_DUN And show |
root@OpenWrt:~# echo "ati\r" > /dev/mhi_DUN
[ 785.513393] [I][mhi0][__mhi_prepare_channel] Entered: preparing channel:32
[ 785.530066] [I][mhi0][mhi_dump_tre] carl_ev evt_cmd_comp code=1, type=33
[ 785.536764] [I][mhi0][__mhi_prepare_channel] Chan:32 successfully moved to start state
[ 785.544664] [I][mhi0][__mhi_prepare_channel] Entered: preparing channel:33
[ 785.558769] [I][mhi0][mhi_dump_tre] carl_ev evt_cmd_comp code=1, type=33
[ 785.565457] [I][mhi0][__mhi_prepare_channel] Chan:33 successfully moved to start state root@OpenWrt:~# cat /sys/bus/pci/devices/*/uevent
DRIVER=pcieport
PCI_CLASS=60400
PCI_ID=14C3:1F32
PCI_SUBSYS_ID=0000:0000
PCI_SLOT_NAME=0000:00:00.0
MODALIAS=pci:v000014C3d00001F32sv00000000sd00000000bc06sc04i00
DRIVER=mhi_q
PCI_CLASS=FF0000
PCI_ID=17CB:0306
PCI_SUBSYS_ID=1CF8:5502
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v000017CBd00000306sv00001CF8sd00005502bcFFsc00i00
|
Use picocom, not echo. |
not supported. @4lceG the driver dones not support fm150-ae( via pcie bus).I tried to Then I use |
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. |
Supported in 23.05 and snapshot. |
|
As for gosuncn 5G module GM800, it connects to net. via usb if its version is |
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 |
fibocom fm150-ae or 160 series : |
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. |
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. |
No message returns after input these at command. The driver does not work! So no reply for at command. |
I guess what the doc described is two drivers. |
It's not about the exact version of the modem, but about the procedure. After all, we want to talk to this modem somehow. |
Show us this "no message". |
Okay, now I rebuilt the ofiicial, clean firmware used @4IceG drivers.Info in here.
Attention: ttyUSB* is for ec20.
|
Look at these pic. Canot dail as the tool is not right.
|
In |
although it was successfully identified( quectel and fibocom 150 use sdx55), it can not connect to net. |
Seems that some differnces among them. |
successfully made driver with my source code and connected to network with
|
@ChaingTsung show result of the command: Some command is returning the wrong value and messing up the json layout. |
Does it support Fibocom FM150-AE-00? I
The text was updated successfully, but these errors were encountered: