Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-10 Thread Jacques Supcik
Thank you Simon for your reply. I understand that it is very dangerous to give full access to the whole memory. My application runs on a Raspberry Pi and controls a LED stripe (such as https://www.adafruit.com/product/2294 or https://www.sparkfun.com/ products/13304). These devices (based in WS281

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-10 Thread Simon Fels
On 09.11.2016 21:25, Jacques Supcik wrote: > Thank you Oliver for your constructive feedback. > > I like the idea of a "mailbox-device" and I will open a bug in the > whishlist of snappy. > > My snap needs also write access to "/dev/mem": > > = AppArmor = > Time: Nov 9 19:09:52 > Log: apparmor=

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-09 Thread Jacques Supcik
Thank you Oliver for your constructive feedback. I like the idea of a "mailbox-device" and I will open a bug in the whishlist of snappy. My snap needs also write access to "/dev/mem": = AppArmor = Time: Nov 9 19:09:52 Log: apparmor="ALLOWED" operation="open" profile="snap.telecom-tower.daemon"

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Jacques Supcik
Thank you for your reply. On 7 November 2016 at 08:53, Didier Roche wrote: > Meanwhile, you can still install your snap in devmode to bypass security, > and that should do it in your case, mind confirming? > Yes, it works indeed in devmode. █ Jacques -- Snapcraft mailing list Snapcraft@list

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Didier Roche
Le 07/11/2016 à 12:17, Oliver Grawert a écrit : > hi, > Am Montag, den 07.11.2016, 11:23 +0100 schrieb Didier Roche: >> >> Ah nice, I didn't find any documentation on it nor in the official >> doc >> (which was imported from the snapd repo before its removal) or in >> https://github.com/snapcore/

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Oliver Grawert
hi, Am Montag, den 07.11.2016, 11:23 +0100 schrieb Didier Roche: > >   > Ah nice, I didn't find any documentation on it nor in the official > doc > (which was imported from the snapd repo before its removal) or in > https://github.com/snapcore/snapd/wiki/Interfaces. Any plan on > documenting it? >

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Zygmunt Krynicki
> On 6 Nov 2016, at 11:50, Jacques Supcik wrote: > > Dear community. > > I have a program, written in go, and running on a raspberry Pi 2, which > displays messages on a LED panel. The panel is made of "neo pixels" and is > connected to the GPIO of the raspberry Pi. Internally, it uses the DM

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Didier Roche
Le 07/11/2016 à 11:18, Simon Fels a écrit : > On 07.11.2016 08:53, Didier Roche wrote: >> Le 06/11/2016 à 11:50, Jacques Supcik a écrit : >>> Dear community. >>> >>> I have a program , written in >>> go, and running on a raspberry Pi 2, which displays message

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Simon Fels
On 07.11.2016 08:53, Didier Roche wrote: > Le 06/11/2016 à 11:50, Jacques Supcik a écrit : >> Dear community. >> >> I have a program , written in >> go, and running on a raspberry Pi 2, which displays messages on a LED >> panel. The panel

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Loïc Minier
There is a GPIO interface and it was going through some fixes a couple of weeks ago as it would only work when first connected, but not after a reboot. On Mon, Nov 7, 2016 at 8:53 AM, Didier Roche wrote: > Le 06/11/2016 à

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-06 Thread Didier Roche
Le 06/11/2016 à 11:50, Jacques Supcik a écrit : > Dear community. > > I have a program , written in > go, and running on a raspberry Pi 2, which displays messages on a LED > panel. The panel is made of > "neo pixels" an

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-06 Thread Oliver Grawert
hi, On So, 2016-11-06 at 17:00 +0100, Jacques Supcik wrote: > Note that it works in --devmode, but I would like to have it also > running in "safe mode". >  well, i suspect we will need a "mailbox-device" interface or some such for apps accessing /dev/vcio (or mailbox devices on other boards), plea

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-06 Thread Jacques Supcik
Note that it works in --devmode, but I would like to have it also running in "safe mode". █ Jacques On 6 November 2016 at 11:29, Jacques Supcik wrote: > Dear community. > > I have a program , written in go, > and running on a raspberry Pi 2, which displa

Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-06 Thread Jacques Supcik
Dear community. I have a program , written in go, and running on a raspberry Pi 2, which displays messages on a LED panel. The panel is made of "neo pixels" and is connected to the GPIO of the raspberry Pi. Internally,