100 | | Install prerequisite software: |
101 | | {{{#!bash |
102 | | apt-get install gpsd gpsd-dbg gpsd-clients |
103 | | }}} |
104 | | |
105 | | Make sure the {{{/dev/ttyACM*}}} device enumeration occurs with {{{gpsd}}} running. |
106 | | |
107 | | {{{#!bash |
108 | | dmesg | grep ttyACM |
109 | | gpsd /dev/ttyACM* |
110 | | }}} |
111 | | |
112 | | Then after a fix is found (by default indicated by the blinking TIMEPULSE LED), use a {{{gpsd-client}}} program like {{{cgps}}} to view fix data. |
113 | | |
114 | | {{{#!bash |
115 | | cgps |
116 | | }}} |
117 | | |
118 | | Or read raw data from the device. |
119 | | |
120 | | {{{#!bash |
121 | | # Note if the device is also outputting binary data, directly reading the device as serial data can have unexpected behavior |
122 | | cat /dev/ttyACM* |
123 | | }}} |
| 100 | This section has been moved [wiki:/gps#gpsd here]. |