Skip to content

kplex: add support for Sierra Wireless Gobi GPS#15702

Merged
neheb merged 1 commit intoopenwrt:masterfrom
dangowrt:kplex-sierra-gps-start
Jul 15, 2021
Merged

kplex: add support for Sierra Wireless Gobi GPS#15702
neheb merged 1 commit intoopenwrt:masterfrom
dangowrt:kplex-sierra-gps-start

Conversation

@dangowrt
Copy link
Copy Markdown
Member

Maintainer: @nunojpg
Compile tested: aarch64-cortexa53, mediatek/mt7622
Run tested: BananaPi BPi-R64 with Sierra Wireless EM7455, OpenWrt SNAPSHOT r16799 openwrt/openwrt@7131f5a2fb

Description:
Sierra Wireless modems need the string $GPS_START to be sent to the GPS tty device as only then the modem firmware starts emitting NMEA-0183 sentences.
Add an option 'sierragpsstart' to kplex' serial driver to support that quirk as kplex can be very useful to spread GPS data over the network while also supplying 'ugps' using a PTY, allowing for correct system time to be set automatically on boot up from GPS.

This patch is also PR'ed at the upstream project:
stripydog/kplex#54

Signed-off-by: Daniel Golle daniel@makrotopia.org

Sierra Wireless modems need the string '$GPS_START' to be sent to the
GPS tty device as only then the modem firmware starts emitting
NMEA-0183 sentences.
Add an option 'sierragpsstart' to kplex' serial driver to support that
quirk as kplex can be very useful to spread GPS data over the network
while also supplying 'ugps' using a PTY, allowing for correct system
time to be set automatically on boot up from GPS.

This patch is also PR'ed at the upstream project:
stripydog/kplex#54

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@dangowrt dangowrt force-pushed the kplex-sierra-gps-start branch from e43dfd8 to 8790d3a Compare May 28, 2021 21:57
@dangowrt dangowrt requested review from neheb and nunojpg May 28, 2021 22:01
@nunojpg
Copy link
Copy Markdown
Member

nunojpg commented May 29, 2021

We should give upstream some time to consider your pull request...

@dangowrt
Copy link
Copy Markdown
Member Author

We should give upstream some time to consider your pull request...

Sure, but that shouldn't hinder us from reviewing and testing it for inclusion in OpenWrt packages.git in the meantime. In the end, using the built-in GNSS of LTE modems with kplex is mostly relevant when using routers which contains those modems and run OpenWrt. Hence I was hoping to back the upstream PR by illustrating its usefulness downstream and also make it available for users, as upstream hasn't been active for more than 6 months it can take some time...

PS: I'm also planning to suggest a hotplug-script for kplex taking care of restarting the service in case of a relevant tty device being added.

@neheb neheb merged commit 567cd22 into openwrt:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants