distribution/packages/hardware/quirks/devices/Anbernic RG353V/info.d/001-panel
2023-12-08 16:17:54 -05:00

18 lines
203 B
Bash
Executable file

#!/bin/sh
ID=$(dmesg | grep "panel")
case ${ID} in
*newvision*)
ID="v1"
;;
*sitronix*)
ID="v2"
;;
*)
ID="Unknown"
;;
esac
if [ -n "${ID}" ]
then
echo "PANEL VERSION: ${ID}"
fi