From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: [Letux-kernel] [PATCH v5 3/5] misc serdev: Add w2sg0004 (gps receiver) power control driver
Date: Mon, 12 Feb 2018 16:25:47 +0100 [thread overview]
Message-ID: <20180212152547.GA13962@amd> (raw)
In-Reply-To: <90F9A8E4-035A-4A9E-8AAB-757491D63E69@goldelico.com>
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:
>
> 1. char device
> 2. tty device
> 3. some new gps interface API (similar to network, bluetooth interfaces)
> 4. no driver and use the UART tty directly
> 3. 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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180212/9b13e763/attachment.sig>
next prev parent reply other threads:[~2018-02-12 15:25 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 7:49 [PATCH v5 0/5] misc serdev: new serdev based driver for Wi2Wi w2sg00x4 GPS module H. Nikolaus Schaller
2017-12-01 7:49 ` [PATCH v5 1/5] dt-bindings: define vendor prefix for Wi2Wi, Inc H. Nikolaus Schaller
2017-12-01 14:44 ` Andreas Färber
2017-12-01 7:49 ` [PATCH v5 2/5] dt-bindings: gps: add w2sg00x4 bindings documentation (GPS module with UART)) H. Nikolaus Schaller
2017-12-01 7:49 ` [PATCH v5 3/5] misc serdev: Add w2sg0004 (gps receiver) power control driver H. Nikolaus Schaller
2017-12-22 12:44 ` Johan Hovold
2017-12-22 14:40 ` H. Nikolaus Schaller
2018-01-09 11:55 ` [Letux-kernel] " H. Nikolaus Schaller
2018-01-12 15:39 ` Johan Hovold
2018-01-12 17:59 ` H. Nikolaus Schaller
2018-01-18 6:13 ` Johan Hovold
2018-01-18 13:43 ` H. Nikolaus Schaller
2018-03-07 15:53 ` H. Nikolaus Schaller
2018-03-19 14:05 ` Johan Hovold
2018-02-12 15:26 ` [Letux-kernel] " Pavel Machek
2018-02-27 7:04 ` Johan Hovold
2018-02-27 7:32 ` H. Nikolaus Schaller
2018-03-19 13:54 ` Johan Hovold
2018-03-20 14:49 ` H. Nikolaus Schaller
2018-03-26 13:59 ` Pavel Machek
2018-02-27 18:38 ` Pavel Machek
2018-02-12 15:25 ` Pavel Machek [this message]
2018-01-09 17:43 ` Andreas Kemnade
2018-01-12 14:46 ` Johan Hovold
2018-01-12 18:40 ` Andreas Kemnade
2018-01-18 6:47 ` Johan Hovold
2018-03-08 6:16 ` Andreas Kemnade
2018-03-19 14:02 ` Johan Hovold
2017-12-01 7:49 ` [PATCH v5 4/5] DTS: gta04: add uart2 child node for w2sg00x4 H. Nikolaus Schaller
2017-12-21 14:53 ` Tony Lindgren
2017-12-01 7:49 ` [PATCH v5 5/5] misc serdev: w2sg0004: add debugging code and Kconfig H. Nikolaus Schaller
2017-12-22 12:51 ` Johan Hovold
2017-12-22 14:41 ` H. Nikolaus Schaller
2017-12-22 14:58 ` Greg Kroah-Hartman
2017-12-18 8:52 ` [PATCH v5 0/5] misc serdev: new serdev based driver for Wi2Wi w2sg00x4 GPS module H. Nikolaus Schaller
2017-12-18 14:48 ` Greg Kroah-Hartman
2017-12-18 14:52 ` H. Nikolaus Schaller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180212152547.GA13962@amd \
--to=pavel@ucw.cz \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).