Skip to content

Instantly share code, notes, and snippets.

@booyaa
Created July 17, 2012 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save booyaa/3129514 to your computer and use it in GitHub Desktop.
Save booyaa/3129514 to your computer and use it in GitHub Desktop.
/sys/class/leds
$ pwd
/sys/class/leds
$ ls
led0 mmc0::
$ ls -l
total 0
lrwxrwxrwx 1 root root 0 Jan 1 1970 led0 -> ../../devices/platform/leds-gpio/leds/led0
lrwxrwxrwx 1 root root 0 Jan 1 1970 mmc0:: -> ../../devices/platform/leds/mmc0::
ReggieUK's helpful pointer led to this: https://github.com/raspberrypi/linux/blob/rpi-patches/arch/arm/mach-bcm2708/bcm2708.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment