@luca.nazzaro I haven`t used that script, but the other one Caio Porto has sent.
Also, I believe the gpio you need to operate are platform dependent so I am not sure what you need to do with the WP7607 if any difference with the WP7702 (I am actually using the FX30S at the moment).
The script you have mentioned didn`t work for me.