On Wed, May 11, 2011 at 07:00:02AM -0700, Michael Leibowitz wrote: > On Wed, 2011-05-11 at 06:42 -0700, Samuel Ortiz wrote: > > Hi Michael, > > > > On Tue, May 10, 2011 at 09:57:08PM -0700, Michael Leibowitz wrote: > > > What is required for connman to detect a device as a GPS? I see only > > > the hh2serial_gps plugin as something that sets type to be gps, but I > > > don't see any other reference. If I wanted to get connman support for a > > > different type of GPS, do I need to create another plugin? Is there a > > > generic way? > > > The ideal way would be for the gps driver to provide a proper rfkill > > interface, in which case we could easily add a write support to our current > > rfkill code and support that out of the box. But I understand this by far > > not > > the usual case with the existing gps drivers (Kernel maintainers should no > > longer accept gps drivers without an rfkill interface, but that's another > > topic). > > Since I'm working with the GPS driver folks, I have asked that they add > an rfkill interface. Is that sufficient? Or is this an ideal future > world? It's sometime in the future because we're currently using the rfkill interface in read-only mode, i.e. for getting the rfkill events and updating our offline/online status. We'd have to write to it when being requested to turn a technology on and off. This is something we need to do, and presenting an rfkill interface from your GPS driver should be enough.
Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
