|
From: | Chas Douglass |
Subject: | Re: GPSD not running under LINUX Mint 21.1 |
Date: | Sun, 7 May 2023 04:57:41 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
Perhaps the output of "sudo lsof -i :2947" would help?
I'm no expert, but on Ubuntu that gives:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 271u IPv6 45144 0t0 TCP
ip6-localhost:gpsd (LISTEN)
systemd 1 root 272u IPv4 40283 0t0 TCP localhost:gpsd
(LISTEN)
gpsd 2704 gpsd 4u IPv6 45144 0t0 TCP
ip6-localhost:gpsd (LISTEN)
gpsd 2704 gpsd 5u IPv4 40283 0t0 TCP localhost:gpsd
(LISTEN)
confirming that gpsd has use of that socket.
My GPS device is connected via USB and can be found as /dev/ttyACM0 through a terminal program and streams the NEMA sentences no problem, and I can use OPENCPN to read the USB data by using ACM0 as a port. Trying to use any software that needs GPSD to read the NEMA data won't work, and I cannot get GPSD to start up. Starting GPSD with either ~$gpsd or ~$sudo gpsd both yield the error "gpsd:ERROR: can't run with neither control socket nor devices". Starting GPSD with sudo gpsd -D 5 -nN /dev/ttyATM0, gives the following output:
gpsd:INFO: launching (Version 3.22)
gpsd:IO: opening IPv4 socket
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:IO: opening IPv6 socket
gpsd:ERROR: can't bind to IPv6 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:ERROR: command sockets creation failed, netlib errors -1, -1I've check processes and GPSD isn't running either. Has anyone have an idea as to why this isn't working?
I'm running with Kernel: 5.15.0-67-generic x86_64 bits at this time.
--
Jason Allen McPeak (mcpeak.jason@gmail.com)
+1 (281) 673-0865 Mobile
FCC Call sign: KG5CYH (Technician Class)
PUC Authorized to transmit 1 watt EIRP on the 2200 meter band
FCC Licenses: GROL, MROP, GMDSS operator/maintainer, RADAR endorsement
Gas/Petrochemical Operator Qualifications (OQ's) are available upon request.
Sent from MOZILLA THUNDERBIRD EMAIL 110.0.0. LINUX MINT 21.1 VERA
[Prev in Thread] | Current Thread | [Next in Thread] |