distribution/packages/hardware/quirks/devices/Anbernic RG353P/info.d/001-panel

19 lines
203 B
Text
Raw Normal View History

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