12-31-2015, 10:28 AM
(This post was last modified: 12-31-2015, 10:42 AM by o9guy.
Edit Reason: misspelling
)
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.
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.