meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.58k stars 890 forks source link

[Bug]: T-Deck Plus Screen Resets every 30 seconds #4939

Open LoganRickert opened 1 month ago

LoganRickert commented 1 month ago

Category

Hardware Compatibility

Hardware

T-Deck

Firmware Version

2.5.4.8d288d5 Alpha

Description

I am using a T-Deck Plus. Almost exactly every 30 seconds, the screen will turn off and back on and go back to the 'home' screen. This is annoying because if I am typing a message, the message I was typing is erased from the screen.

If I change the value of Light Sleep Interval from 30 to 300, the screen does not flash off and back on but the screen is still reset every 30 seconds.

Here is the log from the serial debug console:

INFO  | 20:31:05 201 [PowerFSM] Turning off screen
DEBUG | 20:31:05 202 [touchscreen1] action LONG PRESS(0/24693)
DEBUG | 20:31:05 202 [touchscreen1] Enter state: ON
DEBUG | 20:31:05 202 [touchscreen1] showing standard frames
DEBUG | 20:31:05 202 [touchscreen1] Showing 0 module frames
DEBUG | 20:31:05 202 [touchscreen1] Total frame count: 103
DEBUG | 20:31:05 202 [touchscreen1] Added modules.  numframes: 0
DEBUG | 20:31:05 202 [touchscreen1] Finished building frames. numframes: 5
INFO  | 20:31:05 202 [Screen] Turning on screen
DEBUG | 20:31:05 202 [Screen] Brightness is set to value: 130

This happen while both connected to USB and not connected to USB. This happens while typing and interacting and doing nothing.

I let it run for a few minutes and copied every time action LONG PRESS appears

16:49:34.667 -> DEBUG | 20:49:34 384 [touchscreen1] action LONG PRESS(0/24693)
16:49:54.682 -> DEBUG | 20:50:05 414 [touchscreen1] action LONG PRESS(0/24693)
16:50:34.700 -> DEBUG | 20:50:35 444 [touchscreen1] action LONG PRESS(0/24693)
16:50:54.717 -> DEBUG | 20:51:05 475 [touchscreen1] action LONG PRESS(0/24693)
16:51:34.710 -> DEBUG | 20:51:36 505 [touchscreen1] action LONG PRESS(0/24693)
16:51:54.715 -> DEBUG | 20:52:06 536 [touchscreen1] action LONG PRESS(0/24693)

You can observe that it appears to happen almost exactly every 30 seconds.

Thank you.

Relevant log output

INFO  | 20:31:05 201 [PowerFSM] Turning off screen
DEBUG | 20:31:05 202 [touchscreen1] action LONG PRESS(0/24693)
DEBUG | 20:31:05 202 [touchscreen1] Enter state: ON
DEBUG | 20:31:05 202 [touchscreen1] showing standard frames
DEBUG | 20:31:05 202 [touchscreen1] Showing 0 module frames
DEBUG | 20:31:05 202 [touchscreen1] Total frame count: 103
DEBUG | 20:31:05 202 [touchscreen1] Added modules.  numframes: 0
DEBUG | 20:31:05 202 [touchscreen1] Finished building frames. numframes: 5
INFO  | 20:31:05 202 [Screen] Turning on screen
DEBUG | 20:31:05 202 [Screen] Brightness is set to value: 130
LoganRickert commented 1 month ago

Spoke with my friend and his touch screen works, mine does not. It’s very possible that my touch screen is somehow broken from the factory. We’re going to try and reseat the ribbon cable and see if this fixes the issue.

369Martin369 commented 1 month ago

wifi related?

BuddyBadger commented 1 week ago

I was having the exact same issue with my T-Deck Plus. Turns out, I accidentally left the factory screen protector on the touch display. I removed it and mine is now working fine. 🤦‍♂️