echo 493 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio493/direction
echo 1 > /sys/class/gpio/gpio493/value
echo 0 > /sys/class/gpio/gpio493/value
mkdir /lib/firmware/brcm
cp /etc/bluetooth/BCM4345C0.hcd /lib/firmware/brcm
btattach -S 921600 -P bcm -B /dev/ttyS1 &
echo 1 > /sys/class/rfkill/rfkill2/state
hciconfig hci0 up
/usr/libexec/bluetooth/bluetoothd &
arecord -D sysdefault:CARD=0 --format=S16_LE --duration=5 --rate=16000 --file-type=wav out.wav
...or to record from all 4 microphones:
arecord --device="sysdefault:CARD=AMLAUGESOUND" --channels=4 --format=S16_LE --rate=48000 --vumeter=mono --file-type=wav test.wav
adb pull out.wav .
mount -t debugfs none /sys/kernel/debug
cat /sys/kernel/debug/pinctrl/pinctrl@ff634480//pinmux-pins
cat /sys/bus/iio/devices/iio\:device0/in_distance_raw
cat /sys/bus/iio/devices/iio\:device0/in_illuminance_raw
cat /sys/bus/iio/devices/iio\:device0/in_proximity_raw
cat /sys/bus/iio/devices/iio\:device1/in_accel_z_raw
cat /sys/bus/iio/devices/iio\:device1/in_accel_y_raw
cat /sys/bus/iio/devices/iio\:device1/in_accel_x_raw
evtest
echo panel > /sys/class/display/mode
echo 1 > /sys/class/lcd/power
echo 0 > /sys/class/backlight/aml-bl/brightness
export QT_LOGGING_RULES="*=true"
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox --ignore-gpu-blacklist"
fbset -g 480 800 480 1600 32 -t 43403 0 0 0 0 0 0
###opengl
export QT_QPA_PLATFORM=eglfs
export QT_QPA_EGLFS_INTEGRATION=eglfs_mali
export QMLSCENE_DEVICE=""
export QT_QUICK_BACKEND=""
export QT_QPA_EGLFS_PHYSICAL_WIDTH=51
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=86
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event2:rotate=270
export QT_QPA_EGLFS_NO_LIBINPUT=1
export QT_QPA_EGLFS_ROTATION=90
qt-superbird-app