[Bug]: T-Deck Plus GPS (L76K) driver crashes/freezes shortly after initial 3D fix (Firmware 2.7.26)
Category
Other
Hardware
T-Deck
Is this bug report about any UI (https://meshtastic.org/docs/configuration/device-uis/) component firmware?
- [ ] Meshtastic UI aka MUI
- [ ] InkHUD
- [ ] BaseUI
Firmware Version
2.7.26
Description
On the LilyGo T-Deck Plus running Meshtastic firmware 2.7.26, the integrated L76K GPS module initializes correctly and receives a 3D fix (confirmed by the on-screen display showing coordinates and the number of satellites). However, shortly after the initial fix, the GPS subsystem completely crashes or freezes (similar to #4929.
Once frozen, the on-screen UI continues to display the stale data (the last known position and satellite count), but the node stops broadcasting position updates over the mesh and ignores manual position requests (Request Position via another node fails, when the location is first aquired a manual update request works). Checking the debug logs on the remote node reveals that gps_accuracy drops to 0, possibly the firmware has lost serial communication with the GPS module (NOT_COMMUNICATING), or the UART parser has entered a deadlock loop.
A hard power cycle/reboot temporarily resolves the issue until a new 3D fix is acquired, after which it freezes again within a few minutes.
After the lockup the internal system clock drifts significantly (after 30 minutes the internal clock lags about 10 minutes behind), possibly an interrupt storm by UART buffer handling (according to gemini)? The time drift corrects when connecting using an remote administrator node
Relevant log output
@JannikWilhelm, Welcome to Meshtastic! :wave:
Thanks for opening your first issue. If it's helpful, an easy way to get logs is the "Open Serial Monitor" button on the Web Flasher.
If you have ideas for features, note that we often debate big ideas in the discussions tab first. This tracker tends to be for ideas that have community consensus and a clear implementation.
We're very active on discord, especially the #firmware and #alphanauts-testing channels. If you'll be around for a while, we'd love to see you there!
Welcome to the community! :heart:
The issue report mentions a device bug related to the GPS module crashing. However, there are no logs included. Please provide device logs to help diagnose the issue. You can obtain logs using Web Flasher or the Meshtastic CLI. Also, please include key context if available, such as steps to reproduce, expected vs actual behavior, and any relevant details about the device.
logs from fresh boot until no gps sending (second node booted after the t-deck already ran, requested current location twice manually)
update: setting the broadcast interval to 5 minutes or less, disabling intelligent position/smart broadcast and setting the GPS update interval to 8 seconds (minimum possible, continuous) seems to solve the problem. So probably not the driver crashing.
This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days.
This issue has not had any comment since the last notice. It has been closed automatically. If this is incorrect, or the issue becomes relevant again, please request that it is reopened.