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

List:       kstars-devel
Subject:    Re: How Can I make Kstars read the GPS from a WWAN card?
From:       Jens Scheidtmann <jens.scheidtmann () gmail ! com>
Date:       2024-01-08 7:12:33
Message-ID: CADfVb57-xwa1EpgcEpbok1BdvdNq4PkEk-pgqWAwVfwPBpLaPw () mail ! gmail ! com
[Download RAW message or body]

Hi Rani,

using "gpsd read from pipe", this StackOverflow turns up:
https://stackoverflow.com/questions/54903967/gpsd-how-to-create-a-virtual-gps-source-with-lat-lon-as-input


HTH; Jens

Am Mo., 8. Jan. 2024 um 06:39 Uhr schrieb Jasem Mutlaq <
mutlaqja@ikarustech.com>:

> Hello Rani,
> 
> There are 2 methods that I know of:
> 
> 1. Can GPSD use this NMEA stream? If it is possible then you can then just
> use GPSD. Not sure if GPSD supports NICs.
> 2. Develop INDI driver to read and process the NMEA stream. This is a lot
> of work of course, but if the GPSD option does not work then this is the
> only option.
> --
> Best Regards,
> Jasem Mutlaq
> 
> 
> 
> On Sun, Jan 7, 2024 at 6:35 PM Rani Ahmed <ranixlb@gmail.com> wrote:
> 
> > 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™
> > 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™ 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>Hi Rani,</div><div><br></div>using &quot;gpsd read from \
pipe&quot;, this StackOverflow turns up:  <a \
href="https://stackoverflow.com/questions/54903967/gpsd-how-to-create-a-virtual-gps-so \
urce-with-lat-lon-as-input">https://stackoverflow.com/questions/54903967/gpsd-how-to-create-a-virtual-gps-source-with-lat-lon-as-input</a><div><br></div><div>HTH; \
Jens</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am \
Mo., 8. Jan. 2024 um 06:39  Uhr schrieb Jasem Mutlaq &lt;<a \
href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello \
Rani,<div><br></div><div>There are 2 methods that I know \
of:</div><div><br></div><div>1. Can GPSD use this NMEA stream? If it is possible then \
you can then just use GPSD. Not sure if GPSD supports NICs.</div><div>2. Develop INDI \
driver to read and process the NMEA stream. This is a lot of work of course, but if \
the GPSD option does not  work then this is the only option.<br clear="all"><div><div \
dir="ltr" class="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div>--</div><div>Best Regards,<br>Jasem \
Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at \
6:35 PM Rani Ahmed &lt;<a href="mailto:ranixlb@gmail.com" \
target="_blank">ranixlb@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><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>
 </blockquote></div>
</blockquote></div>



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

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