Comment 3 for bug 1094138

Revision history for this message
Aleksander Morgado (aleksander-m) wrote :

ModemManager 0.6.x supports RS232 modems connected to the host through a serial-usb adapter. This patch would make those modems stop working, so I don't think this should be applied to git master or any other distro.

ModemManager shouldn't grab those tty ports for that long. The problem here is that given that the connection is through a serial<->usb converter, udev gives us information about the converter, so we can only know that the modem is a serial modem by probing the ports. The fact that it takes so long in each port is because the probing in 0.6 tries to do a lot of things on ports which may not be AT ports. In MM 0.7+ this probing in each port should really take much much less.

As for the single FTDI USB-serial converter being completely blacklisted; I think it shouldn't be.

A wise change would be to fully skip probing these ports in MM unless the user asks for it through the Scan() method. That would require to remove all the usb<->serial converters from the blacklist, and only have them probed through manually launched Scan()s, not by the initial automatic port probing.