Revert "hlp:荆州版本"

This reverts commit 065b146998.
This commit is contained in:
kite_lucs
2026-10-19 17:48:03 +08:00
parent 065b146998
commit baa8882d09
438 changed files with 185387 additions and 163143 deletions
+49 -49
View File
@@ -1,49 +1,49 @@
#!/bin/sh
#echo "start up qtui...."
export QT_QWS_FONTDIR=/usr/lib/fonts
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event1 mouseman:/dev/input/mice"
cd /dev/ && ln -s am335x_visco_pwm pwm && ln -s am335x_suction_pwm pwm1
if [ -e /dev/input/touchscreen0 ]; then
TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/usr/local/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_TSDEVICE
fi
if [ ! -f /etc/pointercal ];then
touch /etc/pointercal
ts_calibrate
fi
cd /home/plg
if [ ! -f /home/plg/runFlag ];then
chmod a+x InkJetPrinter
./InkJetPrinter -qws
fi
#bootup QtUI
chmod +x QtUI
./QtUI -qws -display VNC:LinuxFb &
rm /home/plg/runFlag
sleep 1
#mount mmc and usb disk
if [ -f /dev/mmcblk0p1 ];then
mount /dev/mmcblk0p1 /mnt/mmc/
fi
ln -sf /mnt/udisk /udisk
if [ -f /dev/sda1 ];then
mount /dev/sda1 /mnt/udisk/
fi
sleep 2
#start quectel-CM
./quectel-CM &
#!/bin/sh
#echo "start up qtui...."
export QT_QWS_FONTDIR=/usr/lib/fonts
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event1 mouseman:/dev/input/mice"
cd /dev/ && ln -s am335x_visco_pwm pwm && ln -s am335x_suction_pwm pwm1
if [ -e /dev/input/touchscreen0 ]; then
TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/usr/local/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_TSDEVICE
fi
if [ ! -f /etc/pointercal ];then
touch /etc/pointercal
ts_calibrate
fi
cd /home/plg
if [ ! -f /home/plg/runFlag ];then
chmod a+x InkJetPrinter
./InkJetPrinter -qws
fi
#bootup QtUI
chmod +x QtUI
./QtUI -qws -display VNC:LinuxFb &
rm /home/plg/runFlag
sleep 1
#mount mmc and usb disk
if [ -f /dev/mmcblk0p1 ];then
mount /dev/mmcblk0p1 /mnt/mmc/
fi
ln -sf /mnt/udisk /udisk
if [ -f /dev/sda1 ];then
mount /dev/sda1 /mnt/udisk/
fi
sleep 2
#start quectel-CM
./quectel-CM &