Open thilojaeggi opened 5 years ago
I don’t think so since you are able to use the touchscreen fine when using ts_test and ts_calibrate
Hmm docker-compose still says sonos-pi-controller | selected device is not a touchscreen I understand
What does cat /etc/ts.conf
return?
The same as yours. I just read that theres issues with pygame and raspberry pi 7 inch official touchscreen
So no bueno. Unfixable. Thanks for your help anyways.
Yeah...I’m sure there is probably a solution. It’s just going to take a lot of research and tweaking to diagnose. Hard to do without having the hardware myself. I hope you can figure it out!
Hi,
I was able to get the Sonos controller to work on the 7“ screen from a display perspective, however I have two issues: 1) the mouse coordinates does not work as they are all erratic and mainly on the top side of the screen. Calibration and testing works properly. 2) once I stop the Container the X11 environment doesn’t come up again, just a black screen.
Any ideas how to tweak the last mile? Thanks for your support and all your effort you put into this!
Hi, just wanted to say I spent some time this weekend trying to get this to work on the Official touchscreen, in the end I ended up forking your repo and making it dedicated for the touchscreen. I took the opportunity to upgrade it to use Python 3 and Pygame 2 and as such didn't need it to run in a Docker container anymore. The repo can be found at https://github.com/charlesastwood/sonos-pi-controller-official-touchscreen
I get this error when running docker-compose up -d
`pi@raspberrypi:~ $ docker-compose up -d Starting sonos-pi-controller ... error
ERROR: for sonos-pi-controller Cannot start service app: OCI runtime create fai led: container_linux.go:348: starting container process caused "process_linux.go :402: container init caused \"rootfs_linux.go:58: mounting \\"/etc/ts.conf\\" to rootfs \\"/var/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ffa968b668911b 7d4a0f1d5ab5ece5dafb1b1/merged\\" at \\"/var/lib/docker/overlay2/1c6b8b948ca23 00c9d575e17588ffa968b668911b7d4a0f1d5ab5ece5dafb1b1/merged/etc/ts.conf\\" cause d \\"not a directory\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expec ted type
ERROR: for app Cannot start service app: OCI runtime create failed: container_l inux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\"/etc/ts.conf\\" to rootfs \\"/v ar/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ffa968b668911b7d4a0f1d5ab5ece5 dafb1b1/merged\\" at \\"/var/lib/docker/overlay2/1c6b8b948ca2300c9d575e17588ff a968b668911b7d4a0f1d5ab5ece5dafb1b1/merged/etc/ts.conf\\" caused \\"not a dire ctory\\"\"": unknown: Are you trying to mount a directory onto a file (or vice- versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.`