GPSD difficulties xubuntu
by injijagwalaafq from LinuxQuestions.org on (#4SZ3R)
I am trying to setup gps on a ubuntu based cap pc system. I have gpsd and gpsd -clients installed via apt. I have been trying to follow these instructions. My GPS reciver is a usb device.Quote:
lsusb gives the following
Code:Bus 001 Device 006: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 007: ID 1546:01a7 U-Blox AG
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 003 Device 002: ID 0557:8021 ATEN International Co., Ltd CS1764A [CubiQ DVI KVMP Switch]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 002 Device 002: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubThis tells me that my reciver is USB007.
Attempting to run Code:stty -F /dev/USB007 ispeed 4800 && cat </dev/USB007gives the following:No such file or directory.
Running gpsd -D 5 -N -n /dev/ttyUSB007 the system says the the daemon is already running. after stopping the daemon and re running the above command it seems to execute normally. However, I am unable to run the next test command, which is telnet into the device.
So I am a couple of kinds of lost and frustrated. If there is a homer Simpson (mega idiot) proof method I am listening.
Thanks
Addendum:Quote:


| https://gpsd.gitlab.io/gpsd/installation.html |
Code:Bus 001 Device 006: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 007: ID 1546:01a7 U-Blox AG
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 003 Device 002: ID 0557:8021 ATEN International Co., Ltd CS1764A [CubiQ DVI KVMP Switch]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 002 Device 002: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubThis tells me that my reciver is USB007.
Attempting to run Code:stty -F /dev/USB007 ispeed 4800 && cat </dev/USB007gives the following:No such file or directory.
Running gpsd -D 5 -N -n /dev/ttyUSB007 the system says the the daemon is already running. after stopping the daemon and re running the above command it seems to execute normally. However, I am unable to run the next test command, which is telnet into the device.
So I am a couple of kinds of lost and frustrated. If there is a homer Simpson (mega idiot) proof method I am listening.
Thanks
Addendum:Quote:
| root@CAR-PC:/dev# systemctl stop gpsd.socket root@CAR-PC:/dev# gpsd -D 5 -N -n /dev/USB007 gpsd:INFO: launching (Version 3.15) gpsd:IO: opening IPv4 socket gpsd:IO: opening IPv6 socket gpsd:INFO: listening on port gpsd gpsd:PROG: NTP: shmat(0,0,0) succeeded, segment 0 gpsd:PROG: NTP: shmat(32769,0,0) succeeded, segment 1 gpsd:PROG: NTP: shmat(65538,0,0) succeeded, segment 2 gpsd:PROG: NTP: shmat(98307,0,0) succeeded, segment 3 gpsd:PROG: NTP: shmat(131076,0,0) succeeded, segment 4 gpsd:PROG: NTP: shmat(163845,0,0) succeeded, segment 5 gpsd:PROG: NTP: shmat(196614,0,0) succeeded, segment 6 gpsd:PROG: NTP: shmat(229383,0,0) succeeded, segment 7 gpsd:PROG: successfully connected to the DBUS system bus gpsd:PROG: shmget(0x47505344, 8936, 0666) for SHM export succeeded gpsd:PROG: shmat() for SHM export succeeded, segment 262152 gpsd:INFO: stashing device /dev/USB007 at slot 0 gpsd:INFO: opening read-only GPS data source type 0 and at '/dev/USB007' gpsd:ERROR: device open of /dev/USB007 failed: No such file or directory - retrying read-only gpsd:ERROR: read-only device open of /dev/USB007 failed: No such file or directory gpsd:ERROR: initial GPS device /dev/USB007 open failed gpsd:INFO: running with effective group ID 20 gpsd:INFO: running with effective user ID 122 gpsd:INFO: startup at 2019-10-21T23:01:24.000Z (1571698884) |