Libsamsung-ril » History » Version 14
Paul Kocialkowski, 01/29/2012 01:09 PM
1 | 6 | Denis 'GNUtoo' Carikli | h1. samsung-ril |
---|---|---|---|
2 | 1 | Paul Kocialkowski | |
3 | 6 | Denis 'GNUtoo' Carikli | The samsung ril is the library that interfaces libsamsung-ipc(see below) with the android framework. |
4 | Status per devices below: |
||
5 | 1 | Paul Kocialkowski | |
6 | 6 | Denis 'GNUtoo' Carikli | h2. Nexus S |
7 | 13 | Paul Kocialkowski | |
8 | |_. Functionality |_. Status |_. Released | |
||
9 | | Modem bootstrap | Working | replicant-2.3 0002 images | |
||
10 | | Modem transport | Working | replicant-2.3 0002 images | |
||
11 | | Modem FMT | Working | replicant-2.3 0002 images | |
||
12 | | Modem RFS | Working | replicant-2.3 0002 images | |
||
13 | | Power to Normal | Working | replicant-2.3 0002 images | |
||
14 | | Power to LPM | Broken | | |
||
15 | | RSSI infos | Working | replicant-2.3 0002 images | |
||
16 | | Icon infos | Working, code needs review | replicant-2.3 0002 images | |
||
17 | | Modem firmware infos | Working | replicant-2.3 0002 images | |
||
18 | | IMEI/IMEISV | Working, code needs cleanup | replicant-2.3 0002 images | |
||
19 | | IMSI | ? | | |
||
20 | 14 | Paul Kocialkowski | | USSD | Missing | | |
21 | 13 | Paul Kocialkowski | | SIM PIN unlock | Working | replicant-2.3 0002 images | |
22 | | SIM PIN set | Missing | | |
||
23 | | SIM I/O | Partially working: infos, contacts are OK, stored SMS I/O is not | replicant-2.3 0002 images | |
||
24 | | Network registration | Working | replicant-2.3 0002 images, works best in git | |
||
25 | | Operator strings | Working | replicant-2.3 0002 images | |
||
26 | | Network type force | ? | | |
||
27 | | SMS outgoing | Working, sometimes crashes! | replicant-2.3 0002 images | |
||
28 | | SMS incoming | Working | replicant-2.3 0002 images | |
||
29 | | Call incoming | Working | replicant-2.3 0002 images | |
||
30 | | Call outgoing | Working, but conferencing | replicant-2.3 0002 images | |
||
31 | | DTMF | Working, code needs cleanup | replicant-2.3 0002 images | |
||
32 | | Audio during calls | Working | replicant-2.3 0002 images | |
||
33 | | Audio mic mute set | Working | replicant-2.3 0002 images | |
||
34 | | Audio volume change | Working | replicant-2.3 0002 images | |
||
35 | | Audio path change | Working | replicant-2.3 0002 images | |
||
36 | | Data activation | Working, code needs cleanup | replicant-2.3 0002 images | |
||
37 | | Data deactivation | Working, code needs cleanup | git | |
||
38 | | NV read item | Working | replicant-2.3 0002 images | |
||
39 | | NV write item | Working | replicant-2.3 0002 images | |
||
40 | 6 | Denis 'GNUtoo' Carikli | |
41 | h1. libsamsung-ipc |
||
42 | |||
43 | 4 | Paul Kocialkowski | libsamsung-ipc is a free implementation of the protocol to speak with modems found in most Samsung devices. It is the low-level library used to communicate with the modem and needs an upper-layer (RIL) to interface with the system. |
44 | 1 | Paul Kocialkowski | |
45 | libsamsung-ipc is shared between SHR and Replicant projects. It's used in both for the Nexus S. |
||
46 | |||
47 | Source code is available under the GPLv3+ at: https://github.com/morphis/libsamsung-ipc (master branch). |
||
48 | |||
49 | 6 | Denis 'GNUtoo' Carikli | The library is mostly complete |
50 | 4 | Paul Kocialkowski | |
51 | h2. ipc-modemctrl |
||
52 | 1 | Paul Kocialkowski | |
53 | 5 | Denis 'GNUtoo' Carikli | ipc-modemctrl is a deprecated tool that was used at the beginning of the work for talking to the nexus S modem. It implemented basic functionalities (mostly SIM unlocking and network registration). |
54 | 1 | Paul Kocialkowski | |
55 | Usage: |
||
56 | 4 | Paul Kocialkowski | <pre> |
57 | 1 | Paul Kocialkowski | usage: ipc-modemctrl <command> |
58 | commands: |
||
59 | start bootstrap modem and start read loop |
||
60 | power-on power on the modem |
||
61 | power-off power off the modem |
||
62 | arguments: |
||
63 | 2 | Paul Kocialkowski | --debug enable debug messages |
64 | --pin=[PIN] provide SIM card PIN |
||
65 | 4 | Paul Kocialkowski | </pre> |
66 | 1 | Paul Kocialkowski | |
67 | Please run ipc-modemctrl like this (from host pc): |
||
68 | |||
69 | assuming your SIM PIN is 1234. If you don't have any SIM pin, don't pass the --pin argument. |
||
70 | |||
71 | It should go like this: |
||
72 | 11 | Paul Kocialkowski | |
73 | 4 | Paul Kocialkowski | <pre> |
74 | 1 | Paul Kocialkowski | [I] Got SIM PIN! |
75 | 11 | Paul Kocialkowski | [0] Starting modem on FMT client |
76 | [1] Starting modem_read_loop on FMT client |
||
77 | [2] Phone is powered up (LPM)! |
||
78 | 1 | Paul Kocialkowski | [I] SIM card found |
79 | [I] SIM is initializing |
||
80 | 11 | Paul Kocialkowski | [3] SIM init complete |
81 | [4] Modem is ready, requesting normal power mode |
||
82 | 1 | Paul Kocialkowski | [I] SIM card found |
83 | 2 | Paul Kocialkowski | [I] SIM is initializing |
84 | 11 | Paul Kocialkowski | [3] SIM init complete |
85 | [5] Modem is fully ready |
||
86 | 2 | Paul Kocialkowski | [I] Registered with network successfully! |
87 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
88 | 4 | Paul Kocialkowski | [I] Registered with network successfully! |
89 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
90 | 4 | Paul Kocialkowski | [I] Registered with network successfully! |
91 | 2 | Paul Kocialkowski | [I] Registered with network successfully! |
92 | 11 | Paul Kocialkowski | [6] Registered with network! Got PLMN (Mobile Network Code): '20810' |
93 | 2 | Paul Kocialkowski | [I] SIM Phone Book init complete |
94 | </pre> |
||
95 | 4 | Paul Kocialkowski | |
96 | h2. Status |
||
97 | |||
98 | 3 | Paul Kocialkowski | We were able to make the following work: |
99 | 4 | Paul Kocialkowski | * SMS (Rx/Tx) |
100 | * Call (Rx/Tx) BUT NO AUDIO YET |
||
101 | * GPRS |
||
102 | * SIM I/O (stored contacts, etc) |
||
103 | * SIM PIN unlocking |