Hello,
i am trying to run the this touchscreen front end with a sainsmart32 (valdodov´s interface), using valdodov´s kernel and pimusicbox 0.6… The tft and touchscreen is working with another linux image.
after installing the image , i made an update and installed valdodov´s kernel. pimusicbox is running fine.
i used this thread to setup my system and this pip install https://github.com/9and3r/mopidy-touchscreen/archive/master.zip
the older version of pygame i had to install manually, because pip install did not find the right links …
sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 ts_test is working
modipy config:
[touchscreen]
enabled = true
screen_width = 320
screen_height = 240
cursor = true
fullscreen = false
cache_dir = $XDG_CACHE_DIR/mopidy/touchscreen
gpio = false
gpio_left = 4
gpio_right = 27
gpio_up = 22
gpio_down = 23
gpio_enter = 24
sdl_fbdev = /dev/fb1
sdl_mousdrv = TSLIB
sdl_mousedev = event0
sdl_audiodriver = disk
sdl_path_dsp = /dev/null
when i start mopidy via ssh
i got this:
INFO Starting Mopidy 1.0.7
INFO Loading config from builtin defaults
INFO Loading config from /root/.config/mopidy/mopidy.conf
INFO Loading config from command line options
INFO Disabled extension spotify_tunigo: (pyspotify 2.0.0 (/usr/local/lib/pyt hon2.7/dist-packages), Requirement.parse(‘pyspotify<1.999,>=1.9’), set([‘mopidy- spotify’]))
INFO Disabled extension gmusic: (pyasn1 0.1.8 (/usr/local/lib/python2.7/dist -packages), Requirement.parse(‘pyasn1==0.1.7’), set([‘oauth2client’]))
INFO Disabled extension spotify: pyspotify<1.999,>=1.9 required, but found p yspotify 2.0.0 at /usr/local/lib/python2.7/dist-packages
INFO Enabled extensions: stream, podcast-gpodder, mpd, http-kuechenradio, so mafm, softwaremixer, moped, musicbox_webclient, websettings, tunein, mopify, pod cast-itunes, internetarchive, touchscreen, http, podcast, alsamixer, mobile, loc al-sqlite, youtube, simple-webclient, local-whoosh, m3u, audioaddict
INFO Disabled extensions: spotify, spotify_tunigo, gmusic, scrobbler, subson ic, dirble, local, soundcloud
WARNING Found dirble configuration errors, the extension has been automatically disabled:
…CUT
…
INFO Starting Mopidy frontends: QueueManagerFrontend, TouchScreen, MpdFrontend, HttpFrontend
WARNING: You are using the SDL disk writer audio driver!
Writing to file [sdlaudio.raw].
ERROR Uncaught exception
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/mopidy/commands.py”, line 276, in run
self.start_frontends(config, frontend_classes, core)
File “/usr/local/lib/python2.7/dist-packages/mopidy/commands.py”, line 374, in start_frontends
frontend_class.start(config=config, core=core)
File “/usr/lib/python2.7/dist-packages/pykka/actor.py”, line 93, in start
obj = cls(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/mopidy_touchscreen/touch_screen.py”, line 39, in init
self.screen = pygame.display.set_mode(self.screen_size)
error: Unable to open mouse
INFO Stopping Mopidy frontends
…CUT
no gui, webinterface is working
what can i do ?
thx