X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Frun.sh;h=d9cb3439aa085fd6c951a363c0c94ada51a757d7;hb=00c5659557c54258f31da4c33c078c52f3d8feb6;hp=9bf9cc97e35d5c0b89c7135b2ed0e59af5fd54f8;hpb=02e2af70ab073fcc61ad2e19f28c1d26952ebe17;p=matches%2FMCTX3420.git diff --git a/server/run.sh b/server/run.sh index 9bf9cc9..d9cb343 100755 --- a/server/run.sh +++ b/server/run.sh @@ -22,6 +22,9 @@ slot=$(echo /sys/devices/bone_capemgr.*/slots | awk '{print $1}') # Load PWM module modprobe pwm_test (echo am33xx_pwm > $slot) 1>&2 >> /dev/null +for port in P9_21 P9_22 P9_14 P9_16 P9_29 P9_31 P9_42 P8_13 P8_19 P8_34 P8_36 P8_45 P8_46; do + echo bone_pwm_$port > $slot +done # Load ADCs (echo cape-bone-iio > $slot) 1>&2 >> /dev/null