GPIO input issue

Hi,

I want to test the GPIO in function of my BB-xM-RevC.

Firstly I connected the ‘user button’ R149 to P10 connector pin2 (CAM_CLKA/GPIO96), so that when ‘user button’ is pressed, the GPIO96’s voltage level will be high (1.8V).

And then on BB Ubuntu, I switch to root.

cd /sys/class/gpio

root@omap:/sys/class/gpio# ls

export gpiochip128 gpiochip192 gpiochip64 unexport

gpiochip0 gpiochip160 gpiochip32 gpiochip96

root@omap:/sys/class/gpio# echo 96 > export

root@omap:/sys/class/gpio# ls

export gpiochip0 gpiochip160 gpiochip32 gpiochip96

gpio96 gpiochip128 gpiochip192 gpiochip64 unexport

root@omap:/sys/class/gpio# cd gpio96

root@omap:/sys/class/gpio/gpio96# echo in > direction

root@omap:/sys/class/gpio/gpio96# cat direction

in

root@omap:/sys/class/gpio/gpio96# cat value

0

Now whether I press the ‘user button’ or not, for many times, the ‘value’ is still 0. Why?

Thanks!

BR,

Tom