ubuntu core + snap + gpios

Simon Stürz timonmailinglist at gmail.com
Thu Apr 6 07:14:47 UTC 2017


Hi,

are there any updates on this? I am facing the same issue with snapd
running on debian armhf!
Is this a snapd bug or a core snap issue? Also the serial-port interface
and i2c interface are missing. My snap is blocked :-(

Thanks in advance,
Simon


On 2017-01-18 10:33, Oliver Grawert wrote:
> hi,
> Am Dienstag, den 17.01.2017, 23:31 +0000 schrieb Luís Martins:
>> Hi, I was trying to build a simple snap to test the ubuntu core
>> raspberry pi 3 gpios [1] but for some reason the app does not seem
>> allowed to write into /sys/class/gpio/ within my snap.
>>
>> I declared the "plugs: [gpio]" in the snapcraft.yaml and the app is a
>> simple qt5/c++ program using std::ifstream/std::ofstream to
>> read/write to the files.
>>
>> However, using the latest stable ubuntu core image, the "snap
>> interfaces" command does not list the "gpio" as an available
>> interface, is this normal ?
>>
> no, this is a bug, i have something nearly ready and can land it later
> today in the edge channel, i'll notify the list once it is there and
> also trigger a rebuild of the daily images (so you dont need to roll
> your own image)
>
> ciao
> 	oli
>
>




More information about the Snapcraft mailing list