up square support for kernel 4.4.x
hi,
Any member of dev team here? where can i get the driver to support gpio in kernel 4.4.x?
right now i can't export any pin win the gpio..
echo 27 > /sys/class/gpio/export
-bash: echo: write error: Invalid argument
Although i can communicate with gpio hat S.USV UP using i2c...
i suspect that could be because of missing drivers/platform/x86/up_board.c that is available for linux kernel 4.9.x. but i can't use this kernel because there is an issue with network encapsulated traffic and vpns.
Thanks for the help.
Comments
-
if it helps others, i got it working without special drivers.. i was using the wrong gpio number... in my case it was 434.
ls -l /sys/class/gpio/
total 0
--w------- 1 root root 4096 May 2 10:21 export
lrwxrwxrwx 1 root root 0 May 2 10:21 gpiochip434 -> ../../devices/platform/INT3452:00/gpio/gpiochip434
--w------- 1 root root 4096 May 2 10:21 unexport
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
- 136 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