Commit Graph

128 Commits

Author SHA1 Message Date
Vincent Cesson 92c4b831dc udevng: Add Gemalto P-family detection
Add a new function setup, based on telit, to handle Gemalto P-family
discovery. The setup looks for USB interfaces:
application=/dev/ttyUSB2
gps=/dev/ttyUSB1
modem=/dev/ttyUSB3
2017-01-16 22:25:16 -06:00
Christophe Ronco 4b38259a6f udevng: Sierra modems use SIM driver 2017-01-10 11:26:23 -06:00
Frédéric Dalleau 3079ccad45 udevng: Detect huawei E3372 modem and pcui
When the modes are modified with AT^SETPORT="FF;12,1,16", this modem
and pcui will appear using different ids. Update the interfaces
identifier accordingly.
2016-09-29 10:59:21 -05:00
Frédéric Dalleau 1978934740 udevng: Detect huawei E3372 pcui
The huawei E3372 exposes two USB tty at /dev/ttyUSB0 and /dev/ttyUSB1
/dev/ttyUSB1 is properly detected as modem.
/dev/ttyUSB0 is the pcui.

lsusb shows 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
2016-09-29 10:58:47 -05:00
Denis Kenzior 2b64d31fbc udevng: Fixup various minor style issues 2016-05-03 11:09:24 -05:00
Martin Chaplet 4005e87923 udevng: Add support for Sierra MC73xx QMI modems
Udevng layer is changed in order to support Sierra QMI modems like
MC73cxx. Identically to Huawei modems, these modems are parsed by
setup_sierra. If QMI interface is detected, the Gobi modem driver is
selected.

Unfortunately, MC73xx chips seem to have a broken QMI UIM interface.
The qmimodem-legacy is so forced in setup function.
2016-05-03 11:06:04 -05:00
Martin Chaplet d415265a69 udevng: Improve modem properties detection
* Add driver's subsystem information (net, usb, tty, ...)
 * Improve interface number extraction by scanning also device and
 parent attributes
2016-05-03 11:04:58 -05:00
Martin Chaplet 9e50d14e40 udevng: Add usbmisc scan for QMI devices
cdc-wdm0 are now usbmisc devices
2016-05-02 10:11:24 -05:00
Dongsu Park 5d8f5228ca udevng: Support U-blox TOBY series of devices
Each modem expresses their interfaces with its own interface string,
which is composed of 3 different USB attributes:
"bInterfaceClass/bInterfaceSubClass/bInterfaceProtocol".
While the old models like LISA support only "2/2/1" for modem
interfaces, TOBY-L2 also supports an unique string for NetworkInterface
for each profile.

* low-medium throughput profile : 2/6/0
* fairly backward-compatible profile : 10/0/0
* high throughput profile : 224/1/3

Besides the condition for checking NULL for mdm/aux/net should be relaxed
a little bit.
2016-03-16 12:59:51 -05:00
Denis Kenzior 5133bd2818 udevng: Move from setup_icera to setup_ublox
As intended by 126b04
2016-03-11 14:08:18 -06:00
Dragos Tatulea 126b0424d3 plugins/udevng: ublox: set model string
Necessary for supporting the ublox TOBY L2 modem.
2016-03-10 08:03:20 -06:00
Dongsu Park 56ff134721 plugins/udevng: support the U-Blox TOBY-L2 series
The newest generation of U-Blox TOBY-L2 series can be detected with
VID 0x1546 (the same as before), and one of the following PIDs:

* "0x1146" : high throughput profile
* "0x1141" : fairly back-compatible profile
* "0x1143" : low/medium throughput profile

