Wiki » History » Version 4
Denis 'GNUtoo' Carikli, 10/05/2020 09:21 PM
| 1 | 1 | Denis 'GNUtoo' Carikli | h1. Wiki |
|---|---|---|---|
| 2 | |||
| 3 | h2. Introduction |
||
| 4 | |||
| 5 | As its "README":https://git.replicant.us/replicant/hardware_replicant_libsamsung-ipc/plain/README says, libsamsung-ipc is a free software implementation of the Samsung IPC modem protocol, |
||
| 6 | found in many Samsung devices. |
||
| 7 | |||
| 8 | *git:* libsamsung-ipc git is hosted in "hardware_replicant_libsamsung-ipc":https://git.replicant.us/replicant/hardware_replicant_libsamsung-ipc on the Replicant git infrastructure. |
||
| 9 | *Mailing list*: libsamsung-ipc uses "Replicant's mailing list":https://redmine.replicant.us/projects/replicant/wiki/CommunityAndContact#Mailing-list. |
||
| 10 | |||
| 11 | h3. Distributions |
||
| 12 | |||
| 13 | * It is used in Replicant |
||
| 14 | * It can probably be used in other Android distributions as well if libsamsung-ril support the Android version or RIL API in uses by other Android versions and distributions. |
||
| 15 | * In the past, it was also used by "SHR":https://en.wikipedia.org/wiki/SHR_(operating_system) and was probably also available in an external Debian repository. |
||
| 16 | * It was also used with "webos-ports":https://www.webos-ports.org/wiki/Galaxy_Nexus_Hardware_Overview for a short moment. They probably reused Samsung's nonfree implementation later on. |
||
| 17 | |||
| 18 | h3. Build systems |
||
| 19 | |||
| 20 | * It builds under Android with the Android.mk build system |
||
| 21 | * It also builds under GNU/Linux with the autotools build system. This makes it easy to package. |
||
| 22 | |||
| 23 | h3. Telephony daemons |
||
| 24 | |||
| 25 | * On Replicant it is used by libsamsung-ril which interfaces with Android's rild. Make sure to check which Android versions are supported by libsamsung-ipc to see how easy it can be used with various Android distributions other than Replicant. |
||
| 26 | * In the past it was also used with cornucopia's freesmartphone.org, a middleware written in Vala used to support various hardware features of smartphones and tablet in GNU/Linux. The vapi files were removed as they ended up not being used nor maintained anymore. |
||
| 27 | * There are out of tree patches for adding support for it in Ofono. |
||
| 28 | |||
| 29 | h3. Devices |
||
| 30 | |||
| 31 | * It supports the following devices which are currently supported by Replicant: |
||
| 32 | ** Galaxy S II (GT-I9100) |
||
| 33 | ** Galaxy S III (GT-I9300) |
||
| 34 | ** Galaxy Note (GT-N7000) |
||
| 35 | ** Galaxy Note II (GT-N7100) |
||
| 36 | ** Galaxy Nexus (GT-I9250) |
||
| 37 | ** Galaxy Tab 2 7.0 GSM (GT-P3100) |
||
| 38 | ** Galaxy Tab 2 10.1 GSM (GT-P5100) |
||
| 39 | ** Galaxy Note 8.0 GSM (GT-N5100) |
||
| 40 | * It also supports devices that are not supported anymore by Replicant: |
||
| 41 | ** Nexus S (GT-I902x) |
||
| 42 | ** Galaxy S (GT-I9000) |
||
| 43 | |||
| 44 | We also welcome patches for devices that Replicant doesn't want to support, and we will do our best to keep the code for them working. |
||
| 45 | However keep in mind that we might not want to get devices that are give too much control to the modem or don't have removable batteries. |
||
| 46 | Because of that we might rely on testers to ensure that the code continue to work. This is similar to what Linux does to ensure that the drivers keep working: |
||
| 47 | 2 | Denis 'GNUtoo' Carikli | * New patches shouldn't break exiting drivers |
| 48 | * New patches shouldn't break compilation |
||
| 49 | * Anyone can test and report regressions if there are some, so we can fix it with the help of the reporter and/or testers. |
||
| 50 | 1 | Denis 'GNUtoo' Carikli | |
| 51 | h3. Limitations |
||
| 52 | |||
| 53 | 4 | Denis 'GNUtoo' Carikli | * The protocol implementation is not 100% complete as shown in the "status of libsamsung-ril":https://redmine.replicant.us/projects/replicant/wiki/Libsamsung-ril however it's still been used daily by people using Replicant, so if there are issues, they tend to be known. Replicant has a "Telephony and mobile data section":https://redmine.replicant.us/projects/replicant/issues?v[category_id][]=99 in its bugreporting system with issues and research topics related to libsamsung-ipc. |
| 54 | 1 | Denis 'GNUtoo' Carikli | * At some point a really problematic bug appeared (some SIM cards were not recognized) but it got eventually fixed and it was in another part of the stack (libsamsung-ril). |
| 55 | * It still depends on modem kernel drivers that are not upstream. Android and GNU/Linux distributions using it were all using derivatives of vendor kernels that had the required modem drivers. |
||
| 56 | |||
| 57 | h2. Documentation |
||
| 58 | |||
| 59 | The "Replicant wiki":https://redmine.replicant.us/projects/replicant/wiki has currently most of the documentation on libsamsung-ipc. The "CellularModem":https://redmine.replicant.us/projects/replicant/wiki/CellularModem portal references most of of the modem related pages. |