LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-22-2017, 07:00 AM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Lightbulb fancy (yet useful) heartbeat pulse on a green LED


on BeagleBone Black, which isn't running any Slackware yet (at least here on my place) there is a fanciful eye caching feature present:

The hear-beat like pulse on a led.

it is most useful for an headless computer to quickly (at a single glance) discern it's load and simple works or is locked state.

Any more than that would need an monitor or a proper "blinkenlichten" panel.

So i figured, why not have it working in Slackware too?

To my surprise i found none "easy way" writeup, so i figured i make one here?

Okay here goes (ready to paste in rc.local):
Code:
# hearbeat madule load for green led:
modprobe -av ledtrig-heartbeat

echo "heartbeat" > /sys/class/leds/orangepi\:green\:pwr/trigger
for my orange PI PC
or
Code:
# hearbeat madule load for green led:
modprobe -av ledtrig-heartbeat

echo "heartbeat" > /sys/class/leds/bananapi\:green\:usr/trigger
on my banana Pi M1

ammounting to:
Code:
# hearbeat madule load for green led:
modprobe -av ledtrig-heartbeat

echo "heartbeat" > /sys/class/leds/*\:green\:*/trigger
for any green LED to be triggered as heartbeat indicator.

I post this in hope someone finds this useful.
 
  


Reply

Tags
arm, heartbeat, led



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raspberry pi red LED on solidly with flashing green led. darkstarbyte Linux - Hardware 19 01-05-2013 06:54 PM
Pulse counter or frequency of incoming pulse train jayhorizon Programming 15 10-29-2010 04:29 AM
How to change light green text color to dark green of xterm ? cola Slackware 13 01-03-2010 09:07 AM
LXer: 5 Ways to Save Green by going Green LXer Syndicated Linux News 0 05-15-2009 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration