pmaports/device/testing/device-pine64-pinephone/setup-modem-audio.sh
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

10 lines
212 B
Bash

#!/bin/sh
RET=$(echo "AT+QDAI=1,0,0,2,0,1,1,1" | atinout - /dev/EG25.AT -)
if echo $RET | grep -q OK; then
echo "Successfully configured modem audio"
else
echo "Failed to set modem audio up: $RET"
exit 1
fi