This is the area to clarify hardware specification if there's anything unclear from the datasheet. If the specification is software related, please ask in the related software section.
GPIO interrupt causes kernel panic
scint
New Member Posts: 2 ✭
Hi, I've found that I can't configure any of the GPIO pins to handle interrupt requests. The following is an example which fails when trying to set Linux GPIO 5 as an IRQ pin:
$ echo 5 > /sys/class/gpio/export
$ cat /sys/class/gpio/gpio5/value
1
$ cat /sys/class/gpio/gpio5/direction
in
$ echo rising > /sys/class/gpio/gpio5/edge
kernel panic
Specs:
Hardware: UP-CHT01
OS: Ubuntu 16.04.5 LTS
Kernel: 4.15.0-37-generic
BIOS: UPC1DM15
Thanks.
Comments
-
Any thoughts? Anyone else experiencing this issue?
-
@scint Did u solve the issue ?
-
Have you followed the instructions to install the UP Kernel (based on Ubuntu 4.15)?
https://wiki.up-community.org/Ubuntu#Install_Ubuntu_for_UP.2C_UP2.2C_UP_Core_and_UP_Core_Plus
-