GPIO Pins are not working

Hi Everyone,

I am using a beagleboard-xm rev A3, I am trying to access the gpio pins of expansion connector via /sys/class/gpio/gpio130 but when i am setting the direction as out and value as 1 then i am not getting any output through that pin.
I tried to access gpio4 the user switch but when i am pressing that switch i am not getting 1 in the value file.

So whats going wrong in my case.

Your comments will be helpful to me.

Thanks
Anuj