summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2010-10-01isi: Remove not needed includes for oFono headersMarcel Holtmann1-3/+0
2010-10-01isi: Private header files don't need circular inclusion protectionMarcel Holtmann1-13/+0
2010-10-01plugins: Mode fixups for copyrigh headersMarcel Holtmann7-14/+20
2010-10-01isi: Fix up the copyright headers of modem pluginsMarcel Holtmann4-52/+52
It is important that the copyright headers are consistent throughout the source code. While the copyright might be owned by different people of companies, the header itself with its license information should be identical.
2010-10-01ifx: Use XGENDATA for modem model detectionMarcel Holtmann1-12/+45
The XGENDATA result contains various strings that also contain the modem model. Make this command mandatory for the modem bringup and after it succeeded, check for the XMM6260 string to setup specific audio settings. This makes using ENV{OFONO_IFX_MODEL}="XMM6260" obsolete, but for now it is still left as a possible option. It might be removed later.
2010-09-30smart_messaging: Remove interface on atom removalAki Niemi1-0/+3
2010-09-30gisi: Remove route adding APIAki Niemi1-9/+0
2010-09-30Add udev support for ISI modemsAki Niemi4-4/+39
2010-09-30modemconf: set up isigen and n900Pekka Pessi1-8/+11
Allows basic configuration of phonet links.
2010-09-30n900: modem driver plugin for Nokia N900Pekka Pessi3-0/+1448
This patch adds a modem driver plugin for the Nokia N900 internal modem. It controls the modem using the appropriate GPIO lines and thus works without the Maemo userspace. This plugin can run natively on the N900 with either Maemo or Meego kernels. However, it conflicts with the Maemo userspace, for which isigen should be used instead.
2010-09-30isigen: generic modem driver plugin for ISIPekka Pessi1-0/+454
The new isigen modem driver plugin replaces the generic parts in the isimodem modem driver. This plugin works with recent Nokia modems in PC suite mode over USB, as well as with the N900 modem using Maemo5 userspace.
2010-09-30huawei: Add support for specific audio settingsMarcel Holtmann1-1/+5
2010-09-29huawei: Remove pointless vendor quirkMarcel Holtmann1-2/+1
2010-09-29ifx: Request firmware details on modem initMarcel Holtmann1-0/+4
The firmware details can be requested via AT+XGENDATA. So do this at modem init to have these in the logs. Currently nothing is done with this data, but eventually it can be used for modem specific settings like the audio configuration.
2010-09-28smart_messaging: Add basic skeleton implementationDenis Kenzior1-0/+114
2010-09-28smart_messaging: Add skeleton pluginDenis Kenzior1-0/+49
2010-09-29ifx: Add support for audio configuration of modemMarcel Holtmann1-1/+59
For the XMM6260 Infineon modem it is possible to use different audio configuration depending on your platform. Currently the setup of FULL_DUPLEX, BURSTMODE_48KHZ and BURSTMODE_96KHZ are supported. If appropiate values for OFONO_IFX_MODEL and OFONO_IFX_AUDIO are set in the udev rules file, then the audio configuration will be changed when bringing up the modem.
2010-09-29udev: Add support for setting IFX audio configurationMarcel Holtmann1-4/+8
This adds three more extra configuration options for IFX specific hardware setups. They are OFONO_IFX_MODEL, OFONO_IFX_AUDIO and also OFONO_IFX_LOOPBACK. An example usage would be like this: ENV{OFONO_IFX_MODEL}="XMM6260", ENV{OFONO_IFX_AUDIO}="FULL_DUPLEX" The actual supported values are not defined by the IFX modem detection code. This is up to the modem plugin to change behavior if needed.
2010-09-27calypso: update power and reset pathFrank Gau1-2/+2
2010-09-27huawei: Use specific voice call atom driverMarcel Holtmann1-1/+1
2010-09-27huawei: Move voice call init to post_sim phaseMarcel Holtmann1-4/+4
Seems like that making emergency voice calls without SIM present is not really possible. Move the voice call init to post_sim phase instead.
2010-09-27huawei: Remove voice call notifications from modem pluginMarcel Holtmann1-90/+0
2010-09-26ifx: Add warning for unknown SIM statesMarcel Holtmann1-0/+3
2010-09-25ifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1Marcel Holtmann1-1/+3
When not using none_prefix for matching the responses of AT+XSIMSTATE call, it will consume all notifications. And this includes the initial SIM state that the modem sends at that point. Without this notification the SIM will never be marked as inserted.
2010-09-25ifx: Use internal mutliplexer if line discipline is not specifiedMarcel Holtmann1-13/+70
If there is no line discipline specified for a kernel based multiplexer, then fallback to the internal one.
2010-09-25ifx: Use multiplexer line discipline configuration optionMarcel Holtmann1-6/+18
Since the udev support allows to specify a line discipline number as part of the modem configuration, use that one and report and error if it has not been set.
2010-09-25udev: Add support for setting IFX multiplexer line disciplineMarcel Holtmann1-0/+14
The IFX modem plugin uses a kernel based multiplexer. And to support different line discipline numbers on different target platforms, allow them to be specified as option: KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx", ENV{OFONO_IFX_LDISC}="23" The extra OFONO_IFX_LDISC option specifies to use line discipline 23 for the multiplexer setup. The number is just an example here and the correct one will be different.
2010-09-25ifx: Use SIM state notification for SIM insertion and removalMarcel Holtmann1-7/+39
The +XSIM notifies us about missing or removed SIM. Use that for telling the core if a SIM card is present or not. Besides that all other states are treated as when a SIM card got inserted.
2010-09-24ifx: Add support for multiplexer setupMarcel Holtmann1-29/+190
This supports a simple static multiplexer that is activated with setting the line discipline 23 on the TTY. It is static, because the DLC numbers are hardcoded.
2010-09-24ifx: Add initial modem plugin implementationMarcel Holtmann1-5/+250
This is a first attempt at the Infineon modem support. The support is limited since it doesn't handle the setup of the multiplexer or the different SIM states yet.
2010-09-24calypso: Fix debug for modem callbacksMarcel Holtmann1-5/+7
2010-09-24calypsomodem: Use better debug strings for DLCsMarcel Holtmann1-14/+9
2010-09-24Make debug handling with OFONO_AT_DEBUG a bit more consistentMarcel Holtmann13-42/+56
2010-09-21example_history: Update to the new internal APIDenis Kenzior1-13/+16
2010-09-21huawei: fix online logicKalle Valo1-24/+53
The recently introduced online support to huawei didn't work with my Huawei E1552. The problem was that with command AT+CFUN=1;+CFUN=5 the modem didn't initialise the sim state properly. To fix this I changed the logic so that CFUN=5 is called only after the sim state has switched to a valid state. Now my Huawei E1552 works with connman again. PIN locked SIMs still won't work. The problem is that it takes some time for the sim state to go to a valid state: Sep 20 15:01:57 dell-m520 ofonod[12451]: Pcui:< \r\n+CPIN: READY\r\n\r\nOK\r\n [...] Sep 20 15:02:00 dell-m520 ofonod[12451]: huawei: invalid sim state in post online (0) [...] Sep 20 15:02:01 dell-m520 ofonod[12451]: Pcui:< \r\n^SIMST:1\r\n I don't know why it takes so long to get a valid state. There is also another issue, in "cold start" case the phonebook initialisation fails: Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:> AT+CPBS=?\r Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:< \r\n+CME ERROR: SIM busy\r\n But in "warm start" it seems to work: Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:> AT+CPBS=?\r Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:< \r\n+CPBS: ("SM","EN","ON")\r\n\r\nOK\r\n I consider this as a minor issue and didn't investigate it at all.
2010-09-21huawei: poll sim stateKalle Valo1-13/+53
On my Huawei E1552 when I plug in the modem (ie. cold start) with PIN locked SIM, the sim state is 255 (HUAWEI_SIM_STATE_NOT_EXISTENT). As the modem doesn't send ^SIMST notifications, poll the sim state until it's ready. In theory it might be possible to do this better, for example follow ^BOOT notifications or something, but it's unknown what parameter we should check for.
2010-09-19hso: Enable phonebook atomYang Gu1-0/+11
2010-09-18ifx: Add skeleton for Infineon modem pluginMarcel Holtmann1-0/+85
2010-09-18udev: Add support for IFX device detectionMarcel Holtmann1-0/+33
The IFX device detection is pretty static, but instead of using a static configuration file it is important to know when the device node is actually present. For this udev is perfect. Adding a simple udev rule is all that it takes: KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx" With this rule for every TTY with the kernel name like ttyIFX0, a new modem will be added and the IFX modem plugin driver requested for it.
2010-09-15phonesim: set character set to GSMJeevaka Badrappan1-0/+2
2010-09-09zte: implement Online propertyPekka Pessi1-3/+46
2010-09-09mbm: implement Online propertyPekka Pessi1-4/+47
2010-09-09ste: implement Online propertyPekka Pessi1-3/+48
2010-09-09novatel: implement Online propertyPekka Pessi1-3/+37
2010-09-09hso: implement Online propertyPekka Pessi1-3/+38
2010-09-09huawei: implement Online propertyPekka Pessi1-7/+46
Huawei uses +CFUN=5 for offline
2010-09-09atgen: implement Online propertyPekka Pessi1-1/+46
2010-09-05huawei: Decode voice call notificationsMarcel Holtmann1-0/+90
2010-09-05huawei: Decode voice channel settingsMarcel Holtmann1-0/+20
2010-09-04huawei: Check for voice call supportMarcel Holtmann1-12/+70