Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

391 bytes added, 15:13, 9 January 2012
no edit summary
= Install binaries via IGEP<br> =
Install binaries via Log with root userto install binaries.
=== Install module ===
Check that user-gpio-drv.ko is currently loaded with the following command:
<pre>lsmod</pre>
The result will be similar than this:
<pre>
root@localhost:~/svn.hylands.org/linux/gpio/module# lsmod
Module Size Used by
user_gpio_drv 1639 0
omap_wdt 3411 0
spidev 4198 0
iommu 8558 0
rtc_twl 4411 0
rtc_core 11187 1 rtc_twl
twl4030_keypad 2970 0
</pre>
The module is loaded until system halt.
<pre> ldd gpio
</pre>
See if libgpio.so is found it. If you execute program in bash without linking library dependencies, bash give you a error message.
= Testing driver =
4,199
edits