Letux Kernel


You are looking at an old revision of the page GPS. This revision was created by Nikolaus Schaller.

Table of Content

How to configure and use GPS

Enable power

power on:

echo 0 >/sys/devices/virtual/gpio/gpio145/value
echo 1 >/sys/devices/virtual/gpio/gpio145/value

read device file (use 9600 baud!)

stty 9600 </dev/ttyS1
cat /dev/ttyS1

If you don't see NMEA records coming every second, give another reset impulse (each impulse appears to toggle between standby and active).

internal/external antenna detection

if the external antenna is active can be determined through

cat /sys/devices/virtual/gpio/gpio144/value  # 1=ext. ant.