77-mm-usb-device-blacklist.rules - allow blacklisting various devices

Aleksander Morgado aleksander at aleksander.es
Thu Sep 4 01:10:19 PDT 2014


On Wed, Sep 3, 2014 at 6:06 PM, poma <pomidorabelisima at gmail.com> wrote:
> "56K modems - work still in progress patch"
> https://mail.gnome.org/archives/networkmanager-list/2010-August/msg00133.html
>
>   Hi!
>
>   Here's the first step in adding 56k modems capability to NetworkManager
>   through ModemManager. There's still work to do but it is a good start ;)
>
>   Let me know if this is all good :)
>
>   Regards,
>   Alex
>
>   diff -uNr ModemManager-0.4/src/Makefile.am ModemManager/src/Makefile.am
>   --- ModemManager-0.4/src/Makefile.am  2010-04-29 20:01:40.000000000 +0100
>   +++ ModemManager/src/Makefile.am      2010-08-12 10:17:24.291249721 +0100
>   @@ -90,6 +90,8 @@
>         mm-generic-cdma.h \
>         mm-generic-gsm.c \
>         mm-generic-gsm.h \
>   +     mm-generic-56k.c \
>   +     mm-generic-56k.h \
>   ...

That patch was a good start, at least defining a skeleton for the new
object, but doesn't really add much more. Plus, it's targeted at the
old <= MM 0.6.x codebase... The new codebase can have a non-broadband
object already, an object which doesn't need to inherit from
MMBroadbandModem, and therefore it can likely be written much much
easier.

One of the things that need to be handled is how to detect that a
modem is a 56k non-mobile-broadband modem. Of course, looking at the
+GCAP output should be a start (e.g. if no GSM and no CDMA caps,
assume it's a POTS modem). That would be a good start for at least USB
modems where we can detect the TTYs quickly. For older RS232 modems we
would still need an explicit Scan() call in the DBus interface if they
have to be probed through a RS232<->USB adapter.

Poma, how many 56k modems do you have? And how many of those are USB
and how many are RS232?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list