Closed ciobania closed 2 years ago
The no spi_device_id message is just a warning that the driver should be fixed because module autoloading won't work, but it clearly does so not sure about that one, but it's harmless.
There's no way to invert the axis in this driver, you have to use a calibration tool. Long time ago I used ts_calibrate for this, I don't know if that is still the tool to use.
As for the display going white, this usually means that the configuration has been messed up by a transmission error. Is the display connected through long wires? You can try running the display at 16MHz to see if that is indeed the problem.
I used ts_calibrate and it displays fine, I am able to click fine and it draws correctly, it follows the cursor seemingly.
I increased the gpu_mem to 128MB and it run for about 3 hours before displaying again, a white screen.
I was thinking to add some resistors on the data lines or a capacitor on the VCC and GND just in case there's noise somewhere...
If I leave the display sotting on the console, it just sits there for a long time. Is there a programatic way to empty the video memory?
I want to write some sort of test, but I don't know when the display is going white/blank. At which point in time.
If I enable debug=7 my logs will fill the disk. I wonder how come the RetroPie does not have the same issues?
The wires are standard lenght dupont cables. 5-10cm.
Hello Notro,
I am still debugging the issue with the display going full white, after 30 minutes.
Looking in dmesg, I get the following errors:
On top of that, screen is rotated 270 degrees, and touch is inverted on 0 degrees (portrait). If I use
swapxy=1
it only turns it around by 90 degrees. Is there a way to force the ads7846 overlay to force it to swap 270 degrees?