Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PI-Jukebox not responding to Adafruit Capacitive TFT display #8

Open
mgeilich opened this issue Jan 29, 2017 · 14 comments
Open

PI-Jukebox not responding to Adafruit Capacitive TFT display #8

mgeilich opened this issue Jan 29, 2017 · 14 comments
Projects

Comments

@mgeilich
Copy link

When I run pi-jukebox - sudo python pi-jukebox.py - I can see the currently playing song (if mpd is playing one) in the jukebox on my TFT display, but the controls don't respond to my finger and I can't get to any of the secondary screens. The screen responds to touch otherwise, for example for scrolling a terminal window. Any ideas?

@Sined66
Copy link

Sined66 commented Feb 10, 2017

Same issue with the official 7" raspberry touchscreen display : the screen works perfectly under raspbian but I can't use it with Pi-jukebox.
Going to take a look at the source code (but I'm not a python user)...

@mgeilich
Copy link
Author

mgeilich commented Feb 10, 2017 via email

@Sined66
Copy link

Sined66 commented Feb 10, 2017

I'm just trying to get this working with sample music on the sd card, nor wifi neither lan connection to music.
Found in the settings.py that a "call" was made to a /dev/input/touchscreen which does not exists on my pi, maybe this is a clue.
Still seeking...

@Sined66
Copy link

Sined66 commented Feb 10, 2017

Installed tslib as mentioned here : http://www.impulseadventure.com/elec/rpi-install-tslib.html
Successfully tested with i2cdetect but still no /dev/input/touchscreen.
Got a /dev/input/event2 which is the touchscreen (tested by a cat and pointing finger on the display) but cannot find a way for "settings.py" to use this event2 device (after having changed in the code, of course...)

@mgeilich
Copy link
Author

mgeilich commented Feb 11, 2017 via email

@Sined66
Copy link

Sined66 commented Feb 11, 2017

Lucky you are !
Not such file for me and don't know how to have it created.

@mgeilich
Copy link
Author

mgeilich commented Feb 12, 2017 via email

@Sined66
Copy link

Sined66 commented Feb 12, 2017

Already tested without success...
Tried to test tslib (which is correctly installed) :

pi@raspberrypi:/usr/local/lib $ ts_test
/dev/touchscreen/ucb1x00: No such file or directory
pi@raspberrypi:/usr/local/lib $ ts_print
ts_open: No such file or directory
pi@raspberrypi:/usr/local/lib $ ts_calibrate
ts_open: No such file or directory

Really lost, I am...

@mgeilich
Copy link
Author

mgeilich commented Feb 12, 2017 via email

@Sined66
Copy link

Sined66 commented Feb 22, 2017

Put the mouse pointer 'on' in the code : it works (but crashing just a few lines further...).

@Sined66
Copy link

Sined66 commented Feb 23, 2017

Still debugging code in order to progress :-(

@mgeilich
Copy link
Author

mgeilich commented Feb 24, 2017 via email

@Sined66
Copy link

Sined66 commented Feb 24, 2017

Don't know, but when activating the mouse pointer, I can move it and select things from the touchscreen...

@spgarbet
Copy link

spgarbet commented Oct 20, 2017

I'm having the same problem. I got all the ts_test tools working properly, but it still doesn't seem to work. I suspect something in the TS interface for capacitive touchscreens, possibly a configuration issue.

This resolved the issue: https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/pitft-pygame-tips. It's a downgrade from 1.2.15-10+rpi1 to 1.2.15-5 for sdl

@spgarbet spgarbet mentioned this issue Oct 20, 2017
@mark-me mark-me added this to To do in Pi-Jukebox Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Pi-Jukebox
  
To do
Development

No branches or pull requests

3 participants