[PATCH] Huawei GPS support (udev activated)

Aleksander Morgado aleksander at aleksander.es
Thu Jul 3 07:19:58 PDT 2014


On Thu, Jul 3, 2014 at 4:12 PM, David McCullough
<david.mccullough at accelecon.com> wrote:
> Aleksander Morgado wrote the following:
>> On Wed, Jul 2, 2014 at 2:02 AM, David McCullough
>> <david.mccullough at accelecon.com> wrote:
>> >> On Mon, Jun 30, 2014 at 8:50 AM, David McCullough
>> >> <david.mccullough at accelecon.com> wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > Here is a patch to provide GPS support for Huawei modems.  This change
>> >> > tested and working on both the MU609 (3G) and MU909 (LTE) modems.
>> >> >
>> >> > There are a lot of options for configure the GPS that I have hardcoded to
>> >> > the most likely to work.  This should get you a working GPS lock.
>> >> >
>> >> > Cheers,
>> >> > Davidm
>> >> >
>> >> > Signed-off-by: David McCullough <david.mccullough at accelecon.com>
>> >> >
>> >>
>> >> Patch doesn't apply in git master; can you rebase it?
>> >
>> > Sorry about that, I tend to stick on a specific rev for a while.
>> > New patch below,
>>
>> I fixed a minor thing in your patch, just to initialize the "pflags"
>> variable in grab_port():
>>
>>     MMPortSerialAtFlag pflags = MM_PORT_SERIAL_AT_FLAG_NONE;
>
> Ah yes,  missed that :-(
>
>> Applied to git master, thanks!
>>
>> Would you also like to do the GPS unmanaged changes for Huawei?
>
> I will have a look at it.  Since the code is mostly like the option code
> I should be able to use that as an example right ?


Yes, or the Cinterion one. The logic is just to avoid opening the NMEA
tty when requesting unmanaged GPS, and that's it.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list