Port init and GPS.

Marc Murphy marcmltd at marcm.co.uk
Sat Dec 28 14:34:02 PST 2013


I have been having a step through the initialization code for MM and specifically where it tries to enumerate the ports for the modem.

My main goal is to get the GPS recognized and used by MM.
For the Sierra device I have MC8705 it MM correctly identifies the control AT port as ttyUSB3
This is used for both modem and GPS control.  NMEA output then is generated on ttyUSB2 when a stream is available.

What I see in mm_base_modem_organize_ports()  at initialization is that there is no gps_control or gps port identified.  It has however managed to identify a secondary port ?? as far as I know the MC8705 only has 1 AT port.
There are entries for primary, secondary, data_primary, qcdm everything else is NULL.

Is there a way to specify the ports to use for a specific modem instead of allowing the auto detection ?

Kind Regards
Marc


More information about the ModemManager-devel mailing list