Commit Graph

57 Commits

Author SHA1 Message Date
Zhigang Li 1166ed5a3a udev: Enable Dell 5540 AGPS interface 2011-01-28 10:18:00 +01:00
Dara Spieker-Doyle 492f0629ca udev: Add nokiacdma device 2011-01-12 23:14:23 -06:00
Marcel Holtmann 1cf3b640fe udev: Add support for Sierra device detection 2011-01-10 23:12:12 -08:00
Denis Kenzior 58b053c881 udev: Minor style fix 2011-01-10 15:14:03 -06:00
Oskari Timperi 83ab76d475 udev: Handle TC65 modem 2011-01-10 15:11:48 -06:00
Marcel Holtmann c21aa148f8 udev: Add support for Qualcomm Gobi device detection 2011-01-09 06:17:26 -08:00
Aki Niemi 204aaeced0 isigen: Rename generic USB plugin to isiusb 2010-12-22 17:13:49 +02:00
Antti Paila 53bede6385 udev: Fix warning in compilation 2010-12-21 06:05:21 -08:00
Neil Jerram 29561dba93 udev: Handle calypso driver 2010-12-20 17:34:06 -06:00
Lucas De Marchi 67f78f680d plugins: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 12:55:49 -06:00
Pekka Pessi f0ba01543a udev: refactor add_isi
Gather OFONO_ISI_ADDRESS from same udev device node as OFONO_DRIVER.
2010-10-07 15:30:04 +03:00
Pekka Pessi f8f93c34a8 udev: do not use post-143 libudev features
There is no udev_device_get_property_value() in libudev version 143.
2010-10-07 15:30:01 +03:00
Marcel Holtmann 45a2077e67 udev: Track NDIS port of Huawei devices (if present) 2010-10-05 16:21:19 +02:00
Marcel Holtmann 29e09bf3b9 udev: Fix coding style 2010-10-01 16:44:26 +02:00
Pekka Pessi 951cf0eaef udev: Fix ISI address setting 2010-10-01 17:38:40 +03:00
Marcel Holtmann 7a77b292e3 ifx: Remove support for OFONO_IFX_MODEL option
The Infineon modem model is now auto-detected, so there is no longer
any need to specify it in the udev configuration rules.
2010-10-01 15:18:06 +02:00
Marcel Holtmann 004219660f udev: Include "hsi" in the subsystems to watch 2010-10-01 13:01:08 +02:00
Marcel Holtmann a73dd11a87 udev: Some minor coding style updates 2010-10-01 06:57:22 +02:00
Aki Niemi f6966a3c5e Add udev support for ISI modems 2010-09-30 11:25:48 +03:00
Marcel Holtmann 5d1b9d5925 udev: Add support for setting IFX audio configuration
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-29 07:34:22 +09:00
Marcel Holtmann d0adc058c4 udev: Add support for setting IFX multiplexer line discipline
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-25 13:12:36 +09:00
Marcel Holtmann 3443a7a177 udev: Add support for IFX device detection
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-18 22:08:41 +09:00
Marcel Holtmann bafc89a858 udev: Check for valid USB serial numbers 2010-09-04 22:51:38 +02:00
Zhenhua Zhang 2084fffed0 udev: Add check for serial before string operation
'serial' could be NULL in some case. So it need to add check before
doing string operation.
2010-08-20 10:20:39 +02:00
Marcel Holtmann d05ea32ac2 udev: Add detection for Nokia data cards 2010-08-20 02:20:37 +02:00
Marcel Holtmann 78a304de71 Fix typo in Huawei port detection 2010-08-16 14:49:54 +02:00
Marcel Holtmann 0a18997416 Add udev detection support for ZTE modems 2010-08-16 14:49:04 +02:00
Marcel Holtmann 9a72521d7b Add a little bit debug to udev modem detection 2010-07-17 14:43:29 -07:00
Zhenhua Zhang bf562fd639 huawei: Add Huawei EM770 modem support
Huawei EM770W is a 3G WCDMA modem that supports HSPA/UMTS/EDGE/GPRS/GSM
data service and WCDMA/GSM short message services. It also has voice
call capability that supports both 2G and 3G network.
2010-07-02 10:40:13 -05:00
Zhenhua Zhang 7d42e4782d huawei: Remove existing Huawei EM770 plugin 2010-07-02 10:38:59 -05:00
Denis Kenzior 71ea72adf2 udev: Fixup Huawei detection 2010-06-07 19:04:36 -05:00
Florian Steinel 5c0bdac347 udev: Add support for Huawei E176 2010-06-07 16:08:29 -05:00
Marcel Holtmann 6ab0b6f29a Fix detection of Huawei E220 and E270 modems 2010-06-06 15:51:36 -07:00
Marcel Holtmann f6d252cf04 Rename Novatel ports into Primary and Secondary 2010-06-04 19:38:05 -07:00
Marcel Holtmann 788b21cfb9 Add support for detecting second port of Novatel devices 2010-06-02 21:45:09 -07:00
Kalle Valo 6f4b3c31fd huawei: detect possible secondary device 2010-05-19 23:08:33 -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
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 149650db8d Fix: MD300 uses two ACM ports, so set one to data 2010-03-31 18:34:32 -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
Marcel Holtmann 058584e36b Use short serial number for udev detected devices 2010-01-06 14:22:40 -08:00
Denis Kenzior ee59512567 Port udev (temporarily) to the new framework 2010-01-06 15:51:01 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 57512ad924 Style: Repeat for plugins 2009-12-17 21:45:39 -06:00
Martin Xu 028dc812be New modem desc for f3607g modem in Samos platform 2009-12-09 02:37:57 -06:00
Marcel Holtmann ca5d0f9c35 Require udev-143 or later 2009-12-05 05:49:47 +01:00
Martin Xu 5cc3323cd1 Fix: handle weird Dell 5530 mbm card network name 2009-11-24 14:54:46 -06:00
Denis Kenzior d4fb6d1a8c Make HSO support detect Application & Control port 2009-11-18 18:07:10 -06:00
Denis Kenzior 911b78594e Support SonyEricsson MD300 2009-11-18 09:34:08 -06:00