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). The second choice would be to have a gps plugin using libudev and trying to be smart about detecting gps devices. If that still fails, we could have specific plugins like the hh2serial junk, which was quickly hacked as you probably guessed.
Maybe Marcel has some other plans for GPS support, but providing a generic support for devices that don't expose any generic API is going to be tricky. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
