Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpioctl on the ODROID C2



I'm trying to use the GPIO of the ODROID C2 (as root) but I get an "Operation not permitted" error whatever I do.

For instance, when I issue: gpioctl gpio0 set out pp
I get gpioctl: GPIOSET: Operation not permitted

Interestingly, gpioctl gpio0 list doesn't list anything.

dmesg says:

[     1.000000] mesonpinctrl0 at simplebus5: Meson GXBB periphs GPIO
[     1.000000] gpio0 at mesonpinctrl0: 119 pins

ls -l /dev/gpio0 shows:

crw-rw-r--  1 root  _gpio  173, 0 Jun 13 03:42 /dev/gpio0

Is there anything special I should do to be able to use gpioctl?



Home | Main Index | Thread Index | Old Index