Background
I've been using a DHT22 sensor with my RP0 for some time already and it worked perfectly well.
I use a 10k Ohm resistor to pull up GPIO 5 (BCM 24) to 3.3V, and all the voltage tests fine using a multimeter. i.e. 3.3V across GPIO 5 and GND.
Issue
One day I found my DHT22 isn't reading data and it turned out GPIO 5 is stuck in low (reads 0 using "gpio readall" by WiringPi) even it's physically pull-up?! I tried to change it to out put mode and set it to high using WiringPi. The mode changes fine, but the output is always stuck at low.
Reboot, upgrade firmware didn't make a difference.
Please share your experiences in debugging similar issues with GPIO. Thanks.