diff options
author | Dan Williams <dcbw@redhat.com> | 2009-06-18 14:25:30 -0400 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-06-18 14:25:30 -0400 |
commit | 924814c101da42fcb53005691d136852653f0eae (patch) | |
tree | 0ddc83d1c16b323f2962125640fd8ef0d6a0ed55 /.gitignore | |
parent | 0555cc1824aabbdda77cf1440c4e7be4ef8cc69e (diff) |
udev: move device probing and detection to udev
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.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,3 +25,5 @@ ModemManager.pc marshallers/mm-marshal.[ch] src/modem-manager docs/spec.html +callouts/mm-modem-probe + |