Can't locate /sys/class/leds folder

89 views
Skip to first unread message

QuarkyUp

unread,
Oct 21, 2017, 5:35:06 PM10/21/17
to BeagleBoard
Hey all,

So I followed this paper in order to setup my Beaglebone Black : free-electrons.com/doc/training/buildroot/buildroot-labs.pdf

But now that I want to try out some simple code (blinking on-board LED), I can't find the "leds" folder where I can manipulate those LEDs.
There is no "leds" folder inside "/sys/class".

I tried to find the folder using the find command, but it doesn't return anything relevant to it.

Where can I find this folder ? Or is there anything to do before accessing it ?



Thanks by advance !

William Hermans

unread,
Oct 21, 2017, 5:39:37 PM10/21/17
to beagl...@googlegroups.com
wgd@wgd:~$ uname -a
Linux wgd 4.4.68-ti-r111 #1 SMP Wed Jun 28 10:06:34 UTC 2017 armv7l GNU/Linux
wgd@wgd:~$ ls /sys/class/leds/
beaglebone:green:usr0  beaglebone:green:usr2
beaglebone:green:usr1  beaglebone:green:usr3
wgd@wgd:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2017-07-01


William Hermans

unread,
Oct 21, 2017, 5:45:00 PM10/21/17
to beagl...@googlegroups.com
The point is this. If you require something the standard factory images need. Don't screw around with someone elses build guide, or images. The beagleboard.org site has links to all factory, and custom images built by the same people who build the factory images. Then if you want to get "crazy, google "eewiki debian on beaglebone black", and Follow Roberts guide that he uses in part, or whole to build the factory images.

Reply all
Reply to author
Forward
0 new messages