Jonas Bonn
1b28cb5cc6
udevng: hook up legacy devices
...
...and disable old udev code by shorting it out in it's init() function.
The check_device function is augmented to differentiate between USB
and serial devices:
- if the device sits on a USB bus, the device is handled as before
- if not, an attempt is made to handle the device as a serial device
2017-03-29 09:55:51 -05:00
Jonas Bonn
36be849043
udev: remove extraneous subsystem check
...
The enumeration construct is already set up with matches for these
subsystems.
2017-03-26 21:21:43 -05:00
Jonas Bonn
8c30bcf576
udev: simplify wavecom modem registration
2017-03-26 21:21:18 -05:00
Jonas Bonn
43e2be3574
udev: simplify ifx modem registration
2017-03-26 21:20:56 -05:00
Jonas Bonn
3c16db19e2
udev: add common modem registration code
...
Many of these drivers do exactly the same setup when registering
the modem. Consolidate these setup functions into common code.
2017-03-26 21:19:46 -05:00
Jonas Bonn
55a4bbf7e3
udev: simplify add_modem
...
Adding a modem boils down to finding the device in the hierarchy with
the OFONO_DRIVER property. The original code special-cased the property
being on the device itself rather than on a parent device. This patch
combines the two cases.
2017-03-26 21:17:58 -05:00
Jonas Bonn
5a2591ce4d
udev: remove unused modem property
...
The property 'Registered' is not used anywhere.
2017-03-26 20:50:50 -05:00
Jonas Bonn
428fdc7fb6
udev: get udev property via lib function
2017-03-26 20:50:36 -05:00
Jonas Bonn
0df3231f7f
udev: remove extraneous subsystem check
...
The udev-monitor already guarantees that only devices with these
subsystems will be returned so we don't need to check again.
2017-03-26 20:49:34 -05:00
Alex J Lennon
fc3f937a67
udev: Add support for ehs6 name
...
As with tc65, ehs6 makes use of cinterion plugin
2015-05-13 09:57:53 -05:00
Alex J Lennon
b31a3c2390
tc65: Replace tc65 plugin with cinterion plugin
...
On the basis that tc6x and other Cinterion devices will likely
have similar firmware requirements, provide a generic Cinterion
plugin which is functionally identical to the replaced tc65 plugin.
The udev implementation retains support for "tc65" name for
backwards compatibility, and adds support for the new "cinterion"
name.
2015-05-13 09:57:53 -05:00
Pablo Neira Ayuso
2049fb4c84
udev: add Wavecom support
...
This adds OFONO_WAVECOM_MODEL that can set in the udev rules file
to indicate the modem model, eg.
ENV{OFONO_WAVECOM_MODEL}="Q2XXX"
2012-05-31 09:45:28 -05:00
Renat Zaripov
4d388a684b
udev: Add SIMCOM SIM900 detection support
...
This allows for detection of SIM900 modem module in case
of appropriate driver specified in udev rules.
Example rule:
KERNEL=="gsmtty3", ENV{OFONO_DRIVER}="sim900"
2012-01-11 23:48:24 -06:00
Denis Kenzior
7f431e714f
udev: Use g_ascii_isalnum instead of isalnum
2012-01-11 14:31:45 -06:00
Marcel Holtmann
c867c9f9bf
plugins: Update copyright information
2011-10-10 13:39:54 -07:00
Marcel Holtmann
de8b4621c2
udev: Add automatic detection for Linktop devices
2011-08-11 15:27:33 -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
3742162017
udev: Add automatic detection for Ericsson MBM based devices
2011-08-10 21:52:40 -07:00
Marcel Holtmann
549c298b61
udev: udev: Add automatic detection for Nokia data cards
2011-08-09 16:50:29 -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
4cabdedafd
udev: Use fully automatic detection for Option HSO devices
2011-08-06 14:06:16 +02:00
Marcel Holtmann
8bb22cf740
udev: Remove outdated modem detection support
2011-08-06 03:00:35 +02:00
Marcel Holtmann
342a5bbd1a
udev: Add extra debug statements for device actions
2011-07-29 14:55:56 +02:00
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