guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.49k stars 369 forks source link

Watterott RPI display, touch not working #178

Closed MasterTom99 closed 5 years ago

MasterTom99 commented 8 years ago

Sorry to open the 2nd issue within 3 days. I have problems in activating the touch of my Watterott RPI 2.8" display. I did the following:

My understanding was, that the image is preconfigured for the RPI display and this are the only steps I have to do. Did I miss something? I know the information on https://github.com/jonaslorander/OctoPiPanel, but I do not know, which of this steps have been done already in this image. Many of the information I found was not up to date. If someone can support me, I can offer to write a step-by-step guide how to activate the panel starting from the standard OctoPI installation. Maybe this can help other beginners in future ;-)

guysoft commented 8 years ago

Did not have this problem, you can try the other calibration tool that lets you tap the screen, look at xinput_calibrator: https://github.com/watterott/RPi-Display/blob/master/docu/FBTFT-Install.md#6-calibrate-touchpanel-optional sudo DISPLAY=:0 xinput_calibrator --device "ADS7846 Touchscreen" --output-type xinput

You could ask on the issue tracker of OctoPiPanel, since I never really had this problem.

MasterTom99 commented 8 years ago

In the script "calibrate-rpi-display" you can read: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate

On the Watterott page you can find: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate

If I change "event0" in the script to "touchscreen" everything is working fine.

guysoft commented 5 years ago

OctoPiPanel is legacy, closing this