I use Ubuntu core 18 on rpi3 B+. I try to access ttyUSB from inside the snap. When i install the snap with --devmode, it works.
When i use strict mode, i cannot access it: “Permission denied”.
I tried to use slot below, but when i try to install the snap it gives “installation not allowed by “…” slot rule of interface “serial-port””.
slots: serial-port-device: interface: serial-port usb-vendor: 1659 usb-product: 8963 path: /dev/serial-port-icse012a
Does not work with enabled hoplug feature.I have disabled hotplug.
The interface serial-port output:
summary: allows accessing a specific serial port
The snap connections output:
Interface Plug Slot Notes
browser-support test:browser-support :browser-support -
hardware-observe test:hardware-observe - -
home test:home - -
network test:network :network -
network-bind test:network-bind :network-bind -
opengl test:opengl :opengl -
pulseaudio test:pulseaudio - -
raw-usb test:raw-usb - -
serial-port test:serial-port - -
wayland test:wayland mir-kiosk:wayland -
What can i do about: “installation not allowed by “…” slot rule of interface “serial-port”” error?