Prevent from LED flashing constantly

Suggestions/requests/ideas for RuneAudio core features and functions

Prevent from LED flashing constantly

Postby Fif91 » 01 May 2017, 16:15

Hi,
Using the last runeaudio image (0.4b), the LED is flashing constantly.
And, still on when i poweroff the raspberry pi.

For the old version, i was following the steps from this link, to prevent from led flashing.
=> http://forum.audiophonics.fr/viewtopic.php?f=12&t=1620

Is is possible to integrate this feature in the next release ?
The steps don't seem to work well with the last version
Fif91
 
Posts: 12
Joined: 04 Mar 2017, 16:12

Re: Prevent from LED flashing constantly

Postby hondagx35 » 01 May 2017, 18:09

Hi,

should be easy to do.

On a Pi2 add
Code: Select all
dtparam=act_led_trigger=none
dtparam=pwr_led_trigger=none

to your config.txt

See /boot/overlays/README for more details:
act_led_trigger Choose which activity the LED tracks.
Use "heartbeat" for a nice load indicator.
(default "mmc")

act_led_activelow Set to "on" to invert the sense of the LED
(default "off")
N.B. For Pi3 see pi3-act-led overlay.

act_led_gpio Set which GPIO to use for the activity LED
(in case you want to connect it to an external
device)
(default "16" on a non-Plus board, "47" on a
Plus or Pi 2)
N.B. For Pi3 see pi3-act-led overlay.

pwr_led_trigger
pwr_led_activelow
pwr_led_gpio
As for act_led_*, but using the PWR LED.
Not available on Model A/B boards.


And for the Pi3
Name: pi3-act-led
Info: Pi3 uses a GPIO expander to drive the LEDs which can only be accessed
from the VPU. There is a special driver for this with a separate DT
node, which has the unfortunate consequence of breaking the
act_led_gpio and act_led_activelow dtparams.
This overlay changes the GPIO controller back to the standard one and
restores the dtparams.
Load: dtoverlay=pi3-act-led,<param>=<val>
Params: activelow Set to "on" to invert the sense of the LED
(default "off")

gpio Set which GPIO to use for the activity LED
(in case you want to connect it to an external
device)
REQUIRED

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Prevent from LED flashing constantly

Postby Fif91 » 01 May 2017, 18:34

Thanks Franck, but nothing I understand.
Which Params should I put in config.txt for a pi3?

The behaviour I had from the above link was :
- the led switch on and off until the system boot,
- after the led was constantly on
- if I shutdown the pi, the led switch on and off during the poweroff state and finished to switch off

Will I get this behaviour?
Fif91
 
Posts: 12
Joined: 04 Mar 2017, 16:12

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 1 guest