No. The US Government has investigated Ptech and found that they had not incorporated any malicious software into US computer systems. In addition I cannot see any way in which Ptech would have helped, even if the software had been suspect. There's no indication that any of the US Government's computer systems operated abnormally in any way relating to 9/11.
I don't think American ties with Ptech are shady, but I find Ptech's ties with Islamic Terrorists to be extremely "shady". So too did the US Government, hence their investigation.
Regarding the attacks specifically, no. However I think it's more than likely the ISI has had involvement in supporting Al Qaeda training camps prior to 9/11, and in supporting Al Qaeda members after the invasion of Afghanistan. To what extent this support was "official" as opposed to individual members of the ISI with divided loyalties, I have no idea.
Certainly there's a relationship. The CIA and ISI are both intelligence agencies, and the USA and Pakistan are allies, if sometimes reluctant ones. The intelligence agencies of allied nations routinely share intelligence, training and so forth. Additional the CIA and ISI were jointly involved in operations together regarding the Soviet-Afghanistan War. However I don't believe for a second that the CIA has any sort of control or even significant influence over the CIA, or vice-versa, and I do not for a second believe that either agency is fully aware of the activities of the other.
I hope that helps.
-Gumboot