summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2010-05-25huawei: send a prefix with AT commandsKalle Valo1-4/+8
2010-05-25huawei: properly notify sim state to ofonoKalle Valo1-21/+23
Instead of using ofono_modem_set_powered(), use ofono_sim_inserted_notify() which is the proper way to notify about sim state changes. Now the problem is that voicecall commands fail with my Huawei E1552: ofonod[12395]: > AT+CRC=1\r ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+CLIP=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+COLP=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+CCWA=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: drivers/atmodem/voicecall.c:at_voicecall_initialized() voicecall_init: registering to notifications ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: > AT^SYSINFO\r ofonod[12395]: < \r\n^SYSINFO:0,0,0,0,255,,0\r\n\r\nOK\r\n ofonod[12395]: > AT+CGMI\r ofonod[12395]: < \r\nhuawei\r\n\r\nOK\r\n ofonod[12395]: EventChannel: < \r\n^STIN:0,0,0\r\n ofonod[12395]: > AT+CLCC\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n But as I can't make voice calls with this modem anyway, I don't worry about them right now.
2010-05-25huawei: use g_at_result_iter_skip_next()Kalle Valo1-5/+5
2010-05-25Some minor cleanups for the Huawei pluginMarcel Holtmann1-13/+14
2010-05-25huawei: follow sim state change notificationsKalle Valo1-3/+73
With Huawei E1552 I got sim busy errors when I plugged in the modem and ofono was already running: May 24 17:02:04 tukki ofonod[7619]: > AT+CRC=1\r May 24 17:02:04 tukki ofonod[7619]: < \r\n+CME ERROR: SIM busy\r\n May 24 17:02:04 tukki ofonod[7619]: > AT+CLIP=1\r May 24 17:02:04 tukki ofonod[7619]: < \r\n+CME ERROR: SIM busy\r\n Fix this by following sim state changes with ^SIMST notification and only enable modem after SIM is ready. In case SIM is already ready and we miss the notification for some reason, also use AT^SYSINFO to check the state during enable phase. Also change huawei_enable() to return -EINPROGRESS to make sure that ofono modem is not powered too early. I believe this was a bug.
2010-05-19huawei: add gprs contextKalle Valo1-1/+60
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid SIM.
2010-05-19huawei: detect possible secondary deviceKalle Valo2-22/+106
2010-05-19Add network time supportAki Niemi1-0/+84
Adding a new notify function in the netreg atom for notifying a received Network Identification and Timezone (NITZ) indication. This data is consumed via a nettime plugin, of which there is also an example.
2010-05-17Configure phonet link in usbpnmodemPekka Pessi1-0/+7
2010-05-17Use g_pn_netlink_by_modem() in usbpnmodem pluginPekka Pessi1-2/+1
2010-05-12mbm: Check there's a SIM card inserted.Andrzej Zaborowski1-4/+39
2010-05-12mbm: Register sim toolkit atom in mbm plugin.Andrzej Zaborowski1-0/+2
2010-05-11Fix Use hashtable to record udev pathZhenhua Zhang1-19/+39
Sometimes, Udev device 'remove' event could not report correct parent node of current udev_device. Current code replies on the devpath attached on the parent node to find modem and then remove it. This fix is to change the way to store the devpath info into a hashtable. So that we search hashtable to get devpath and remove the modem.
2010-05-10Fix check data device before register the modemZhenhua Zhang1-2/+3
To avoid the race condition that modem is registered before we retrieve the data device property.
2010-05-04add vid/pid for Dell 5541 and 5542Torgny Johansson1-0/+4
2010-04-28Fix: Remove easy uses of g_at_chat_shutdownDenis Kenzior8-12/+0
2010-04-21mbm: Add Dell 5530 modem port suffixZhenhua Zhang1-0/+1
Dell 5530 seems to have three tty ports labeled: "Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem" "Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem 2" "Dell Wireless 5530 HSPA Mobile Broadband Minicard GPS Port"
2010-04-20wavecom: Trivial comment updateDenis Kenzior1-2/+4
2010-04-20wavecom: Braces are not necessaryDenis Kenzior1-2/+1
2010-04-20Added Wavecom modem plugin.Matthias Günther2-0/+187
The Wavecom WMP100 is a serial based modem, however it assumes CPIN to be the final response. This requires some quirking in the sim driver. Refer to commit 6d28f82dc1ccb3de3a028a88eafb96fb001c7e61 for details.
2010-04-20Refactor isimodem and gisi/netlinkPekka Pessi1-0/+98
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20Parse Interface key for isimodem and n900modemPekka Pessi2-0/+27
2010-04-20phonesim: Disable polling in phonesim for nowDenis Kenzior1-3/+1
Seems that polling support in phonesim is less than working
2010-04-20Trivial: Remove extra ':' from history outputDenis Kenzior1-1/+1
2010-04-15Rename ofono_atmodem_poll_enableDenis Kenzior2-2/+2
This is not official oFono API
2010-04-15Implement STATUS polling in atmodem driver.Andrzej Zaborowski2-5/+8
2010-04-15Add AT driver for STK atom.Andrzej Zaborowski2-0/+5
2010-04-15Drivers can notify core of SIM insertion / removalAndrzej Zaborowski10-10/+50
Add ofono_sim_inserted_notify function to notify the core of SIM insertion / removal. Make every plugin generate a sim inserted event on start. For devices with removable card, the event should be emitted after the plugin detects such event. For devices that need to wait for SIM card initialization, they can emit this event later.
2010-04-14Add support for Option iCON 451Daniel Wagner1-0/+1
2010-04-01Add support for Option iCon 452Denis Kenzior1-0/+1
2010-03-31Update mbm to use two portsDenis Kenzior1-50/+85
The second port might be used for a second active context via ppp
2010-03-31Fix: MD300 uses two ACM ports, so set one to dataDenis Kenzior1-1/+4
2010-03-31Fix: Potential crash in modemconfDenis Kenzior1-0/+3
2010-03-29Add call-forwarding to mbm driverDenis Kenzior1-0/+2
2010-03-28Move erinfo notify to atmodem netreg driverDenis Kenzior1-23/+0
2010-03-26Add phonesim vendor quirkDenis Kenzior1-1/+2
2010-03-26Add mbm vendorDenis Kenzior1-1/+2
2010-03-18huawei: use GSM permissive parser instead of V1.João Paulo Rechi Vita1-1/+1
With V1 parser the driver fails to detect when a SMS is successfully sent and keeps re-trying until Max retries.
2010-03-16Add support of Huawei EM770 modemYang Gu3-0/+254
Comparing with general Huawei modem, EM770 is a full feature modem that supports voicecall, phonebook, call forwarding, call barring, etc.
2010-02-15hfp: add watch to trigger HUP of the file descriptorGustavo F. Padovan1-0/+10
2010-02-15hfp: remove modems if bluetoothd exits unexpectedlyGustavo F. Padovan1-2/+25
2010-02-15hfp: remove duplicated ofono_modem_set_poweredGustavo F. Padovan1-2/+0
2010-02-12Fix: Unregistering the agent in disable is wrongDenis Kenzior1-3/+5
What we really want to do here is set a flag that the agent has not been released yet. If this is the case we should send the Disconnect call on disable.
2010-02-12Add hfp/ prefix to the path for HFP modemsDenis Kenzior1-1/+2
2010-02-12Add support for alias changesDenis Kenzior1-5/+29
2010-02-12Set modem name from Bluetooth device aliasDenis Kenzior1-3/+6
2010-02-12Fix: Use persistent paths for hfp modemsDenis Kenzior1-19/+54
2010-02-12Fix: Store the modem in the uuid hashDenis Kenzior1-2/+2
The modem is more useful to store than the path, particularly once we track Aliases
2010-02-12Refactor the UUIDs property changed pathDenis Kenzior1-29/+36
2010-02-12Don't leak user_data in send_method_call_with_replyDenis Kenzior1-5/+16