Skip to main content

Raspberry PI - Uctronics panel setup

This is to setup the panel on the rack mount UCTRONICS raspberry pi holder with SSD drives

You will have to modify the following file

sudo nano /boot/config.txt

At the end of the file add below the last [ALL] section

dtparam=i2c_arm=on,i2c_arm_baudrate=400000
dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up

You will need to get the following from GitHub

git clone https://github.com/UCTRONICS/SKU_RM0004.git

Run the following

cd SKU_RM0004
make

You will need to add the following after the fi and before the exit 0

_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

<<<HERE>>>

exit 0

cd /home/pi/SKU_RM0004
make clean 
make 
./display &

Once modified should look like this

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

cd /home/pi/SKU_RM0004
make clean 
make 
./display &

exit 0