On Tue 2017-06-27 00:23:14, Alexandre Belloni wrote: > On 26/06/2017 at 10:34:07 +0200, Pavel Machek wrote: > > So we currently have GPSes on serial, producing NMEA. Gpsd there may > > be good enough. But then we have different hardware, not producing > > NMEA (GPS on N900 is exposed as network packet over PHONET > > interface, there's drivers/usb/serial/garmin_gps.c with who-knows-what > > interface)... and it would be nice to have good, "native" GPS > > interface which would work in this case. (We'd like timestamps for > > incoming data and lat/long/alt + speed in lat/long/alt + error in > > lat/long/alt sampled at the same time, at the very least). > > garmin_gps is actually not desirable and is better handled in > userspace, see: > http://wiki.openstreetmap.org/wiki/USB_Garmin_on_GNU/Linux Well, yes, you can put usb drivers in userspace. And in garmin_gps case, userspace driver currently works better than kernel one. But in case of GPS not connected on simple serial bus (USB, serial), that will mean two drivers, one in kernel, and one in userspace, and that's wrong. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html