The way these systems are configured, I don't know if you can do what you want without generating a custom device tree.
The leds class has a trigger function and can be tied to various GPIO pins, but I believe that conflicts with exporting that same GPIO pin. If anyone knows of a way to do this without requiring customizing a device tree to move GPIO pins from /sys/class/gpio to /sys/class/leds/ entries, or if there's a way to have both for the same pin, I'd love to hear it! On 5/8/2014 10:49 AM, Hannes Hörting wrote: > Hello John! > > Thank you! > I`m using Debian and also the universal device tree from > Charles: https://github.com/cdsteinkuehler/beaglebone-universal-io > > Not sure if its there also available? I doesnt find an information about > heartbeat and cpu for user led on the GPIO. > > Thank you! > > > Am Mittwoch, 7. Mai 2014 20:58:10 UTC+2 schrieb john3909: >> >> >> On 5/7/14, 11:32 AM, "Hannes Hörting" <fai...@gmail.com <javascript:>> >> wrote: >> >>> Hello! >>> >>> Can I forward the User Led to the GPIO? >>> I want to build my own Expansion Board and need this LED. >>> >>> OR is this function already connectet to some GPIO? >>> >>> Thank you! >> You can change the GPIO for the User LED by modifying the BBB device tree. >> Look at arch/arm/boot/dts/am335x-bone-common.dtsi >> >> >> Regards, >> John >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to beagleboard...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >> >> >> > -- Charles Steinkuehler char...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.