At a guess Code: /sys/devices/platform/gpio-switch/ by making correct item in here read-only?
/sys/devices/platform/gpio-switch/
/sys/devices/platform/gpio-switch/cam_launch/state