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
Options
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
-
Tagged
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral