I seem to be having some issues regarding how to access the gpio's attached to the button matrix on the i.mx6sl-evk from within user-space.
The ultimate goal here being to run an arbitrary shell script when a button is pressed.
I am running a 3.10.9 kernel built with Yocto and have sysfs enabled in my kernel.
Have read and tried the following directions: https://community.freescale.com/docs/DOC-1459
(Everything seems to work fine and I can export gpio's but values never change.)
I felt like this might shed some light on the problem: https://community.freescale.com/message/306257#306257 but I'm not entirely sure if it is relevant to my situation.
Have read the i.MX_6SoloLite_Linux_Reference_Manual.pdf
(Particularly Chapter 3 in regards to General Purpose I/O and IOMUX.)
Have looked through the imx6slevk schematic.
(Especially page 12 containing the button matrix sub-circuit and page 16 containing the IOMUX Table.)
A bump in the right direction would be greatly appreciated!