[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    How Can I make Kstars read the GPS from a WWAN card?
From:       Rani Ahmed <ranixlb () gmail ! com>
Date:       2024-01-07 15:35:09
Message-ID: CAH+6y5C+4BCT3AQaUMTvkSb_JFfy8VfHnwFjjydNjqYmdwHvsw () mail ! gmail ! com
[Download RAW message or body]

Hello. I run Debian Linux version 12. I recently bought a WWAN card. WWAN
is short for wireless WAN. It's a 4G and 3D Internet modem and has a GPS
receiver built in the card. I am running it on my Dell laptop workstation
precision 7530.
This is the *lsusb* result of the card:

Bus 002 Device 002: ID 413c:81cc Dell Computer Corp. DW5816e Snapdragon=E2=
=84=A2 X7
LTE

the WWAN modem is shown this way by this command:

*mmcli --list-modems *
which produces this output:
    /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated]
DW5816e Snapdragon=E2=84=A2 X7 LTE

There is no /dev/ttyUSB0 or whatsoever in order to forward the GPS data to
the gpsd server so I can make kstars read gpsd.

I only can read GPS NMEA data and GPS RAW data if I issue the command to
enable the :
*mmcli -m 0 --location-enable-gps-nmea*
*mmcli -m 0 --location-enable-gps-raw*

This is the command that shows the GPS data.
*mmcli -m 0 --location-get *

example result:
 -----------
  GPS | nmea: $GPGSA,A,2,12,25,,,,,,,,,,,3.8,3.7,1.0*39
      |
$GPRMC,152923.0,A,3334.300377,N,03523.614765,E,0.0,295.0,070124,3.2,E,A*03
      |
$GPGSV,3,1,12,06,08,036,20,11,38,049,21,12,61,077,22,18,08,206,16*72
      |
$GPGSV,3,2,12,20,25,092,18,25,64,338,22,32,01,264,15,05,16,132,*77
      |       $GPGSV,3,3,12,24,18,174,,28,21,312,,29,47,278,,31,01,323,*7A
      |       $GPVTG,295.0,T,291.8,M,0.0,N,0.0,K,A*2F
      |
$GPGGA,152923.0,3334.300377,N,03523.614765,E,1,04,2.9,93.4,M,22.0,M,,*64

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hello. I run Debian Linux version 12. I recently bought a WWAN \
card. WWAN is short for wireless WAN. It&#39;s a 4G and 3D Internet modem and has a \
GPS receiver built in the card. I am running it on my Dell laptop workstation \
precision 7530.<br></div><div>This is the <i>lsusb</i> result of the \
card:<br></div><div><br></div><div>Bus 002 Device 002: ID 413c:81cc Dell Computer \
Corp. DW5816e Snapdragon™ X7 LTE</div><div><br></div><div>the WWAN modem is shown \
this way by this command:<br><i>mmcli --list-modems <br></i></div><div>which produces \
this output:<br>      /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, \
Incorporated] DW5816e Snapdragon™ X7 LTE<br></div><div><br></div><div>There is no \
/dev/ttyUSB0 or whatsoever in order to forward the GPS data to the gpsd server so I \
can make kstars read gpsd.</div><div><br></div><div>I only can read GPS NMEA data and \
GPS RAW data if I issue the command to enable the :</div><div><i>mmcli -m 0 \
--location-enable-gps-nmea</i></div><div><div><i>mmcli -m 0 \
--location-enable-gps-raw</i></div> </div><div><br></div><div>This is the command \
that shows the GPS data. <br></div><div><i>mmcli -m 0 --location-get \
</i><br></div><div><br></div><div>example result:<br>  -----------<br>   GPS | nmea: \
$GPGSA,A,2,12,25,,,,,,,,,,,3.8,3.7,1.0*39<br>         |          \
$GPRMC,152923.0,A,3334.300377,N,03523.614765,E,0.0,295.0,070124,3.2,E,A*03<br>        \
|          $GPGSV,3,1,12,06,08,036,20,11,38,049,21,12,61,077,22,18,08,206,16*72<br>   \
|          $GPGSV,3,2,12,20,25,092,18,25,64,338,22,32,01,264,15,05,16,132,*77<br>     \
|          $GPGSV,3,3,12,24,18,174,,28,21,312,,29,47,278,,31,01,323,*7A<br>         | \
$GPVTG,295.0,T,291.8,M,0.0,N,0.0,K,A*2F<br>         |          \
$GPGGA,152923.0,3334.300377,N,03523.614765,E,1,04,2.9,93.4,M,22.0,M,,*64<br></div></div>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic