b17a1 into 90 Integra

Hey guys, I came here to get some help since clubintegra is pretty much useless.

My question:

I am posting this from a buddies name since mine doesnt seem to work anymore. I just helped him swap a b17a1 into his 90 integra. We got it running and just have to finish up the wiring for the vtec. I got what I need for the pressure switch and the vtec solenoid. I am just getting real confused when it comes to wiring the knock sensor and the 2nd o2 sensor.

-Their are 2 wires coming out of a normal knock sensor and I assume a honda one is no different. I would assume one is a signal and one is a ground? Which one gets wired to the ecu? And what I would imagine is the ground wire just gets connected to a good ground correct?

-As for the 2nd o2 sensor, Do I just get a 1 wire o2 and connect that one wire to the ecu?

I can only imagine how beaten to death this topic is but I cant seem to find anythign that answers my questions and I just wanna be sure this gets done the right way the 1st time. I will continue to search while this thread is open in case no one can help me. I have the ecu diagram and everything. I just need some clarification on the knock sensor and o2.

Thank you very much in advance for any help you can provide me with.

Man this is crazy. 34 people looked at the thread and not one person knows how to hook vtec up. Everyone keeps saying how easy it is but yet every thread I make on every forum has no replies.