[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: systemd and GPSD issue
From: |
Gary E. Miller |
Subject: |
Re: systemd and GPSD issue |
Date: |
Fri, 14 Jul 2023 23:22:40 -0700 |
Yo Charles!
Sorry. I missed your point?
Also, withot knowing your systemd(umb) configuration, no results
are quantifiable.
On Fri, 14 Jul 2023 22:18:31 -0600
Charles Curley <charlescurley@charlescurley.com> wrote:
> On Fri, 14 Jul 2023 11:18:46 -0700
> "Gary E. Miller" <gem@rellim.com> wrote:
>
> > Yo Charles!
> >
> > On Fri, 14 Jul 2023 05:46:18 -0600
> > Charles Curley <charlescurley@charlescurley.com> wrote:
>
> …
>
> > > If you plug a GPS receiver in to your system, systemd will launch
> > > an instance of gpsd.
> >
> > Uh, not by default. By default most distros wait for a gpsd client
> > before launching gpsd.
>
> Interesting. I just did the experiment. I made sure that gpsd was not
> running:
>
> root@jhegaala:~# ps aux | grep -i gps
> root 767310 0.0 0.0 6240 644 pts/4 S+ 22:03 0:00
> grep --colour=auto -i gps root@jhegaala:~#
>
>
> I then plugged my GPS receiver in, and checked again:
>
> root@jhegaala:~# ps aux | grep -i gps
> gpsd 767329 0.0 0.0 9156 2468 ? S<s 22:04 0:00
> /usr/sbin/gpsd -G root 767332 0.0 0.0 6240 716 pts/4 S+
> 22:04 0:00 grep --colour=auto -i gps root@jhegaala:~#
>
> This on Debian 11, gpsd 3.22-4.
>
> I then unplugged the receiver, and shut gpsd down. I then launched a
> gpsd client. gpsd and the client both ran, although the client didn't
> showing anything useful. I then plugged the receiver back in. The
> client started to show useful data.
>
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpioZU1DsPj5.pgp
Description: OpenPGP digital signature