logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

leds on base0010 board

posted in Uncategorized
Tuesday, February 21 2012, 06:36 PM
marc
marc
Offline
0
Hello, I\\\'d like to know if I can manipulate the leds on base0010 board from userspace, I\\\'ve seen that leds in igep module can be manipulated from /sys/class/leds but the ones in the base0010 board are not available. Thank\\\'s
Responses (1)
  • Accepted Answer

    Thursday, February 23 2012, 04:23 PM - #permalink
    0
    On BASE0010-RA (Rev. A) the two leds are available via gpio 19 and 22. See the example below: [code] echo 19 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio19/direction echo 1 > /sys/class/gpio/gpio19/value echo 0 > /sys/class/gpio/gpio19/value echo 0x104 > /sys/kernel/debug/omap_mux/etk_d8 echo 22 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio22/direction echo 1 > /sys/class/gpio/gpio22/value echo 0 > /sys/class/gpio/gpio22/value [/code]
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat