Commit Graph

78 Commits

Author SHA1 Message Date
Marcel Holtmann
a5be01c0c8 udev: Report problems with the udev monitor channel 2011-07-29 14:08:28 +02:00
Marcel Holtmann
878ded6621 udev: Fix race condition with Novatel modem detection 2011-07-25 04:10:14 +02:00
Marcel Holtmann
1d303e3d38 udev: Fix interfaces numbers for Nokia data cards 2011-07-25 03:42:46 +02:00
Marcel Holtmann
28181a66ef udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM 2011-07-25 03:34:58 +02:00
Marcel Holtmann
63f1b9e9f5 udev: Remove broken Huawei support for NDIS port 2011-07-25 01:36:12 +02:00
Marcel Holtmann
235630e59c udev: Remove voice setting flag from Huawei dongles 2011-07-24 19:48:36 +02:00
Marcel Holtmann
cd2e6d201e udev: Add detection support for Samsung LTE dongles 2011-07-24 00:03:57 +02:00
Bertrand Aygon
a15e326f47 udev: add support for Huawei CDMA dongles. 2011-07-23 17:01:54 +02:00
Marcel Holtmann
43fb36d015 udev: Fix whitespace damage 2011-07-22 11:19:19 +02:00
Bertrand Aygon
f6d2a39d71 udev: add support for SpeedUp CDMA dongles. 2011-07-22 11:18:18 +02:00
Bertrand Aygon
ca62334863 udev: Add udev rules for SpeedUp modems 2011-07-06 02:01:58 -05:00
Michael Schloh von Bennewitz
a90d81e310 udev: fix detection of HP HS2330 (3607gw)
commit 6a2847f7ab introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.

Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.
2011-06-30 00:39:44 -05:00
Denis Kenzior
6a2847f7ab udev: Tweak detection rules for HP HS2330 cards 2011-06-27 12:17:22 -05:00
Amit Mendapara
13946995e1 udev: changed linktop device strings 2011-06-27 10:18:05 -05:00
Bernhard Guillon
30ccc42a97 udev: add initial Telit support 2011-06-14 04:30:50 -05:00
Gustavo F. Padovan
e312060928 udev: remove set but not used var 2011-05-20 15:06:50 -05:00
Denis Kenzior
9b1675c000 udev: Fix detection of mbm with GPS capabilities 2011-03-02 22:50:31 -06:00
Denis Kenzior
72d1a0ea5c mbm: Allow mbm modems that don't have GPS 2011-03-01 15:48:55 -06:00
Jessica Nilsson
0c0cc21b71 plugins: add u8500 to udev 2011-02-25 17:21:08 +02:00
Rafael Ignacio Zurita
a5bcf1c9b3 udev: add location-reporting device to mbm 2011-02-23 17:19:34 -06:00
Amit Mendapara
01ad21c4c0 udev: Handle Linktop data card 2011-02-14 13:48:09 -06:00
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