Hi, I want to build a gadget with custom-device interface for libgpiod library.
This is the slot i added in the snapcraft.yaml of the gadget
> gpiod-interface:
> interface: custom-device
> custom-device: gpiod-device
> devices:
> - /dev/gpiochip[0-1]
> files:
> write:
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip0/dev
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip1/dev
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip0/gpio/gpio11/direction
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip0/gpio/gpio11/value
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip0/gpio/gpio10/direction
> - /sys/devices/platform/soc/fe200000.gpio/gpiochip0/gpio/gpio10/value
> udev-tagging:
> - kernel: gpiochip[0-9]
> subsystem: gpio
I created a dangerous model and installed the gadget snap with this interface. But the interfaces doesnt show up when installed. Am i doing something wrong?