Commit Graph

247 Commits

Author SHA1 Message Date
Andrzej Zaborowski bf7afc6130 mbm: Check there's a SIM card inserted. 2010-05-12 13:46:17 -05:00
Andrzej Zaborowski 19ddfb302f mbm: Register sim toolkit atom in mbm plugin. 2010-05-12 13:44:53 -05:00
Zhenhua Zhang af976f7e52 Fix Use hashtable to record udev path
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-11 09:18:55 -05:00
Zhenhua Zhang 988750898e Fix check data device before register the modem
To avoid the race condition that modem is registered before we retrieve
the data device property.
2010-05-10 15:26:09 -05:00
Torgny Johansson 4c483acbc6 add vid/pid for Dell 5541 and 5542 2010-05-04 11:08:46 +02:00
Denis Kenzior 244ea076cc Fix: Remove easy uses of g_at_chat_shutdown 2010-04-28 17:27:33 -05:00
Zhenhua Zhang e1daf20651 mbm: Add Dell 5530 modem port suffix
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-21 12:46:47 -05:00
Denis Kenzior 1442b0af46 wavecom: Trivial comment update 2010-04-20 11:54:25 -05:00
Denis Kenzior 9d58e01d96 wavecom: Braces are not necessary 2010-04-20 11:54:25 -05:00
Matthias Günther d8e1a68264 Added Wavecom modem plugin.
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 6d28f82dc1 for details.
2010-04-20 11:54:25 -05:00
Pekka Pessi fa3501b8d2 Refactor isimodem and gisi/netlink
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi 793710d800 Parse Interface key for isimodem and n900modem 2010-04-20 17:47:16 +03:00
Denis Kenzior 92cb776fae phonesim: Disable polling in phonesim for now
Seems that polling support in phonesim is less than working
2010-04-20 09:12:43 -05:00
Denis Kenzior 53a2520ab8 Trivial: Remove extra ':' from history output 2010-04-20 09:12:43 -05:00
Denis Kenzior cc0ffd1720 Rename ofono_atmodem_poll_enable
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski 14bcca32c0 Implement STATUS polling in atmodem driver. 2010-04-15 16:49:43 -05:00
Andrzej Zaborowski b34c35d822 Add AT driver for STK atom. 2010-04-15 16:49:42 -05:00
Andrzej Zaborowski ddfe8acf11 Drivers can notify core of SIM insertion / removal
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-15 16:49:40 -05:00
Daniel Wagner 7bbbb6949c Add support for Option iCON 451 2010-04-14 03:36:24 -07:00
Denis Kenzior aadc1d884d Add support for Option iCon 452 2010-04-01 22:32:58 -05:00
Denis Kenzior 4d44103cce Update mbm to use two ports
The second port might be used for a second active context via ppp
2010-03-31 18:36:21 -05:00
Denis Kenzior 149650db8d Fix: MD300 uses two ACM ports, so set one to data 2010-03-31 18:34:32 -05:00
Denis Kenzior b046142044 Fix: Potential crash in modemconf 2010-03-31 08:22:03 -05:00
Denis Kenzior 40a2d9034d Add call-forwarding to mbm driver 2010-03-29 15:38:22 -05:00
Denis Kenzior 21dd4f040a Move erinfo notify to atmodem netreg driver 2010-03-28 23:49:57 -05:00
Denis Kenzior 8b33129bac Add phonesim vendor quirk 2010-03-26 23:00:28 -05:00
Denis Kenzior d994ed1111 Add mbm vendor 2010-03-26 23:00:28 -05:00
João Paulo Rechi Vita c0c682d5c0 huawei: use GSM permissive parser instead of V1.
With V1 parser the driver fails to detect when a SMS is successfully
sent and keeps re-trying until Max retries.
2010-03-18 16:06:07 -05:00
Yang Gu d26e71a06a Add support of Huawei EM770 modem
Comparing with general Huawei modem, EM770 is a full feature modem that
supports voicecall, phonebook, call forwarding, call barring, etc.
2010-03-16 01:33:23 -07:00
Gustavo F. Padovan 400d692e6e hfp: add watch to trigger HUP of the file descriptor 2010-02-15 16:46:17 -06:00
Gustavo F. Padovan f738a84588 hfp: remove modems if bluetoothd exits unexpectedly 2010-02-15 15:03:31 -06:00
Gustavo F. Padovan e66002bbcf hfp: remove duplicated ofono_modem_set_powered 2010-02-15 13:37:34 -06:00
Denis Kenzior 766a0bcfa5 Fix: Unregistering the agent in disable is wrong
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-12 20:10:29 -06:00
Denis Kenzior 7194bd03a0 Add hfp/ prefix to the path for HFP modems 2010-02-12 19:49:19 -06:00
Denis Kenzior 5d104529f9 Add support for alias changes 2010-02-12 18:42:48 -06:00
Denis Kenzior 8210719201 Set modem name from Bluetooth device alias 2010-02-12 18:30:03 -06:00
Denis Kenzior 546a9fdd14 Fix: Use persistent paths for hfp modems 2010-02-12 18:19:32 -06:00
Denis Kenzior e3016c3bc5 Fix: Store the modem in the uuid hash
The modem is more useful to store than the path, particularly once we
track Aliases
2010-02-12 17:57:20 -06:00
Denis Kenzior 6ec67d79ed Refactor the UUIDs property changed path 2010-02-12 17:52:55 -06:00
Denis Kenzior 9f74296c2b Don't leak user_data in send_method_call_with_reply 2010-02-12 17:51:23 -06:00
Gustavo F. Padovan 4c0790da4f hfp: Don't use Disconnect when agent was released 2010-02-12 17:35:11 -06:00
Denis Kenzior a040ca718b Keep track of adapter addresses
This will be required for peristent HFP modem path tracking.
2010-02-12 16:33:53 -06:00
Denis Kenzior a8cd42c4d5 Fix: Add free_func to send_method_call_with_reply 2010-02-12 16:30:34 -06:00
Denis Kenzior 2b9c5ee411 Fix: ofono_dbus_get_connection does not ref it 2010-02-12 16:07:13 -06:00
Denis Kenzior 103a5fdfcb Cleanup: No sense in creating the hash if failed 2010-02-12 16:05:09 -06:00
Denis Kenzior ed455645f9 Refactor: Device GetProperties handling 2010-02-12 15:44:31 -06:00
Denis Kenzior d9382dc4b2 Refactor: Use Adapter Devices property
Adapter interface ListDevices method is deprecated
2010-02-12 15:32:53 -06:00
Denis Kenzior 41a1dacae9 Fix: Use Manager's Adapters property instead
ListAdapters method on Manager interface is deprecated
2010-02-12 15:05:52 -06:00
Denis Kenzior 7a48b56ebb Add a more sophisticated GetProperties reply parser 2010-02-12 15:05:27 -06:00
Denis Kenzior d5577a393d Style: No need for this to be a function 2010-02-12 12:02:39 -06:00