This seems to be a fairly common problem, but I cannot find a clear solution, so giving it a go here.
About a week ago, my accelerometer just stopped working. No auto-rotate, camera images don't save in the correct orientation, maps is far less useful, it's surprising just how much it is used...