Maybe it could be done with dbus. I have not tried it but there is something with focus and also with shutter. /org/freedesktop/Hal/devices/platform_cam_focus Does the "c" key focus and trigger together in the cssu app?