gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘gpsinfo


From: Gary E. Miller
Subject: Re: ✘gpsinfo
Date: Sun, 14 Mar 2021 17:51:16 -0700

Yo All!

Another try:

# cat clients/gpsd-debuginfo 
#! /bin/sh

if (( $UID != 0 )); then
    echo "Please run as root"
fi

set -x
id
uname -a
cat /etc/*release
which gpsd
gpsd -V
ss -apn | fgrep :2947
ps ax | fgrep gpsd
which gpspipe
gpspipe -V
gpspipe -w -n 2
echo $PYTHONPATH
python -V
python -c "import gps;print(gps.__version__)"
python3 -V
python3 -c "import gps;print(gps.__version__)"


And the output, munged by email:

kong ~ #  clients/gpsd-debuginfo
+ id
uid=0(root) gid=0(root) 
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),18(audio),20(dialout),26(tape),27(video),408(games),410(plugdev),448(pulse-access),449(pulse-rt),450(pulse),453(input),455(realtime)
+ uname -a
Linux kong 5.11.6-gentoo #1 SMP PREEMPT Fri Mar 12 14:19:30 PST 2021 x86_64 AMD 
Ryzen 5 3600 6-Core Processor AuthenticAMD GNU/Linux
+ cat /etc/gentoo-release /etc/lsb-release /etc/os-release
Gentoo Base System release 2.7
DISTRIB_ID="Gentoo"
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/";
SUPPORT_URL="https://www.gentoo.org/support/";
BUG_REPORT_URL="https://bugs.gentoo.org/";
+ which gpsd
/usr/local/sbin/gpsd
+ gpsd -V
gpsd: 3.22.1~dev (revision release-3.22-219-g05a30dff7)
+ ss -apn
+ fgrep :2947
tcp   LISTEN    0      5                                                        
 0.0.0.0:2947                                       0.0.0.0:*      
users:(("gpsd",pid=7889,fd=3))                                                  
                                                                                
                                                                                
                                                                                
                                                                             
tcp   ESTAB     0      0                                                       
127.0.0.1:37728                                    127.0.0.1:2947   
users:(("python",pid=7895,fd=4))                                                
                                                                                
                                                                                
                                                                                
                                                                             
tcp   ESTAB     0      0                                                       
127.0.0.1:2947                                     127.0.0.1:37728  
users:(("gpsd",pid=7889,fd=7))                                                  
                                                                                
                                                                                
                                                                                
                                                                             
tcp   LISTEN    0      5                                                        
    [::]:2947                                          [::]:*      
users:(("gpsd",pid=7889,fd=4))                                                  
                                                                                
                                                                                
                                                                                
                                                                             
+ ps ax
+ fgrep gpsd
 7889 ?        S<sl   1:26 /usr/local/sbin/gpsd -nG /dev/gps0
 7895 ?        Sl     1:37 /usr/lib/python-exec/python3.9/python 
/usr/local/bin/ntploggps -l /var/log/ntpstats/gpsd
 9437 pts/1    S+     0:00 /bin/sh clients/gpsd-debuginfo
 9447 pts/1    S+     0:00 /bin/grep -F gpsd
+ which gpspipe
/usr/local/bin/gpspipe
+ gpspipe -V
gpspipe: 3.22.1~dev (revision release-3.22-219-g05a30dff7)
+ gpspipe -w -n 2
{"class":"VERSION","release":"3.22.1~dev","rev":"release-3.22-209-g4fe923df6","proto_major":3,"proto_minor":14}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/gps0","driver":"u-blox","subtype":"SW
 ROM CORE 3.01 (107888),HW 00080000","subtype1":"FWVER=SPG 
3.01,PROTVER=18.00,GPS;GLO;GAL;BDS,SBAS;IMES;QZSS","activated":"2021-03-15T00:50:07.036Z","flags":1,"native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.02}]}
+ echo /usr/local/lib/python3.9/site-packages/
/usr/local/lib/python3.9/site-packages/
+ python -V
Python 3.9.2
+ python -c 'import gps;print(gps.__version__)'
3.22.1~dev
+ python3 -V
Python 3.9.2
+ python3 -c 'import gps;print(gps.__version__)'
3.22.1~dev




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

Attachment: pgpr2BXnQnOGp.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]