aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-28asynchronous and deferred port detectionDan Williams
Allow plugins to perform asynchronous port detection, and to defer port detection until later. This moves the prober bits into MMPluginBase so that all plugins can take adavantage of it only when needed; the probing is not done at udev time. Furthermore, plugins like Novatel can flip the secondary ports over the AT mode through deferred detection, by deferring the secondary ports until the main port has been detected and AT$NWDMAT has been sent. This commit also finishes the port of the rest of the plugins (except mbm) over to the new port detection methods and plugin API.
2009-06-25serial-port: open port exclusivelyDan Williams
2009-06-25serial-port: if 0 bytes are read, just returnDan Williams
Otherwise, if something else is mistakenly holding the serial port open at the same time as this MMSerialPort, you get a stream of reads of size 0 and effectively hang modem-manager.
2009-06-25serial-port: print port name in debug messagesDan Williams
2009-06-20plugins: implement mm_plugin_base_get_device_ids()Dan Williams
We'll need it in more than one place, so make it generic.
2009-06-20udev: modem port refactor; convert 'hso' to udevDan Williams
Create a base MMPort class to handle both tty and net ports generically, and move plugins over to that. Also port the 'hso' plugin to udev.
2009-06-19huawei: convert to udev and new APIDan Williams
2009-06-19moto-c: rebase onto MMPluginBaseDan Williams
2009-06-19cdma: implement GetServingSystemDan Williams
2009-06-19cdma: fix up quality reportingDan Williams
2009-06-19cdma: implement GetEsn()Dan Williams
2009-06-19modem: move GetInfo from GsmCard -> Modem interfaceDan Williams
It's generic, everything implements some variant of +GMM, +GMR, and +GMI.
2009-06-19plugin: add a base class to handle modem trackingDan Williams
2009-06-19test: refactorDan Williams
2009-06-18gobi: add plugin for Qualcomm Gobi devicesDan Williams
2009-06-18core: gracefully handle SIGTERM and SIGINT by shutting down cleanlyDan Williams
2009-06-18moto-c: add plugin for Motorola C-series phones and BUSlink SCWi275uDan Williams
2009-06-18test: allow IMEI request to failDan Williams
2009-06-18generic: misc fixesDan Williams
2009-06-18plugin: bump required plugin major version for udev changesDan Williams
2009-06-18udev: move device probing and detection to udevDan Williams
Get rid of dependency on HAL, using libgudev instead. Fix up the plugin API to no longer use either HAL or udev defines, but let plugins use whatever mechanism they want for getting more information out of the device given the subsystem and device node name. Modems are now defined as "master" devices which "own" a one or more ports. A port could be a serial tty device or a network device or whatever. The plugin figures out whether it supports a given port or not and then assigns it to a new or existing modem. Modems now have a 'valid' property that should be set to TRUE when the modem has enough ports to operate correctly. For devices (ex. 'hso') that use a network device for data transfer, the modem would need to grab at least one TTY and the network device associated with that physical device to be 'valid'. Also move the generic modem support code to a plugin like other modem plugins, and change the I-support-this-device mechanism to return a number indicating the level of support. For example, the generic plugin would return a quite low number if the device indicates via probing that it can do GSM or CDMA, but a more specific plugin can indicate better support for the device, and thus the more specific plugin would win control.
2009-06-18test: fix up test program for current APIDan Williams
2009-06-09Fix a typo.Tambet Ingo
Thanks to Pablo Martí Gamboa.
2009-05-25Fix a typo.Tambet Ingo
2009-05-25Turn off carrier detection for all Huawei modems.Tambet Ingo
Find the monitoring device for Huawei modems by usb interface number.
2009-05-18Handle the case where there's no APNs set up on the card.Tambet Ingo
Based on patch from Torgny Johansson <torgny.johansson@ericsson.com>.
2009-05-14Make pending_registration_stop() accessible to inherited implementations.Tambet Ingo
2009-05-11Merge branch 'gsm-mode-cleanup'Dan Williams
2009-04-22Handle "Call setup failed" case for HSO modems to speed up error reporting.Tambet Ingo
2009-04-15gsm: clean up network modesDan Williams
Add specific modes for HSUPA and HSPA; add modes for 2G and 3G only, and update plugins to use the right modes.
2009-04-14Handle cases where HAL is not running/disappears/reappears.Tambet Ingo
2009-04-03Fix a typo.Tambet Ingo
2009-04-02Fix a typo (thanks to Torgny Johansson).Tambet Ingo
2009-04-02Implement a plugin for ZTE modems.Tambet Ingo
Contributed by Jesse Sung (jsung@novell.com).
2009-04-02Implement Nokia plugin.Tambet Ingo
2009-04-02Implement 'V1 E1' parser to work with modems which refuse to turn their echo ↵Tambet Ingo
off.
2009-04-01Fix a compilation error (with certain warning flags).Tambet Ingo
2009-03-27Fix the use of uninitialized variables.Tambet Ingo
2009-03-23Implement sending SMS messages.Tambet Ingo
Add a test program to use the newly added method.
2009-03-12Add the NM patch back. Create a directory for patches.Tambet Ingo
2009-03-02Implement MMModemNovatelCdma class for Novatel CDMA devices.Tambet Ingo
Rename MMModemNovatel to MMModemNovatelGsm.
2009-02-27Handle CDMA modems in Novatel plugin.Tambet Ingo
2009-02-26Probe HSO modems, don't trust (often incorrect) HAL modem properties.Tambet Ingo
2009-02-20Eat "^BOOT:..." messages in Huawei plugin.Tambet Ingo
2009-02-20Use cached commands for things that never change (while the card is plugged).Tambet Ingo
2009-02-20Implement cached commands.Tambet Ingo
2009-02-18Rework unsolicited message handling.Tambet Ingo
Implement registration using unsolicited messages for generic GSM class (which is disabled by default, HSO and Huawei plugins enable it). Modify all GSM modem subclasses that used unsolicited messages to use the new method.
2009-02-13Close the serial device on HUP.Tambet Ingo
2009-02-10Implement the spec correctly for DeviceAdded and DeviceRemoved signals.Tambet Ingo
2009-02-10Fix a compilation warning/error.Tambet Ingo