Re: MM 0.6.0 conflicts with USB GPS device?



On 06/07/2013 06:16 PM, poma wrote:
Maybe in the very distant future, MM would not probe the serial
device at all - instead I imagine a "serial detector" software
component, that does all kind of probing and only sends signals on
the DBus about the result ("modem found at /dev/ttyUSB0", "GPS
found at /dev/ttyUSB1", "voltmeter found...").

In MM git master, USB<->RS232 adaptors are never probed by default when
detected, so there shouldn't be any direct conflict. Instead, they will
only be probed to look for modems if Scan() is called explicitly.
Are you saying that there is no more need for acrobatics[1] regarding
analog modems and UPSes connected to the serial ports or via adapters.



That should be the case, yes.

Platform RS232 ports need to be explicitly tagged with
ID_MM_PLATFORM_DRIVER_PROBE to get automatically probed; and USB devices
listed in the greylist of USB<->Serial devices won't get automatically
probed by MM, only when Scan() is called.

-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]