tweaking around read-only gpio access