Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GPS power saving causing unintentional Ethernet module shutdown #3128

Closed
drewzh opened this issue Jan 24, 2024 · 0 comments · Fixed by #3317
Closed

[Bug]: GPS power saving causing unintentional Ethernet module shutdown #3128

drewzh opened this issue Jan 24, 2024 · 0 comments · Fixed by #3317
Assignees
Labels
bug Something isn't working

Comments

@drewzh
Copy link

drewzh commented Jan 24, 2024

Category

Other

Hardware

Rak4631

Firmware Version

2.2.19.8f6a283

Description

When setting "Device GPS Enabled" in the iOS app settings to FALSE, the firmware will attempt to probe for a GPS module on startup, eventually fail, and then decide to shut down power to the IO rail, causing ALL, not just the GPS device to become inactive. In my case, this is the active Ethernet module.

An observation (and my current workaround as I don't have or want a GPS module for my base station) is setting "Device GPS Enabled" to TRUE, which results in the same probing attempts (trying different baud rates before giving up), but the logic decides to not go into power saving.

I understand from speaking to devs on Discord that the power rail shutdown is a solution to conserving power by hard-cutting the power to the GPS module, but I think this is a bit of a short-sighted approach without first checking the presence of anything else requiring power.

It would seem like a reasonable solution to either check first that nothing else is using the power rail before switching off the power or somehow regulate the power usage of the GPS module directly (I heard some chatter that this may be already happening and that the rail cut-off might be more of a legacy thing that may need re-addressing).

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants