To help you, here are the three way calibre-mount-helper is called
Code:
calibre-mount-helper mount device_node mount_point
calibre-mount-helper eject device_node mount_point
calibre-mount-helper cleanup device_node mount_point
At a minimum you must implement the mount and eject commands.