doc:appunti:hardware:freerunner_debian
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:freerunner_debian [2011/10/30 08:44] – [GSM/GPRS] niccolo | doc:appunti:hardware:freerunner_debian [2011/11/01 16:23] (current) – [GSM/GPRS] niccolo | ||
|---|---|---|---|
| Line 171: | Line 171: | ||
| * **''/ | * **''/ | ||
| - | The daemon will be started automatically by DBus, once a request is send to it. | + | 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 185: | Line 186: | ||
| ==== GSM/GPRS ==== | ==== GSM/GPRS ==== | ||
| + | |||
| + | === Upgrading the modem firmware === | ||
| I don't need to upgrade the GSM modem firmware (see **[[http:// | I don't need to upgrade the GSM modem firmware (see **[[http:// | ||
| Line 191: | Line 194: | ||
| AT+CGMR | AT+CGMR | ||
| +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11" | +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11" | ||
| - | |||
| - | OK | ||
| </ | </ | ||
| - | FIXME Check the new **fso-abyss** package which superseed fso-gsm0710muxd, | + | === 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 '' |
| - | | + | |
| - | | + | |
| - | 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 | + | '' |
| - | Clicking on the GSM icon on the panel should allow to start/stop a GPRS connection. Unfortunately **I got several problems maging GPRS calls**, may be simply related to the AT commands used in dialling. I was lazy on debugging, so I resorted on self-made scripts and the traditional **'' | + | < |
| + | # Conseder also the options ktune; | ||
| + | ppp_options = debug; | ||
| + | </file> | ||
| - | < | + | === Missing ppp2fsogsmd.so === |
| - | #!/bin/sh | + | |
| - | # Don't use GSM multiplexer, | + | There was the [[http:// |
| - | killall gsm0710muxd | + | |
| - | om gsm power 1 | + | < |
| - | poff -a | + | [INFO] |
| - | pon | + | [INFO] |
| + | [WARN] | ||
| + | </code> | ||
| + | |||
| + | I had to make this symlink: | ||
| + | |||
| + | < | ||
| + | / | ||
| </ | </ | ||
| Line 218: | Line 227: | ||
| This is the service provided by the package **fso-gsmd** and the low-level driver **fso-gsmd-openmoko**, | 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. | + | Making a TCP/IP connection uses the Packet Data Protocol interface. |
| + | |||
| + | - The GSM modem gets powered-on with '' | ||
| + | - Register on the GSM network. | ||
| + | - APN, login and password | ||
| + | - Check PDP status and start the connection. | ||
| < | < | ||
| - | mdbus2 -s org.freesmartphone.ogsmd \ | + | mdbus2 -s -i |
| - | / | + | MDBUS2> |
| - | org.freesmartphone.GSM.PDP.SetCredentials internet.wind wind wind | + | MDBUS2> org.freesmartphone.ogsmd |
| + | MDBUS2> org.freesmartphone.ogsmd | ||
| + | MDBUS2> org.freesmartphone.ogsmd / | ||
| + | (" | ||
| + | MDBUS2> org.freesmartphone.ogsmd / | ||
| + | MDBUS2> org.freesmartphone.ogsmd / | ||
| + | (" | ||
| + | MDBUS2> org.freesmartphone.ogsmd / | ||
| + | MDBUS2> org.freesmartphone.ogsmd / | ||
| </ | </ | ||
| - | Then check the connection status, place a call and terminate | + | FIXME: exiting '' |
| - | < | + | === Other notes === |
| - | mdbus2 -s org.freesmartphone.ogsmd / | + | |
| - | org.freesmartphone.GSM.PDP.GetContextStatus | + | |
| - | (" | + | |
| - | ... org.freesmartphone.GSM.Network.Register | + | FIXME The following is old stuff, superceeded by FSO Cornucopia implementation. |
| - | ... org.freesmartphone.GSM.PDP.ActivateContext | + | |
| - | ... org.freesmartphone.GSM.PDP.DeactivateContext | + | |
| - | </ | + | |
| - | It fails with: | + | 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. |
| - | < | + | Clicking on the GSM icon on the panel should allow to start/stop a GPRS connection. Unfortunately **I got several problems maging GPRS calls**, may be simply related to the AT commands used in dialling. I was lazy on debugging, so I resorted on self-made scripts and the traditional **'' |
| - | [INFO] | + | |
| - | [INFO] | + | <code bash> |
| - | [WARN] | + | #!/bin/sh |
| + | # Don't use GSM multiplexer, | ||
| + | killall gsm0710muxd | ||
| + | om gsm power 1 | ||
| + | poff -a | ||
| + | pon | ||
| </ | </ | ||
| - | The data connection involves running pppd? | ||
| ==== Battery ==== | ==== Battery ==== | ||
| Line 468: | Line 488: | ||
| ==== WiFi broken in openmoko-panel-plugin ==== | ==== WiFi broken in openmoko-panel-plugin ==== | ||
| - | The **fso-deviced-openmoko** | + | The **fso-deviced-openmoko** |
| Also **'' | Also **'' | ||
| Line 648: | Line 668: | ||
| 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.1319960680.txt.gz · Last modified: by niccolo
