[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080418152014.GA5845@kroah.com>
Date: Fri, 18 Apr 2008 08:20:14 -0700
From: Greg KH <greg@...ah.com>
To: Helge Hafting <helge.hafting@...el.hist.no>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists