I am having all sorts of problems trying to build a snap.
I’m trying to install my snap on an ubuntu server 19.10 running on RPi4 because I ran into issues supporting ALSA in the Raspian OS. I’m now getting different permission errors when running in a different OS.
The application uses several third party libraries. One such library is NeoPixel from Adafruit. The python library is getting an access denied error when trying to open /proc/device-tree/compatible. They also try to open the /proc/device-tree/model and gpio pins.
Is there some sort of document that explains which plug/slot provides which access?
How do I install the pi widget that provides the GPIO pins?
I can’t find any documentation describing how to install one. I tried snap install pi with no success.
Ubuntu Core for pi4 is planned for core 20, meanwhile the kernel might get backported to an 18.04 point release which will make an 18.04 server image possible, i dont know what the plans are to have a core18 based pi4 image though, since we can not just replace the kernel with a newer version on existing installs without breaking them (making them unbootable after upgrade) it would have to be a dedicated pi4 image with a dedicated kernel snap just for the pi4. perhaps @sil2100 can elaborate what the exact plan is, since he is doing most/all images nowadays …