Hi!
I'm sorry (and I know this discussion has been going on for a long time),but this still feels like too much of a hack.
Happy new year ... Happy new attempt...
Let's restart this discussion and focus on the main roadblock (others are minor details which can be sorted out later).
If it feels like a hack, the key issue seems to me to be the choice of the API to present the GPS data to user space. Right?
I see three reasonable options how this presentation can be done:
- char device
- tty device
- some new gps interface API (similar to network, bluetooth interfaces)
- no driver and use the UART tty directly
- some new gps interface API
- could become very elegant and general
- does not exist (AFAIK not even a plan but I am not aware of everything)
- no user-space daemons and applications exist which use it
Yes, that is what needs to be done. It is very similar problem to serial mice we used to have long time ago. (And it has pretty much same solution; exporting NMEA for gpsd, then slowly moving to system with no gpsd).
Pavel