I've seen in other threads with similar problems. There're two things that might affect the sensitivity of the sensor: 1) the screen protector that blocks the sensor 2) a magnet near where you store your N900 (e.g. pouch, purse) You may run the following command to test the sensitivity of the proximity sensor (CTRL-C to break) Code: while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done 'open' means nothing in front of the sensor, 'close' otherwise. Hope this helps.
while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done