I would like to connect a reed switch to the USB port on my HTC evo. I would like to either determine when two of the pins on the USB port are the same potential or, connect a small battery to the switch and read the high and low values. Ultimately I would like to be able to do this with out altering the kernel. If this is not possible, my alternative would be to use the headphone jack. Basically I need a way to read external input. If neither of these options are possible, can you suggest a way to do this. Because of the project, I'll need to use the reed switch, no way to get around that.
Thank you Jim