Skip to content

Support for GNSS/GPS #39

Open
Open

Description

@qzed

Add support for GNSS.

Activity

  1. added
    A: SoC
    on Jun 28, 2022
  2. robertijtsma commented on Nov 21, 2026

    @robertijtsma

    Confirming GNSS works on Surface Pro X SQ2 (7.3.1-1-surface) directly through the Snapdragon X24 modem's Qualcomm QRTR QMI LOC service (node 0, Qmi.Service.LOC) — no extra kernel driver is required once MPSS/QRTR is up.

    Using libqrtr-glib + libqmi (GObject Introspection in Python):

    1. Open QRTR node 0 and allocate a Qmi.Service.LOC client.
    2. Call Set NMEA Types (GGA | RMC | GSA | GSV | VTG) and Register Events (Qmi.LocEventRegistrationFlag.NMEA).
    3. Start/stop the LOC session (Start with 1000 ms reporting interval / Stop) on demand when a client connects/disconnects, forwarding the incoming NMEA sentences over a local Unix socket (/run/surface-gps.sock) for gpsd / GeoClue / userspace consumers.

    Reference implementation & systemd unit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: SoC

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions