[PATCH] Huawei GPS support (udev activated)

David McCullough david.mccullough at accelecon.com
Fri Jul 4 05:19:31 PDT 2014


Aleksander Morgado wrote the following:
> On Fri, Jul 4, 2014 at 3:35 AM, David McCullough
> <david.mccullough at accelecon.com> wrote:
> > Ok,  posted a patch which I think does all that is needed.
> >
> > I noticed some inconsistencies when testing unmanaged mode:
> >
> > 1. gps was enabled                                    - CORRECT
> > 2. ModemManager was not tracking/reporting GPS status - CORRECT
> > 3. ModemManager still have the tty open               - ???????
> >
> > I could run cat on the tty though and see the NMEA output but i was
> > concerned that MM still had it opened.  A brief look around in MM and I
> > could not see how the unmanaged mode prevented the tty port from getting
> > opened.
> >
> > So it seemed to work,  just wanted to make sure this makes sense to you ?
> 
> 
> Just checked that patch, and actually found an error in the previous
> one which was commited.
> 
> So, with your previous patch,  the GPS port gets opened once all
> commands have been sent. But then, the GPS port is not closed (in
> gps_disabled_ready()). I already fixed that it git master.
> 
> I'll review your patch directly in the patch email.

Ah,  that makes sense,

Cheers,
Davidm

-- 
David McCullough,  david.mccullough at accelecon.com,   Ph: 0410 560 763


More information about the ModemManager-devel mailing list