ISO-B / pmb-pitft

Small Python program for Pi MusicBox to use with Adafruit PiTFT - 2.8"
30 stars 17 forks source link

PITFT - Manual Calibration Error #9

Closed msdevl closed 9 years ago

msdevl commented 9 years ago

I have an problem when i want to calibrate the Touchscreen. https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/touchscreen-install-and-calibrate#manual-calibration

I use " sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate" but I get this "ts_open: No such file or directory". What is the Problem with that?

ISO-B commented 9 years ago

Did you created symlink for touchscreen? https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/touchscreen-install-and-calibrate#setting-up-the-touchscreen

msdevl commented 9 years ago

Yes, I created the symlink. With the ISO from adafruit, everything works fine :( but i don't know why when i use this: fbi -T 2 -d /dev/fb1 -noverbose -a adapiluv320x240.jpg i can see the image..

ISO-B commented 9 years ago

Do you see touchscreen interface on /dev/input/ ? ls -la /dev/input/

And also what ls -l /dev/input/touchscreen returns?

So your screen is working well, but touchscreen is not.

ISO-B commented 9 years ago

Which version of raspberry pi you are using?

Running rpi-update with sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update 4815829b3f98e1b9c2648d9643dfe993054923ce might solve problem. There is some new stuff going on on newest firmware, which causes touchscreen interface not to come up. Haven'd had time to look into it much yet.

Tested myself and its working with that command. Updated readme.

msdevl commented 9 years ago

It works!!! Thank you! This was the Solution: sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update 4815829b3f98e1b9c2648d9643dfe993054923ce