Player2 is a new generation piSignage player based on new Raspberry Pi OS and also available for many more platforms based on Debian/Linux and as PWA/Android apps.
Make sure video play is supported in chromium browser or mpv using hardware acceleration before chosing the Linux SBC
Raspberry Pi 5 and Pi4 (64 or 32 bit Bookworm OS - 5.2.1 piSignage image)
Intel CPU based NUC and other boards
Radxa Rock 4C+
Odroid N2
sudo apt remove libsdl2-2.0-0
sudo apt install libsdl2-2.0-0
sudo apt install -y libsdl2-dev
cd $HOME/player2/tools/sdl_ticker
chmod +x make.sh
./make.sh
Please modify build-scripts/install-pisignage.sh (and related scripts under same directory) to suit your Linux environement
su
sudo usermod -aG sudo pi
Configure the wifi using GUI tool OR try with NetworkManager CLI nmcli (wpa_supplicant doesn’t seem to work with Radxa)
sudo nmcli r wifi on
sudo nmcli dev wifi connect ”<ssid>” password “<password>”
copy missing firmware if any for wifi interface
sudo apt install -y dhcpcd5
sudo systemctl disable wicd.service (to use dhcpcd and wpa_supplicant as network config tools)
sudo rm /etc/xdg/autostart/wicd-tray.desktop
Note down wifi and ethernet interface names from sudo ip a command
prepare a file /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
update_config=1
country=IN
network={
ssid="*********"
psk="********"
}
sudo wpa_supplicant -B -i wifi interface name for e.g. wlp0s2 -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo apt install rfkill
sudo rfkill unblock wlan
sudo ln -s /usr/share/dhcpcd/hooks/10-wpa_supplicant /usr/lib/dhcpcd/dhcpcd-hooks/
sudo systemctl restart dhcpcd
sudo ip a, all interfaces should have dhcp address if connected
Make sure /etc/network/interfaces has no entry for ethernet interface or it is set as manual.
sudo visudo and add the following as last line<username, for e.g. pi> ALL=(ALL) NOPASSWD:ALL
sudo apt update
sudo apt full-upgrade
Check if chromium-browser or chromium exists (for rockchip chromium is hardware optimized unlike standard chromium)
sudo apt install openssh-server (enable ssh)
Check if there is a entry in /etc/hosts for hostname as follows, otherwise add the same (you could get the hostname by cat /etc/hostname command)
127.0.0.1 <hostname>
Notes: