Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Calibration file blocks Octoprint-TFT from showing  #74

Open
@wlcina

Description

I successfully installed Octopi-TFT.
I am using waveshare TFT display with its driver
git clone https://github.com/waveshare/LCD-show.git

  • After checking I found out display is not calibrated, so I executed calibration tool
cp LCD-show/xinput-calibrator_0.7.5-1_armhf.deb ~/
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
  • Running calibrator and finish calibration
    DISPLAY=:0.0 xinput_calibrator
  • I got some calibration data, I was supposed to save the calibration data to 99-clibration.conf file
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf - where I pasted them
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "259 3911 3757 156"
        Option  "SwapAxes"      "0"
EndSection

Then I reboot the device
sudo reboot
After that the Octoprint-TFT wont show, just black screen.
If I remove calibration data file 99-calibration.conf and reboot the device, Octoprint-TFT is again on the screen, but I cant use it, as the display is not calibrated.

Anyone know what I am supposed to do?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions