lkml.org 
[lkml]   [2008]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with delayed data from pl2303 usb serial gps
On Fri, Apr 18, 2008 at 12:16:08PM +0200, Helge Hafting wrote:
> Problem:
> I run car navigation software on linux, using a gps.
> Getting data from the gps unit in a timely fashion is important, as
> the software says thing like "turn left in 50m". That is useless however,
> if the message arrives 10s after you passed the intersection!

That sounds like a problem either in the device, or in the pl2303 chip,
or possibly, your userspace program.

As a test, enable debugging in the pl2303 driver:
modprobe pl2303 debug=1
or enable it after it is loaded with:
echo 1 > /sys/module/pl2303/parameters/debug

and run your program. Look at the timestamps in the kernel log for when
the pl2303 driver gets your data and compare it to when your userspace
program is getting them.

Let me know if you find anything we can help out with.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-04-18 17:23    [W:0.030 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site