This patch adds detection for high throughput mode.
2016-03-09 11:23:52 -06:00
Johannes 'josch' Schauer b04fabcda3 udevng: add support for Ericsson N5321 gw 2015-07-16 14:10:41 -05:00
Kuba Pawlak 88f46a9b01 udev: add GPS port definition for HE910 2014-10-22 21:22:24 -05:00
Philip Paeps 7f29608feb udevng: add detection logic for u-blox modems 2014-07-08 08:50:20 -05:00
Philip Paeps 5cffd8af95 udevng: add detection logic for Quectel modems 2014-06-30 13:26:51 -05:00
Denis Kenzior 06598ef47c udevng: Add he910 detection logic 2013-11-25 10:55:59 -06:00
Marcel Holtmann 6df6688f61 udev: Let Huawei detection also check for cdc_wdm drivers 2012-11-25 20:00:38 +01:00
Marcel Holtmann adf93dc436 udev: Use Qualcomm Gobi driver if QMI based modem 2012-11-25 20:00:07 +01:00
Marcel Holtmann 589a8997c0 udev: Handle USB descriptors from Vodafone K5005 modem 2012-11-25 19:57:43 +01:00
Denis Kenzior 4769c59957 udevng: Fix MBM detection 2012-10-16 10:02:12 -05:00
Christopher Vogl 71cf14d5b1 udevng: rename aux port from Data to Aux for telit
Telit software user guide says:
USB AUX doesn't support any flow control method. Therefore, this port
isn't suitable for DATA service port.
We recommend this port should be used only for AT command and URC
processing.
2012-08-20 08:08:25 -05:00
Marcel Holtmann d5dc9c967d udev: Fix matching to prefer entries with VID and PID 2012-05-26 07:35:58 +02:00
Marcel Holtmann fba1efe1a5 udev: Add support for detecting Huawei QMI devices 2012-05-26 07:35:25 +02:00
Marcel Holtmann 6a62729e32 udev: Add support for detecting Gobi QMI devices 2012-05-26 07:01:42 +02:00
Marcel Holtmann f986bcbe35 udev: Add matching support for CDC WDM device nodes 2012-05-26 06:46:54 +02:00
Marcel Holtmann 897e99aceb udev: Add detection for Nokia 21M-01 modems 2012-05-25 12:35:45 +02:00
Marcel Holtmann 8fed16f541 udev: Add detection for Samsung GT-Y3300 modems 2012-05-25 12:35:25 +02:00
Marcel Holtmann aa5e661c55 udev: Extend port mapping for Icera modems 2012-05-25 12:30:40 +02:00
Marcel Holtmann 19b187a654 udev: Add detection support for Icera based devices 2012-04-06 16:19:36 +02:00
Marcel Holtmann 9abf49fa2b udev: Only detect Sierra Wireless devices with DirectIP 2012-03-21 21:17:33 -07:00
Marcel Holtmann 1a5895f428 udev: Remove empty line 2012-02-18 13:26:26 +01:00
Marcel Holtmann ef3ea60913 udev: Add support for detecting Sierra network interfaces 2012-02-18 13:18:53 +01:00
Marcel Holtmann efaf74a9fa udev: Also detect modem port of Option HSO devices 2012-02-18 13:01:42 +01:00
Marcel Holtmann 1a3752c174 udev: Detect more ports for Sierra modems 2012-02-16 19:17:40 +01:00
Marcel Holtmann 91bd71e996 udev: Add sanity check for ports on old Option devices 2012-02-16 18:36:23 +01:00
Marcel Holtmann caad8378d9 udev: Detect old Option cards without high-speed interface 2012-02-16 18:07:07 +01:00
Marcel Holtmann 5086f5f43a udev: Limit ZTE port selection to specific product identifiers 2012-01-17 10:38:07 +01:00
Marcel Holtmann d6d86ff938 udev: Keep vendor and product identifiers around 2012-01-17 10:35:23 +01:00
Marcel Holtmann f2bfaed174 udev: Add detection support for SIM COM modems 2012-01-13 04:56:02 +01:00
Guillaume Zajac de2e92fc86 udevng: Remove huaweicdma label from driver_list 2012-01-07 12:26:31 -06:00
Guillaume Zajac ba06f8e2fa udev: Simplify vendor_list for Huawei constructor
According to Huawei constructor, the port mapping is identical
for all the modems. We can decide to use GSM or CDMA drivers into
the plugin.
2012-01-06 13:43:17 -08:00
Philippe Nunes 4e2fc09083 udevng: Do only label assignment for Speedup dongles 2011-12-20 09:24:03 -08:00
Christopher Vogl 557201c2da udevng: add another driver name for telit
some telit hardware needs option driver.
2011-12-15 22:38:29 -06:00
Gustavo F. Padovan 5371c28773 udev: add a driver name for telit
telit hardware needs usbserial.
2011-10-15 17:29:10 -07:00
Marcel Holtmann c867c9f9bf plugins: Update copyright information 2011-10-10 13:39:54 -07:00
Daniel Wagner 75603a546f udev: Fix typo for Huawei diagnostic interfaces 2011-08-17 17:16:00 -07:00
Marcel Holtmann de8b4621c2 udev: Add automatic detection for Linktop devices 2011-08-11 15:27:33 -07:00
Marcel Holtmann 8240fe9684 udev: Detect Diagnostic (QCDM) port for Telit devices 2011-08-11 10:53:54 -07:00
Marcel Holtmann 5d6ac7342f udev: Add automatic detection for Telit modems 2011-08-11 10:40:59 -07:00
Marcel Holtmann f5c4be8160 udev: Add support for automatic ISI USB modem detection 2011-08-11 10:28:48 -07:00
Marcel Holtmann ea8e97bdc8 udev: Prepare for supporting different bus types 2011-08-11 10:03:25 -07:00
Marcel Holtmann a38231b949 udev: Remove modem object when setup procedure fails 2011-08-11 07:48:47 -07:00
Marcel Holtmann 6d9d991a39 udev: Fix typo in Option HSO setup function 2011-08-10 21:53:22 -07:00
Marcel Holtmann 3742162017 udev: Add automatic detection for Ericsson MBM based devices 2011-08-10 21:52:40 -07:00
Marcel Holtmann 7fd6d3d0ef udev: Add support for Huawei E160 based devices with only two TTY 2011-08-10 21:50:11 -07:00
Marcel Holtmann ee19210585 udev: Fix minor whitespace mistakes 2011-08-09 16:50:30 -07:00
Marcel Holtmann d79850f215 udev: Use standard modem properties for Novatel devices 2011-08-09 16:50:29 -07:00
Marcel Holtmann 1881e7c61c udev: Detect Diagnostic (QCDM) port for Huawei devices 2011-08-09 16:50:29 -07:00
Marcel Holtmann 9152d56291 udev: Detect QCDM port for ZTE devices 2011-08-09 16:50:29 -07:00
Marcel Holtmann 4c52de55b7 udev: Detect GPS and QCDM port for Gobi cards 2011-08-09 16:50:29 -07:00
Marcel Holtmann a36065bbc7 udev: Add debug output for special system attribute 2011-08-09 16:50:29 -07:00
Marcel Holtmann 549c298b61 udev: udev: Add automatic detection for Nokia data cards 2011-08-09 16:50:29 -07:00
Marcel Holtmann b27b7ff309 udev: Add automatic detection for Olive V-ME101 HSIA modem 2011-08-09 16:50:29 -07:00
Marcel Holtmann c7e43e54ed udev: Add automatic detection for Alcatel X220L 2011-08-09 16:50:29 -07:00
Marcel Holtmann a1087ef1f1 udev: Use automatic detection for all SpeedUp modems 2011-08-09 16:50:28 -07:00
Marcel Holtmann 41c8b30ce6 udev: Use semi-automatic detection for SpeedUp devices 2011-08-08 17:09:42 +02:00
Marcel Holtmann 996d720b88 udev: Use fully automatic detection for Samsung LTE devices 2011-08-07 16:35:43 +02:00
Marcel Holtmann bc63209b90 udev: Fix network interface detection for Option HSO 2011-08-06 14:12:37 +02:00
Marcel Holtmann 4cabdedafd udev: Use fully automatic detection for Option HSO devices 2011-08-06 14:06:16 +02:00
Marcel Holtmann 9ef2e27b11 udev: Add support for automatic tagging of network interfaces 2011-08-06 13:28:45 +02:00
Marcel Holtmann 3d9b547257 udev: Sort devices by interface number and not device node 2011-08-06 13:18:28 +02:00
Marcel Holtmann 19e4dc97c1 udev: Add support for default driver assignments
If devices are not tagged with OFONO_DRIVER, then the driver will be
figured out based on kernel module name, vendor and/or product IDs.

Of course the manual tagging with OFONO_DRIVER as part of an udev
rule can always overwrite the default assignment.
2011-08-06 13:08:33 +02:00
Marcel Holtmann 40cf7449fe udev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber 2011-08-06 13:07:37 +02:00
Marcel Holtmann 787f14229a udev: Prioritize labeled interfaces over discovered ones 2011-08-06 12:53:50 +02:00
Marcel Holtmann 64d90e9fa7 udev: Add warning in case channel gets disconnected 2011-08-06 12:53:50 +02:00
Denis Kenzior 52ac1749e0 udevng: Fix minor whitespace violation 2011-08-05 20:05:33 -05:00
Marcel Holtmann b337d18560 udev: Add support for cleaner modem detection 2011-08-06 03:01:23 +02:00