linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GPS driver for Linux - kernel or user-space driver?
@ 2013-04-04  0:52 Tim Bird
  2013-04-04  1:06 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Bird @ 2013-04-04  0:52 UTC (permalink / raw)
  To: Greg KH; +Cc: linux kernel

I've been approached by a developer at Sony who wants to publish an
open source driver for a Sony GPS receiver module.

I've looked in the kernel source, and only see one standalone GPS
driver, for Garmin.  It appears that most GPS support in Linux is done
via user-space drivers.  Many GPS hardware modules appear to be
accessed via a serial line, or USB/serial port.  The Sony
module is pretty much the same, accepting commands and delivering
data via a uart from the chip.

I planning to recommend writing a user-space driver (based on
gpsd and/or the Android GPS HAL specification).  But I'm worried
I'm missing something.  Is this the correct approach, or is there
an established kernel API for GPS modules - such that I should
recommend that this developer writes a kernel module instead
of, or in addition to, the user-space support for the hardware?

Thanks,
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-04  7:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04  0:52 GPS driver for Linux - kernel or user-space driver? Tim Bird
2013-04-04  1:06 ` Greg KH
2013-04-04  1:12   ` Marcel Holtmann
2013-04-04  1:19     ` Greg KH
2013-04-04  1:44       ` Marcel Holtmann
2013-04-04  2:08         ` Greg KH
2013-04-04  7:33         ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).