Difference between revisions of "Modem"

From postmarketOS
Jump to: navigation, search
(collect links from github issues)
 
m
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{note|This is a work in progress document where a lot of information is still missing. Please help to expand this page!}}
 +
 +
== Qualcomm Modems ==
 +
 +
On most Qualcomm SoCs the modem is a separate processor which lives next to the main CPU where Linux is running on. It needs to be given firmware by the host processor to start.
 +
 +
The procedure for getting the modem to work is generally the following:
 +
* Package and install the [[Firmware]] of your modem into the file system, generally the <code>mba.*</code> and <code>modem.*</code> files.
 +
* Install the package <code>msm-modem-downstream</code> or <code>msm-modem-mainline</code>, depending on the kernel you are using (and reboot to activate the udev rules and services).
 +
* Install <code>ofono</code> and start it using <code>rc-service ofono start</code>
 +
* You should see signs of your firmware being loaded in the dmesg.
 +
* You can use the [https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/test ofono test scripts] or <code>ofonoctl</code> to see if the Linux recognized your modem and if it works correctly.
 +
 +
* Note, that for dual SIM (maybe only for DSDS - dual SIM dual standby?) devices you need to follow additional manual steps, otherwise the modem (and ofono) will not recognize your SIM card. See [https://gist.github.com/TravMurav/45a705f210125858ce889b06f90656d9]
 +
 
== Relevant issues ==
 
== Relevant issues ==
 
* {{github|520}} N900: integrate ofono
 
* {{github|520}} N900: integrate ofono
Line 4: Line 19:
 
* {{github|1054}} Get qualcomm modems working (at the end of the thread scintill wrote a few wrappers and made SMS on a QC modem work with a downstream kernel without userspace blobs!)
 
* {{github|1054}} Get qualcomm modems working (at the end of the thread scintill wrote a few wrappers and made SMS on a QC modem work with a downstream kernel without userspace blobs!)
 
* {{github|1314}} i9195/Qualcomm modem support (scintill's work integrated)
 
* {{github|1314}} i9195/Qualcomm modem support (scintill's work integrated)
 +
* {{issue|251|pmaports}} xiaomi-santoni: gets modem to work on the device
 +
 +
== Relevant pages ==
 +
* [[QMI]]
 +
* [[Samsung Modem]]
  
 
== See also ==
 
== See also ==
 
* Maemo Leste {{github|27|bugtracker|maemo-leste}} Call/Phone support
 
* Maemo Leste {{github|27|bugtracker|maemo-leste}} Call/Phone support
 +
 +
[[Category:Technical Reference]]

Revision as of 14:18, 24 March 2020

This is a work in progress document where a lot of information is still missing. Please help to expand this page!

Qualcomm Modems

On most Qualcomm SoCs the modem is a separate processor which lives next to the main CPU where Linux is running on. It needs to be given firmware by the host processor to start.

The procedure for getting the modem to work is generally the following:

  • Package and install the Firmware of your modem into the file system, generally the mba.* and modem.* files.
  • Install the package msm-modem-downstream or msm-modem-mainline, depending on the kernel you are using (and reboot to activate the udev rules and services).
  • Install ofono and start it using rc-service ofono start
  • You should see signs of your firmware being loaded in the dmesg.
  • You can use the ofono test scripts or ofonoctl to see if the Linux recognized your modem and if it works correctly.
  • Note, that for dual SIM (maybe only for DSDS - dual SIM dual standby?) devices you need to follow additional manual steps, otherwise the modem (and ofono) will not recognize your SIM card. See [1]

Relevant issues

  • #520 N900: integrate ofono
  • #598 Let's get the cellular modem working! (presenting various stacks, general discussion)
  • #1054 Get qualcomm modems working (at the end of the thread scintill wrote a few wrappers and made SMS on a QC modem work with a downstream kernel without userspace blobs!)
  • #1314 i9195/Qualcomm modem support (scintill's work integrated)
  • pmaports#251 xiaomi-santoni: gets modem to work on the device

Relevant pages

See also