I'm trying to sync PPS with GPSD using chrony but I'm getting '#?' before gps what will be the reason?
my chrony.conf file is,
# Welcome to the chrony configuration file. See chrony.conf(5) for more
# information about usable directives.
# Include configuration files found in /etc/chrony/conf.d.
confdir /etc/chrony/conf.d
# Use Debian vendor zone.
#pool 2.debian.pool.ntp.org iburst
#refclock PPS /dev/pps1 lock NMEA trust prefer
refclock SHM 0 offset 0.395 delay 0.2 refid GPS trust
#refclock SOCK /run/chrony.ttyS4.sock
refclock SOCK /run/chrony.pps1.sock refid PPS precision 1e-7 trust prefer
# Use time sources from DHCP.
sourcedir /run/chrony-dhcp
# Use NTP sources found in /etc/chrony/sources.d.
sourcedir /etc/chrony/sources.d
# This directive specify the location of the file containing ID/key pairs for
# NTP authentication.
keyfile /etc/chrony/chrony.keys
# This directive specify the file into which chronyd will store the rate
# information.
driftfile /var/lib/chrony/chrony.drift
# Save NTS keys and cookies.
ntsdumpdir /var/lib/chrony
# Uncomment the following line to turn logging on.
#log tracking measurements statistics
# Log files location.
logdir /var/log/chrony
# Stop bad estimates upsetting machine clock.
maxupdateskew 100.0
# This directive enables kernel synchronisation (every 11 minutes) of the
# real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
rtcsync
# Step the system clock instead of slewing it if the adjustment is larger than
# one second, but only in the first three clock updates.
makestep 1 3
# Get TAI-UTC offset and leap seconds from the system tz database.
# This directive must be commented out when using time sources serving
# leap-smeared time.
leapsectz right/UTC
Initially it was as follows
root@BeagleBone:~# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#- GPS 0 4 17 20 -223ms[ -223ms] +/- 103ms
#* PPS 0 4 17 18 +4406ns[-1926ns] +/- 905ns
But then after 10 to 20 seconds it is becoming like follows
root@BeagleBone:~# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#x GPS 0 4 377 12 -235ms[ -235ms] +/- 102ms
#x PPS 0 4 377 12 -31us[ -31us] +/- 1464ns
If I do gpsmon i'm getting as follows

I'm using following version-
Chrony 4.0
gpsd 3.22
ANy help will be really appriciated!