I had inferred in this thread
http://www.linuxquestions.org/questions/slackware-arm-108/%5B-lemaker-bananapi-%5D-usb-ports-seem-to-be-doa-4175561846/ that I did not have access to i2c on the arm7 kernel.
It turns out this is not the case. I had tried to access i2c using a command from the Lemaker from the WiringPi C library.
Code:
# gpio load i2c
modprobe: FATAL: Module i2c-sunxi not found in directory /lib/modules/4.2.6-armv7
gpio: Unable to load i2c-sunxi
However, after building/installing i2c-tools from a slackbuild and powering up a ds2482 i2c/one wire bridge connected to a ds2438 and the SDC/SCL pins on the Pro, the the arm7-4.2.6 i2c-dev module was loaded and the ds2482 was detected.
Code:
# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Note that I had no problem using WiringLMK to access GPIO pins using but I haven't done much more than test by flashing LEDs yet.
WiringLMK by default installs in /usr/local but you can edit the makefile in the directory wiringLMK and change PREFIX to /usr and the DESTDIR to /somewhere/build to make a slackpkg.
I'd prefer to use a system numbering scheme for GPIO pins as I have done in bash scripts on Pi's but I haven't figured out the numbering (yet).... time.....?