lsusb
Look for "Starlight Xpress Lodestar autoguider" in output
# Start rts2 control of Lodestar on the pi:
ssh pi@1mag1.suth.saao.ac.za
sudo bash
/etc/init.d/rts2 start
# Take images with the Lodestar:
ssh -X observer@1ms1.suth.saao.ac.za
rts2-xfocusc -d AG1CCD -e 1
(where AG1CCD is on DER1 and -e is the exposure time option).
# Take and save an image with the Lodestar:
CTRL-C out of rts2-xfocusc
rts2-scriptexec -d AG1CCD -s 'E 1'
# Loop multiple saved images:
rts2-scriptexec -d AG1CCD -s 'for 5 {E 1}'
(also rts2-xfocusc --save)