I have the same manual and it does not list the GSi, but is for TBI
Lets try this, you say its being done by the knock sensor but have not provided anyway to determine that is what is happening. How does the OP determine this is what is happening?
Maybe: Disconnect the KS and if its the KS...