fix: T-Deck (plus) touch TP INT behavior#327
Conversation
|
thank you for new PR! |
|
mhm! my T-Deck Plus shows different line: And manual calibration was required, result log: following is the very first, clean boot log(partially) and, next boot just after the calibration: now i'll test with actual message logs, by flashing my dump back and do dirty-flash. |
Nice. It worked perfectly :) That |
|
just done that, and it seems everything's working fine for me 🎉 while calibration was required again, as this was surely not stored in previous flash's configs. on channel with plenty of message logs(especially today as we had bit larger earthquake tonight), just my opinion, but forced first-time calibration(just like good old CE devices) will be nice for less confusing update process. i'll see how it works in more depth, with some time, and report back in a day or so. (by the way...is there actually no feature on long-press the message...? |
|
sorry that i might have spoke too soon, but there is one major issue: keyboard seems to be not working. this line also confirmed on dirty-flashed one's boot log. for a comparsion, previous flash's content(without this patch but with previous closed PR)'s bootlog was showing: quick update before i (try to) sleep: |
please check again. I've reset the I2C bus after lovyanGFX messes around with it |
|
Thank you for the fast response! tried with new commit just now, just my hunch, there may be different firmware loaded on keyboard-side ESP32C3 causing this difference. logs: As my T-Deck Plus is set to use Power Saving(may go both light/deep sleep), I'll test it for some more longer time, to see if i can find anything that's related to this PR. |
|
quick sitrep: no problem, so far so great! 🎉 that said, the "first-time calibration" will be a nice add-on improvemnt, not sure why it happened, but i think it's actually good to "forget" the previous calibration data on updating firmware, since i use this as every-day-bedside(not carry 😄 ) node, so if i notice something, i'll report them as well. |
This PR fixes the T-Deck Plus touch driver issue and re-introduces the more efficient GT911 touch driver.
During startup the following debug log information is printed: CONSTANT LOW LEVEL ON TOUCH
In case the display driver has a different configuration from the factory or OEM vendor then an attempt is made to reconfigure the GT911 driver and store the configuration persistently.
Note:
After first start the T-Deck touch display may require calibration (settings -> screen calibration) to work accurately.