doc:appunti:hardware:freerunner_debian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:freerunner_debian [2011/10/29 20:44] – [The FSO middleware] niccolo | doc:appunti:hardware:freerunner_debian [2011/11/01 07:51] – [GSM/GPRS] niccolo | ||
---|---|---|---|
Line 129: | Line 129: | ||
* **fso-deviced-openmoko** | * **fso-deviced-openmoko** | ||
* **fso-deviced** | * **fso-deviced** | ||
+ | * **fso-gsmd-openmoko** | ||
+ | * **fso-gsmd** | ||
* **mdbus2** | * **mdbus2** | ||
* **fsoraw** | * **fsoraw** | ||
Line 162: | Line 164: | ||
</ | </ | ||
+ | ==== fso-gsmd ==== | ||
+ | |||
+ | The configuration file is: | ||
+ | |||
+ | * **''/ | ||
+ | * **''/ | ||
+ | |||
+ | Man page says: //The daemon will be started automatically by DBus, once a request is send to it//; actually the daemon is started just after '' | ||
+ | |||
+ | The '' | ||
===== The Devices ===== | ===== The Devices ===== | ||
Line 175: | Line 187: | ||
==== GSM/GPRS ==== | ==== GSM/GPRS ==== | ||
- | Shuld upgrade the GSM modem firmware? Look at this page about **[[http:// | + | === Upgrading the modem firmware === |
+ | |||
+ | I don't need to upgrade the GSM modem firmware | ||
+ | |||
+ | < | ||
+ | AT+CGMR | ||
+ | +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11" | ||
+ | </ | ||
+ | |||
+ | === TCP/IP connection (GPRS) === | ||
+ | |||
+ | The TCP/IP connection is called GSM PDP (Packet Data Protocol) and it is handled by the FSO stack, the package providing this interface is **fso-gsmd**. The '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | # Conseder also the options ktune; | ||
+ | ppp_options = debug; | ||
+ | </ | ||
+ | |||
+ | === Missing ppp2fsogsmd.so === | ||
+ | |||
+ | There was the [[http:// | ||
+ | |||
+ | < | ||
+ | [INFO] | ||
+ | [INFO] | ||
+ | [WARN] | ||
+ | </ | ||
+ | |||
+ | I had to make this symlink: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | === Exploring the FSO interface === | ||
+ | |||
+ | This is the service provided by the package **fso-gsmd** and the low-level driver **fso-gsmd-openmoko**, | ||
+ | |||
+ | Making a TCP/IP connection uses the Packet Data Protocol interface. This is an example of DBus chat, using **'' | ||
+ | |||
+ | - The GSM modem gets powered-on with '' | ||
+ | - Register on the GSM network. | ||
+ | - APN, login and password are entered. | ||
+ | - Check PDP status and start the connection. | ||
+ | |||
+ | < | ||
+ | mdbus2 -s -i | ||
+ | MDBUS2> org.freesmartphone.ousaged / | ||
+ | MDBUS2> org.freesmartphone.ogsmd / | ||
+ | MDBUS2> org.freesmartphone.ogsmd | ||
+ | MDBUS2> org.freesmartphone.ogsmd / | ||
+ | (" | ||
+ | MDBUS2> org.freesmartphone.ogsmd / | ||
+ | MDBUS2> org.freesmartphone.ogsmd / | ||
+ | (" | ||
+ | MDBUS2> org.freesmartphone.ogsmd / | ||
+ | </ | ||
+ | |||
+ | FIXME: exiting '' | ||
- | FIXME Check the new **fso-abyss** package which superseed fso-gsm0710muxd, | + | === Other notes === |
- | * [[http:// | + | FIXME The following is old stuff, superceeded by FSO Cornucopia implementation. |
- | * [[http:// | + | |
- | * [[http:// | + | |
FSO provides a nice multiplexing of GSM/GPRS. Different aplications can talk to the GSM modem concurrently and place GSM calls while running a GPRS internet connection (bandwidth will be the bottleneck!). The GSM multiplexing is handled by the **fso-gsm0710muxd** package. | FSO provides a nice multiplexing of GSM/GPRS. Different aplications can talk to the GSM modem concurrently and place GSM calls while running a GPRS internet connection (bandwidth will be the bottleneck!). The GSM multiplexing is handled by the **fso-gsm0710muxd** package. | ||
Line 570: | Line 640: | ||
This is the DBus interface provided by FSO Cornucopia implementation (**'' | This is the DBus interface provided by FSO Cornucopia implementation (**'' | ||
+ | |||
+ | Here you can find current **[[http:// | ||
==== Idle notification: | ==== Idle notification: | ||
Line 595: | Line 667: | ||
Idle status is one of the following: **'' | Idle status is one of the following: **'' | ||
- | **NOTE**: to set a timeout of **'' | + | **NOTE**: to set a timeout of **'' |
+ | |||
+ | < | ||
+ | mdbus2 -s -i | ||
+ | MDBUS2> org.freesmartphone.odeviced / | ||
+ | </ | ||
+ | |||
+ | If you want to use it into a script, just make this: | ||
<code bash> | <code bash> | ||
+ | #!/bin/sh | ||
BUS=' | BUS=' | ||
IDLE_SERVICE='/ | IDLE_SERVICE='/ |
doc/appunti/hardware/freerunner_debian.txt · Last modified: 2011/11/01 15:23 by niccolo