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
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 592 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 826 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral