Hi lokeshdb_ms

I am sorry, my first post was not very good (it was rather late at night)

Obviously all your ports will carry a current of some sort, and I would have thought that all had sufficient to power a small LED.

My reason for suggesting the sound card/chipset is that the connections are jack-plugs which are basically two-pin so present the easiest wiring/soldering task.

I also recall a while ago there was some trojan or other that could turn your microphone on and off. I think that the idea was that it monitored for sound as well as keyboard activity to determine if the computer was unattended, before doing its dirty deeds.

I will have a look and see what I can dig up for you. I know nothing about C programming though, that bit I shall leave to you

Cheers