[SOLVED] GPIO on up2 board doesn't respond

Hello,
I have an up2 board (8 GB RAM, 64GB eMMC). I folow an exmaple described here https://wiki.up-community.org/Pinout_UP2#GPIO trying to blink one of bard's LEDs. However nothing blinks, what is the problem?
My Kernel version is: 4.15.0-29-generic
OS: Ubuntu
All patchs like /sys/class/gpio (the one from example) are there so I assumed the kernel is ok right?
In case the kernel is wrong, do you have any guide how to write module for this GPIO to control it?
Regards
Comments
-
Ok I installed different kernel, namely linux-image-generic-hwe-18.04-upboard and it works now as expected. Now, I would like to play a bit with it and as a first step I would like to write a driver for these gpio pins. Where can I find a guide, docuemntation & source code of the driver?
-
Hi @Mondo
From your UP board, once you have installed the UP specific Ubuntu Kernel 4.15: https://wiki.up-community.org/Ubuntu
sudo apt-get source linux-hwe
There you will get the source code for the driver.
Tagged
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 48 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral