|
|
(15 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | If you have '''successfully completed the [[Getting_Started_with_IGEP0030_board|getting started guide]]''' for IGEP0030, you can follow this first introduction about what can you do with this board:
| + | #REDIRECT:[[What can I do with IGEP COM MODULE]] |
− | | |
− | = How to handle gpio-LED's =
| |
− | | |
− | This is probably the most simple feature in the board, but sometimes LED's may be the only way of checking the status of some of your applications.
| |
− | | |
− | IGEP0030 has 4 LED's which you can control, for example, using 'echo'. Here is an example of turning LED's On:
| |
− | <pre>echo 1 > /sys/devices/platform/leds-gpio/leds/d210\:green/brightness
| |
− | echo 1 > /sys/devices/platform/leds-gpio/leds/d210\:red/brightness
| |
− | echo 1 > /sys/devices/platform/leds-gpio/leds/d440\:green/brightness
| |
− | echo 1 > /sys/devices/platform/leds-gpio/leds/d440\:red/brightness
| |
− | </pre>
| |
− | You can turn them down using the same command and write '0' instead of '1'. (Note: read [[What can I do with IGEP0030#Known issues|known issues]] below)<br>
| |
− | | |
− | If you want to trigger the leds you can enable this mode and select the trigger source (none by default) to: mmc0, mmc1, timer, heartbeat and default-on.<br>
| |
− | | |
− | To enable any of this modes you just have to change a parameter in the directory of the led you want to control. You can see all the possibilities using 'cat':<br>
| |
− | <pre>$ cat /sys/devices/platform/leds-gpio/leds/d210\:green/trigger
| |
− | | |
− | none mmc0 mmc1 timer heartbeat [default-on]
| |
− | </pre>
| |
− | In the example above, we have checked the status of the trigger in led D240:green. Mode 'default-on' is selected.
| |
− | | |
− | To change it, for example, to the timer mode you can use 'echo':<br>
| |
− | <pre>echo timer > /sys/devices/platform/leds-gpio/leds/d210\:green/trigger
| |
− | </pre>
| |
− | In this case, we have set the trigger to the 'timer' mode. Now you can set the time for what the led is ON and the time it is OFF using:<br>
| |
− | <pre>echo 250 > /sys/devices/platform/leds-gpio/leds/d210\:green/delay_on
| |
− | echo 750 > /sys/devices/platform/leds-gpio/leds/d210\:green/delay_off
| |
− | </pre>
| |
− | Now the selected led is configured with a timer consisting of 250 miliseconds ON and 750 miliseconds OFF.
| |
− | | |
− | = How to use wireless =
| |
− | | |
− | * [[How to setup Marvell 88w8686 SDIO wifi]]
| |
− | | |
− | = How to use bluetooth =
| |
− | | |
− | * [[How to setup Marvell bluetooth]]
| |
− | | |
− | = Known issues =
| |