# How to get GPS high accuracy time on my laptop

**URL:** <https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312>\
**Category:** Uncategorized\
**Created:** [July 3, 2019, 12:31pm UTC](https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312 "2019-07-03T12:31:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_zsp](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@b\_zsp](https://community.ntppool.org/u/b_zsp)\
**Post date:** [July 3, 2019, 12:31pm UTC](https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312/1 "2019-07-03T12:31:11Z")

</div>

I try to add GPS module with usb as NTP server and use :  
server 127.127.28.0 noselect  
fudge 127.127.28.0 time1 0.035 refid GPS

server 127.127.28.1 prefer noselect  
fudge 127.127.28.1 refid PPS  
and start gpsd with :  
gpsd -n -D 5 /dev/ttyUSB0  
but it only has gps value and no PPS value (my device support pps). and this value has a few mileseconds delay. Dose anyone know how to get high accuracy time or pps time from my GPS module?

---

<div class="post-metadata">

**Author:** ![alica](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/alica/32/337_2.png) [@alica](https://community.ntppool.org/u/alica)\
**Post date:** [July 3, 2019, 5:31pm UTC](https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312/2 "2019-07-03T17:31:33Z")

</div>

> [@b\_zsp](#):
>
> but it only has gps value and no PPS value (my device support pps). and this value has a few mileseconds delay.

Regarding GPS time, you added the `time1` offset yourself. The correct offset number should be determined manually: first remove all `time1` setting, observe your GPS’s **constant error** (say lag behind other pool servers for about 300ms), then subtract this error as offset into config.

Regarding PPS time, what is your GPS module’s model? Some of them is merely a serial GPS module paired with USB to serial adapter in one board. If this is your case, you may need to point your GPSD to poll the USB populated serial device.

---

<div class="post-metadata">

**Author:** ![ask](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/ask/32/907_2.png) [@ask](https://community.ntppool.org/u/ask)\
**Post date:** [July 7, 2019, 10:41pm UTC](https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312/3 "2019-07-07T22:41:58Z")

</div>

> [@alica](#):
>
> Regarding PPS time, what is your GPS module’s model? Some of them is merely a serial GPS module paired with USB to serial adapter in one board. If this is your case, you may need to point your GPSD to poll the USB populated serial device.

I thought USB introduce way too much delay and jitter to do that. You need the PPS signal from the GPS wired to a GPIO (or serial port pin). (So unlikely to work on any sort of modern laptop, I imagine…)

---

<div class="post-metadata">

**Author:** ![alica](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/alica/32/337_2.png) [@alica](https://community.ntppool.org/u/alica)\
**Post date:** [July 9, 2019, 10:15am UTC](https://community.ntppool.org/t/how-to-get-gps-high-accuracy-time-on-my-laptop/1312/4 "2019-07-09T10:15:38Z")

</div>

Of course one cannot achieve below millisecond accuracy on an USB populated serial PPS device, but it is still better than nothing, especially when using laptops without network connectivity.

[https://gpsd.gitlab.io/gpsd/gpsd-time-service-howto.html#\_1pps\_quality\_issues](https://gpsd.gitlab.io/gpsd/gpsd-time-service-howto.html#_1pps_quality_issues)
