Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-14323

mmcli cannot build up gps

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-9.2.0
    • ModemManager
    • None
    • Moderate
    • rhel-net-mgmt
    • ssg_networking
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • Hide

      Given a system administrator enabling GPS on a Fibocom FM160 modem using the ModemManager version 1.20.2-1.el9 via the mmcli command,

      When they execute the command mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea,

      Then the GPS should be enabled without any errors, and the output should confirm the successful activation of GPS, replicating the successful outcome observed when using the AT-commands AT+GTGPSPOWER=1 and AT+GTGPS

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Unit tests and integration tests are written and pass
      • The code is part of a downstream build attached to an errata
      Show
      Given a system administrator enabling GPS on a Fibocom FM160 modem using the ModemManager version 1.20.2-1.el9 via the mmcli command, When they execute the command mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea , Then the GPS should be enabled without any errors, and the output should confirm the successful activation of GPS, replicating the successful outcome observed when using the AT-commands AT+GTGPSPOWER=1 and AT+GTGPS Definition of Done: The implementation meets the acceptance criteria Unit tests and integration tests are written and pass The code is part of a downstream build attached to an errata
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Enabling gps via mmcli with the following command does not work:

       

      mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea and the following error

      appears: error: couldn't setup location gathering:

      'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.GeneralError: Couldn't enable location 'gps-raw' gathering: Couldn't start GPS engine: QMI protocol error (46): 'GeneralError''

       

      Customer is able to enable it with AT-commands it works just fine. The AT-commands are as following:

      AT+GTGPSPOWER=1

      AT+GTGPS

      Please provide the package NVR for which bug is seen:

      ModemManager-1.20.2-1.el9

      Fibocom FM160 modem from Fibocom Wireless Inc. 

      How reproducible:

      Always reproducible for customer.

      Steps to reproduce

      1.  Run command : 'mmcli -m 0 --location-enable-gps-raw --location-enable-gps-nmea '
      2. Following error/message appears : 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.GeneralError: Couldn't enable location 'gps-raw' gathering: Couldn't start GPS engine: QMI protocol error (46): 'GeneralError''

      Expected results

      Should be able to set gps via mmcli

      Actual results

      mmcli cannot build up gps and gives error stated above. 

              rh-ee-sfaye Stanislas Faye
              vpakolu Vishal Pakolu (Inactive)
              Vishal Pakolu (Inactive)
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: