Questions about GPIO
#2
We need GPIO exposed in /sys/class via some sort of kernel module like on the Pi (sorry to bring up the pi but that's the model that PineA64 is going to have to strive to be like for community support)

The GPIO on the Odroid C1 (which uses an allwinnder quad core SOC) requires code written in C to access the GPIO (I haven't seen access via a /sys/class/GPIO or anything) but the Pcduino series, which also use the Allwinner SOC, does have a kernel module for /sys/class access.  Hopefully it won't take much to mimic this behavior.  I'd be willing to port the code needed to support the GPIO and other pin-specific functions.

(12-31-2015, 10:28 AM)o9guy Wrote: We need GPIO exposed in /sys/class via some sort of kernel module like on the Pi (sorry to bring up the pi but that's the model that PineA64 is going to have to strive to be like for community support)

The GPIO on the Odroid C1 (which uses an allwinnder quad core SOC) requires code written in C to access the GPIO (I haven't seen access via a /sys/class/GPIO or anything) but the Pcduino series, which also use the Allwinner SOC, does have a kernel module for /sys/class access.  Hopefully it won't take much to mimic this behavior.  I'd be willing to port the code needed to support the GPIO and other pin-specific functions.

But to more directly answer igna09, once we have access to the GPIO via filesystem (i.e. /sys/class GPIO) it will be possible to control them from a webserver using CGI-BIN in python, php, etc.  Here's an example of a web-based control for the Pi: http://www.instructables.com/id/Simple-a.../?ALLSTEPS

It wouldn't be too hard to adjust the code for the pin convention the GPIO for the allwinner uses.

After that it will be possible to make an IR receiver module that is compatible with LIRC.


Messages In This Thread
GPIO ports - by igna09 - 12-31-2015, 04:31 AM
RE: GPIO ports - by o9guy - 12-31-2015, 10:28 AM
RE: GPIO ports - by limitlesscodes - 02-07-2016, 01:56 PM
RE: GPIO ports - by tllim - 02-07-2016, 08:25 PM
RE: GPIO ports - by limitlesscodes - 02-10-2016, 12:25 AM
RE: GPIO ports - by tllim - 02-10-2016, 06:53 PM
Questions about GPIO - by limitlesscodes - 02-14-2016, 05:49 PM
RE: Questions about GPIO - by patrickhwood - 02-14-2016, 07:12 PM
RE: Questions about GPIO - by limitlesscodes - 02-15-2016, 06:05 PM
RE: Questions about GPIO - by limitlesscodes - 02-16-2016, 03:15 PM
RE: Questions about GPIO - by patrickhwood - 02-16-2016, 11:45 PM
RE: Questions about GPIO - by limitlesscodes - 02-17-2016, 03:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GPIO specifications in device tree ramstadt 1 2,291 01-16-2019, 03:17 PM
Last Post: ramstadt
  +PINEBOOK Q4OS Pinebook Questions StewB 0 1,709 08-24-2017, 03:53 PM
Last Post: StewB
  Low-Level-GPIO-Access Thoams131 2 2,999 01-11-2017, 02:54 PM
Last Post: Thoams131
Question PPS-GPIO Sebastian 11 10,912 07-12-2016, 07:25 PM
Last Post: tllim
  C#.NET / Mono GPIO library? abutler77 0 2,397 06-12-2016, 10:34 PM
Last Post: abutler77
  Lazarus and GPIO gbestwick 0 1,642 05-22-2016, 08:51 PM
Last Post: gbestwick
  GPIO javascript library. neeeds 1 2,717 02-19-2016, 11:31 PM
Last Post: limitlesscodes

Forum Jump:


Users browsing this thread: 1 Guest(s)