sonos-pi-controller icon indicating copy to clipboard operation
sonos-pi-controller copied to clipboard

Using the controller with the official RPi touchscreen

Open nm-so opened this issue 6 years ago • 1 comments

Hi @Villarrealized

I'm trying to get the controller to work with my RPi and the official RPi 7" touchscreen.

I have performed all steps in the README, but get an error when running docker-compose up -d due to /etc/ts.conf that doesn't exist. I have created it with the following content:

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi

# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if you're using a Hitachi Webpad
# module_raw mk712

# Uncomment if you're using an IBM Arctic II
# module_raw arctic2

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

This is what I have in /boot/config.txt:

dtparam=spi=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=rpi-ft5406,rotate=0,speed=32000000,fps=60

I have also changed the backlight-value from 1 to 255 in docker-compose.yml and .env.

Now, running docker-compose up -d runs without problems, but nothing happens. However, running docker-compose up (without -d) gives me

Starting sonos-pi-controller ... done
Attaching to sonos-pi-controller
sonos-pi-controller | Fatal Python error: (pygame parachute) Segmentation Fault

Do you know what is causing this?

nm-so avatar Feb 17 '19 14:02 nm-so

Hi there, sorry for the late response. Were you able to make any progress here? I know that this issue #1 ran into problems trying to get the official touchscreen to work. I have only tested it on the one mentioned in the guide.

Villarrealized avatar Feb 26 '19 22:02 Villarrealized