Switch controlpi between read only and read write

Published --