Skip to content

karnadii/FibocomModem

Repository files navigation

Fibocom Modem Support for MacOS

A kernel extension for macos to add support for two fibocom modem l850 and l860. You have to make sure the USB interface for the modem already mapped in your kext. Also you have to make sure the modem goes to usb mode and using ncm/acm protocol for l860, for l850 you can use either acm.ncm or mbim+acm. For me t440p user, the both modem l860 and l850 automatically use usb mode, if your device is still in pcie mode, refer to this ssdt/dsdt by @HeySora to change the mode to usb mode https://gist.github.com/HeySora/d720554aa5564a7800de8eca45403ef7. also make sure your fcc is unlocked, please refer here for fcc unlock https://github.com/xmm7360/xmm7360-usb-modeswitch

Without this kext actually l860 and l850 modems already supported through their acm/ncm native driver, however it is detected as dial up modem rather than wwan, so you dont have information like signal strength and other misc info from the modem. This kext basically just change the way macos detect the modem, from dial up to wwan. If you happy with dial up interface, you don't have to use this.

You need 2 kext, FibocomModemSupport.kext and FibocomModemL8X0.kext, change the X with either 5 or 6 according what model you are using, don't use both since their usb vendorId and productId are the same.

If the kext doesn't work, probably you have different hardware version, just edit the info.plist of the kext and match the cbdVersion to your hardware version.

I have tested this on big sur, posibbly can be used in catalina and monterey too. but starting from ventura, apple decided to drop support for wwan and dial up modem. In ventura and sonoma, even though the modem detected in network but there is no ui interface for configuring the connection. there is only option for deleting the service and deactivate the service.

For some reason, macos was not able to get the signal strength, if you know what cause it and you have solution, please tell me in Issue or make a PR!

Screenshoot

L850

Screen Shot 2024-05-20 at 12 28 53

L860

Screen Shot 2024-05-18 at 03 29 26

Speedtest

I have antenna problem, so the result is not that good, when I use it on my OpenWRT router, the speed can reach more than 100Mbps Screen Shot 2024-05-18 at 21 50 29

Setup

You just need to set the wwan like the image bellow, use generic for vendor, and gprs for model, apn you can leave it blank or use 'internet' or your apn of choice. don't forget setting up the dns too, without setting up dns you won't be able to surf internet. Screen Shot 2024-05-18 at 21 55 09 Screen Shot 2024-05-18 at 21 55 02

USB Map

Don't forget to map your USB modem interface before using this, this image only an example, use your own usb map kext. Screen Shot 2024-05-17 at 03 37 48 Screen Shot 2024-05-17 at 03 51 41

About

Fibocom L850 and L860 WWAN Support for Macos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published