Модуль в слоте 3.
В выводе dmesg есть все что должно быть.
В выводе команды lsmod указан модуль pps_gpio.
Ставлю gpsd, в конфиг прописываю DEVICES="/dev/ttyMOD3 /dev/pps0".
cgps показывает координаты, время, спутники - вроде бы все хорошо.
Добрый день, Perfy!
В контроллере/модуле pps-сигнал от GPS/GLONASS представлен в виде устройства ppstest /dev/pps2 (права доступа только у root, насколько я помню).
ppstest /dev/pps2
Есть подозрение, что ntpd, устанавливаемый из пакетов, не поддерживает pps вообще. Рекомендуется собирать из исходников.
# Default settings for the gpsd init script and the hotplug wrapper.
# Start the gpsd daemon automatically at boot time
START_DAEMON="true"
# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="true"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyMOD3 /dev/pps2"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-n"
/etc/ntp.conf
# Local Clock — если теряем спутники, то снижаем stratum до 10
server 127.127.1.0
fudge 127.127.1.0 stratum 10
# GPS Serial data reference
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.0 time2 0.5 refid GPS
# GPS PPS reference
server 127.127.28.2 minpoll 4 maxpoll 4 prefer
fudge 127.127.28.2 time1 0.0 time2 0.5 refid PPS
driftfile /var/lib/ntp/ntp.drift
restrict default nomodify notrust # Отдаём время всем
restrict 127.0.0.1 # Разрешаем себе всё
disable auth
Нет уверенности в правильности параметров “time2”.