Hello, can you please tell us how you managed that
I'm happy to share how to fix the blinking blue LED. It took me quite some time to reverse engineer the configuration for Ropieee and to figure out which GPIO pin on the raspberry pi board is connected to the blue LED.
Disclaimer: Performing the steps below is at your own risk! I am not responsible for any damage to your device.
The blue LED fix has only been tested for the original Raspberry pi 3 board with OS piCorePlayer or HifiBerryOS. The steps may also work for other operating systems. Please try it yourself.
Let's start!
Requirements: You need to access Raspberry Pi with ssh. To do this, use a suitable tool that matches your operating system.
HifiBerryOS
--
#Default ssh credentials:
#user: root, pass: hifiberry
#Create metrum-ambre_blue_led.sh in home folder /home
vi /home/metrum-ambre_blue_led.sh
#paste content below in this new created file (first press i key to start insert mode in vi)
#!/bin/sh
#
# Metrum Acoustics Ambre - blue LED control
#
echo "27" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio27/direction
echo "1" > /sys/class/gpio/gpio27/value
#After pasting the content press esc key to leave insert mode.
#Now type :w to save the file and :q to leave vi
#Change the permissions on the /home/metrum-ambre_blue_led.sh file to allow for execution:
chmod 755 /home/metrum-ambre_blue_led.sh
#now we need to execute this new created shell script at startup
vi /etc/systemd/system/metrum-ambre.service
#paste content below in this new created file (first press i key to start insert mode in vi)
[Unit]
After=network.target
[Service]
ExecStart=/home/metrum-ambre_blue_led.sh
[Install]
WantedBy=default.target
#After pasting the content press esc key to leave insert mode.
#Now type :w to save the file and :q to leave vi
#this new service needs to be installed for executing at boot
chmod 664 /etc/systemd/system/metrum-ambre.service
systemctl daemon-reload
systemctl enable metrum-ambre.service
#And that’s it! Done. Reboot and enjoy!
piCorePlayer
--
#Default ssh credentials:
#user: tc, pass: piCore
#Create metrum-ambre_blue_led.sh in home folder /home/tc
vi /home/tc/metrum-ambre_blue_led.sh
#paste content below in this new created file (first press i key to start insert mode in vi)
#!/bin/sh
#
# Metrum Acoustics Ambre - blue LED control
#
echo "27" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio27/direction
echo "1" > /sys/class/gpio/gpio27/value
#After pasting the content press esc key to leave insert mode.
#Now type :w to save the file and :q to leave vi
#Change the permissions on the /home/tc/metrum-ambre_blue_led.sh file to allow for execution:
chmod 755 /home/tc/metrum-ambre_blue_led.sh
#now we need to execute this new created shell script at startup. Therefore we need to modify bootlocal.sh
sudo vi /opt/bootlocal.sh
#Right below where it says : # put other system startup commands here
#Insert the line : sudo sh /home/tc/metrum-ambre_blue_led.sh > /dev/null &
#So the bootlocal.sh file should look something like this:
#!/bin/sh
# put other system startup commands here
sudo sh /home/tc/metrum-ambre_blue_led.sh > /dev/null &
GREEN="$(echo -e '\033[1;32m')"
echo
echo "${GREEN}Running bootlocal.sh..."
#pCPstart------
/home/tc/www/cgi-bin/do_rebootstuff.sh | tee -a /var/log/pcp_boot.log
#pCPstop------
#Now, because piCorePlayer runs entirely from RAM we need to make the changes we’ve made persistent by entering:
sudo filetool.sh -b
#And that’s it! Done. Reboot and enjoy!