Set the logging configuration as tmin:tmax:dmin:dmax. Here tmin and tmax are in seconds, and dmin and dmax in meters. With dt = time since last log, dx = distance since last log, and v the current speed, the device logs if (dt > tmin and dx >= dmin and v >= vmin) or dt > tmax or dx > dmax or v > vmax If you use this option, vmin is fixed at 0 and vmax at 65535 km/h. Example. Set the device to log every 6 seconds (or 10km, whichever happens first!) Set the logging parameters for Skytraq device gpsbabel -i skytraq,configlog=6:3600:0:10000 -f /dev/ttyUSB0