[mdlug] LED on Raspberry Pi

Drew drew4096 at gmail.com
Fri Oct 10 00:08:14 EDT 2014


I had the Pi's filesystem go bad on me. I managed to restore the
system along with the upgrades I had done so far, by dd-ing in the FAT
partition, putting in an ext4, then restoring from a tarball.

Only problem is, on bootup the /sys/class/leds directory, which
normally contains the "file" that controls the state of the green LED
(the one I'd been using to flash the last part of the local IP
address), isn't being created. So both the blinkIP script and the part
of the vncboot script that signals when it has the vnc server up,
aren't working.

Can someone help me figure out why? What normally creates this
directory and its contents?


More information about the mdlug mailing list